|Title:||Change [trace list] to [trace info]|
|Version:||$Revision: 1.4 $|
|Author:||Reinhard Max <max at suse dot de>|
|Created:||Wednesday, 12 June 2002|
|Keywords:||trace, info, introspection|
This TIP proposes to change the name of the introspection subcommand of the trace command from list to info.
Although the functionality of the trace command (as extended by TIP #62) is good, the name of the introspection subcommand, list is not such a good choice:
The name info is already well known for introspection purposes in Tcl (e.g. [info] and [after info].)
The name [trace list] could be misunderstood as having to do with tracing lists.
The introspection subcommand to trace could be extended to allow more specific queries along the lines of [info commands], [info procs], and [info vars]. (This is outside the scope of this TIP.)
Hence, this TIP calls for the list subcommand to be renamed to info. (Note that this also makes the subcommand for introspecting on variable traces more similar to its old form vinfo.)
This document is placed in the public domain.
[Index] [History] [HTML Format] [Source Format] [LaTeX Format] [Text Format] [XML Format] [*roff Format (experimental)] [RTF Format (experimental)]TIP AutoGenerator - written by Donal K. Fellows