Skip to content
Tcl Source Code Artifact [9094799196]
Login

Artifact [9094799196]

Artifact 9094799196cb3d13cdb563586fb4c2c9b61cb310:

Ticket change [9094799196] - New ticket [218622ffffffffff|218622ffff] <i>&#39;info procs&#39; behavior inconsisten with other info methods</i>. by nobody on 2000-10-26 01:03:15.
D 2000-10-26T01:03:15
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1488\sBug\nVersion:\s8.0.4\nSubmitDate:\s'1999-03-11'\nLastModified:\s'2000-01-11'\nSeverity:\sLOW\nStatus:\sReleased\nSubmitter:\spat\nChangedBy:\shobbs\nRelatedBugIDs:\s667\nOS:\sSolaris\nMachine:\sOther\nFixedDate:\s'2000-01-11'\nFixedInVersion:\s8.3b2\nClosedDate:\s'2000-10-25'\n\n\nName:\nJeffrey\sHobbs\n\nReproducibleScript:\n\s\s\s\s##\sTaken\sfrom\stkcon\sconsole\soutput\n\s\s\s\s(jhobbs)\s1\s%\snamespace\seval\s::foo\s{\n\s\s\s\sset\svar\s1\n\s\s\s\sproc\sbar\s{a\s{b\s0}}\s{\sreturn\s"$a\s$b"\s}\n\s\s\s\s}\n\s\s\s\s(jhobbs)\s2\s%\sinfo\sprocs\s::foo::*\n\s\s\s\s(jhobbs)\s3\s%\sinfo\svars\s::foo::*\n\s\s\s\s::foo::var\n\s\s\s\s(jhobbs)\s4\s%\snamespace\seval\s::foo\s{\sinfo\sprocs\s}\n\s\s\s\sbar\n\s\s\s\s(jhobbs)\s5\s%\sinfo\sargs\s::foo::bar\n\s\s\s\sa\sb\n\s\s\s\s(jhobbs)\s6\s%\sinfo\sargs\sstring\n\s\s\s\s"string"\sisn't\sa\sprocedure\n\s\s\s\s(jhobbs)\s7\s%\sinfo\scommands\s::foo::*\n\s\s\s\s::foo::bar\n\nObservedBehavior:\nThe\sabove\sscript\sshows\sthe\sabherrent\sbehavior\sof\sinfo\sprocs.\s\sThis\shas\nbeen\ndiscussed\sseveral\stimes\son\sc.l.tcl,\sbut\sthis\sshows\show\salone\sinfo\sprocs\nis\sin\sworking\sthe\sway\sit\sdoes.\s\sOnly\swhen\srun\sin\sthe\snamespace\seval\sdoes\none\sget\sinfo\sprocs\sto\sreturn\sdata.\n\nDesiredBehavior:\nI\sexpect\sinfo\sprocs\sto\sparallel\sinfo\svars\sin\sreturning\sprocs\seven\swhen\sa\nnamespace\sis\sspecified.\s\sOne\scan\ssee\sthat\salso\sinfo\sargs\s(and\sother\sinfo\ncommands\son\sprocs)\soperate\sproperly\sby\srecognizing\sthe\sproc\sin\sa\nnamespace.\nLine\s4\sshows\sthe\swork-around,\sbut\sthis\scan\sbe\squite\sa\sbummer\sto\sdeal\swith\nall\sthe\stime.\s\sHaving\sjust\sinfo\scommands\swork\sproperly\sisn't\ssufficient\nin\seasily\sidentifying\swhether\sthe\s"command"\sis\sactually\sa\sprocedure.\n\n\n8.3b2\ssolves\sthis.\s\n--\s01/11/2000\shobbs
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 81.\sBundled\sPackages
J title 'info\sprocs'\sbehavior\sinconsisten\swith\sother\sinfo\smethods
J type Bug
K 218622ffffffffffffffffffffffffffffffffff
U nobody
Z 8bf76e954c697110d910bf4453f9207a