Skip to content
Tcl Source Code View Ticket
Login

View Ticket

info procs does not work on qualified names

Closed / Duplicate217778ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:43:31
OriginalBugID: 667 RFE
Version: 8.0p2
SubmitDate: '1998-07-21'
LastModified: '1999-12-17'
Severity: LOW
Status: Closed
Submitter: rjohnson
ChangedBy: hobbs
RelatedBugIDs: 1488
OS: All
OSVersion: NA
Machine: NA
FixedDate: '2000-10-25'
FixedInVersion: 8.0.3
ClosedDate: '1999-12-17'


The script:

namespace eval foo {
   proc bar {} {return}
}
info procs ::foo::*

returns null instead of ::foo::bar.

Info procs does not appear to work with qualified names.  It does correctly handle imported names.

workaround:

namespace eval foo {info procs *}

This is not a bug.  It's just how Tcl is currently defined to work. One could certainly argue that the semantics of info procs could be improved...    I'm switching this to an RFE to reflect that.  rjohnson
welch Closed ticket [217778ffff]. [History diff]2000-10-26 07:49:17
dgp Open ticket [217778ffff]. [History diff]2001-04-07 11:30:33
dgp Closed ticket [217778ffff]. [History diff]2001-04-07 11:32:38
Log in (anonymous is fine) to add a comment.