Skip to content
Tcl Source Code Artifact [b76c95893e]
Login

Artifact [b76c95893e]

Artifact b76c95893e54615c938759f2fa625f0565e384726db17d284f8ceab8cac9e9b3:

Ticket change [b76c95893e] - New ticket [0e4b7fce57ddc428|0e4b7fce57] <i>Running [info vars] in a namespace returns global variables</i>. by sbron on 2024-07-14 13:20:29.
D 2024-07-14T13:20:29.680
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment Running\s`info\svars`\sin\sa\sfresh\snamespace\sin\sTcl\s9\sreports\sthe\ssame\slist\sof\svariables\sthat\sTcl\s8.6\sdoes;\sthe\sexisting\sglobal\svariables.\r\n\r\nHowever,\ssince\s[TIP\s#278](https://core.tcl-lang.org/tips/doc/trunk/tip/278.md)\swas\simplemented,\sglobal\svariables\sare\sno\slonger\sdirectly\svisible\sfrom\swithin\sa\snamespace.\sThey\scan\sonly\sbe\saccessed\susing\stheir\sfully\squalified\snames.\sIt\sis\stherefor\sunexpected\sthat\s`info\svars`\sstill\sreports\sthem,\sespecially\sby\stheir\ssimple\sname.\r\n\r\nI\salso\sdon't\sthink\sthe\sglobals\sshould\sbe\sreported\sby\s`info\svars`\susing\stheir\sfully\squalified\sname,\sbecause\sall\svariables\scan\sbe\saccessed\susing\stheir\sfully\squalified\snames.\sThen,\sif\sglobals\sare\sincluded\sthat\sway,\sthen\sall\svariables\sin\sall\snamespaces\sshould\sbe\sincluded.\sThat\swould\squickly\sbecome\sa\smess.
J foundin 9.0b2
J is_private 0
J login sbron
J priority 5\sMedium
J private_contact 8475f421649231f1e116ac602bea4537d2b027b4
J resolution None
J severity Minor
J status Open
J submitter sbron
J subsystem 07.\sVariables
J title Running\s[info\svars]\sin\sa\snamespace\sreturns\sglobal\svariables
J type Bug
K 0e4b7fce57ddc428e5fab63a237e43c039be428b
U sbron
Z 68e74c39eead348feebb9f13c6dbe103