Tcl Source Code

View Ticket
Login
Ticket UUID: 981841
Title: TIP #207: Add a -namespace Option to [interp invokehidden]
Type: Support Created on: 2004-06-29 09:34:28
Submitter: mistachkin Assigned to: nobody
Subsystem: None Severity:
Priority: 5 Medium Last modified: 2009-07-29 19:57:03
Status: Closed Closed by: dgp
Resolution: Closed on: 2004-08-02 20:55:34
Version: None
Description:
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.
User Comments:
mistachkin added on 2004-06-29 16:34:28:

File Added - 92260: invokehidden_ns.zip

mistachkin added on 2004-07-01 14:39:38:

File Deleted - 92260:

mistachkin added on 2004-07-01 14:40:42:

File Added - 92505: ihn4.zip

dgp added on 2004-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?

dgp added on 2004-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.

dgp added on 2004-08-03 03:55:34:
Logged In: YES 
user_id=80530

Applied tip207.patch to HEAD.

dkf added on 2008-11-21 21:27:18:

data_type - 210894

dkf added on 2009-07-29 19:56:19:

IP - Comment Removed: 130.88.1.31

dkf added on 2009-07-29 19:57:03:

IP - Comment Removed: 130.88.1.31

Attachments: