Skip to content
Tcl Source Code View Ticket
Login

View Ticket

TIP #207: Add a -namespace Option to [interp invokehidden]

Closed981841ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 17 years ago
Descriptionplain2004-06-29 09:34:28
This patch implements a "-namespace" option for [interp 
invokehidden].  A simple test script is provided.  A TIP 
will be forthcoming.

Please review and test this patch.  Any feedback is 
appreciated.
mistachkinplain2004-06-29 16:34:28
File Added - 92260: invokehidden_ns.zip
dkf Ticket [981841ffff]: 1 change [History diff]2004-06-30 17:42:02
mistachkinplain2004-07-01 14:39:38
File Deleted - 92260:
mistachkinplain2004-07-01 14:40:42
File Added - 92505: ihn4.zip
mistachkin Ticket [981841ffff]: 1 change [History diff]2004-07-01 14:41:43
dgpplain2004-07-28 22:07:24
File Added - 95541: 981841.patch

Logged In: YES 
user_id=80530


Here's the patch as a single
unidiff file, updated to the current
HEAD.

Would be nice to route all
command invocation through
TclEvalObjvInternal(), but it
seems all the "hidden command"
machinery is in the Tcl*Invoke* routines,
so that refactoring should be done
separately.

It's not clear to me why the new
internal routine TclObjInvokeNamespace()
needs to be in the internal stubs table,
nor why it needs the unused flag values
TCL_INVOKE_NO_GLOBAL_ONLY
and TCL_INVOKE_NS_MUST_EXIST.

Does the author have other uses for
this routine in mind beyond the proposals
of TIP 207?
dgpplain2004-08-03 03:40:02
File Added - 96115: tip207.patch

Logged In: YES 
user_id=80530

tip207.patch is an alternative
implementation, including a test.
dgpplain2004-08-03 03:55:34
Logged In: YES 
user_id=80530

Applied tip207.patch to HEAD.
dkfplain2008-11-21 21:27:18
data_type - 210894
dkfplain2009-07-29 19:56:19
IP - Comment Removed: 130.88.1.31
dkfplain2009-07-29 19:57:03
IP - Comment Removed: 130.88.1.31
Log in (anonymous is fine) to add a comment.

Attachments: