Overview
| Artifact ID: | a09d2ea28e46caf674ac7d4c292fa8f38bb5d177 |
|---|---|
| Ticket: | 1101670fffffffffffffffffffffffffffffffff
auto_reset disagrees with documentation |
| User & Date: | vincentdarley on 2005-01-13 14:36:58 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
The core proc auto_reset is documented as follows: # auto_reset -- # # Destroy all cached information for auto-loading and auto-execution, # so that the information gets recomputed the next time it's needed. # Also delete any procedures that are listed in the auto-load index # except those defined in this file. # # Arguments: # None. But it doesn't do that: proc auto_reset {} { variable ::tcl::auto_oldpath global auto_execs auto_index foreach p [info procs] { if {[info exists auto_index($p)]} { rename $p {} } } catch {unset auto_execs} catch {unset auto_index} catch {unset auto_oldpath} } 'info procs' only returns procedures in the global namespace. Presumably auto_reset should also delete procs in _all_ namespaces, if it is to agree with its documentation. - foundin changed to: "obsolete: 8.4.9"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "vincentdarley"
- subsystem changed to: "38. Init - Library - Autoload"
- title changed to: "auto_reset disagrees with documentation"
- type changed to: "Bug"