Bypassing rename traces, feature or bug?
- From: Erik Leunissen <look@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 28 May 2007 14:47:17 +0200
The script below uses a detour to rename a proc. This detour does not trigger any rename traces, as would have occurred if [rename name_1 name_2] had been used.
Is that intended behaviour? (i.o.w. is a follow up as a bug report desired?)
Erik
====
% proc name_1 {} {}
% proc handleCmdTrace {args} {puts $args}
% trace add command name_1 delete handleCmdTrace
% trace add command name_1 rename handleCmdTrace
% interp hide {} name_1
% interp expose {} name_1 name_2
% info procs name*
name_2
%
--
leunissen@ nl | Merge the left part of these two lines into one,
e. hccnet. | respecting a character's position in a line.
.
- Prev by Date: Re: Tcl dot net (Tcl.net, yes microsoft net framework) ? realistic?
- Next by Date: Re: TLS Verification
- Previous by thread: tablelist delete current row
- Next by thread: Tcl and SourceForge hosting
- Index(es):
Relevant Pages
|
|