Artifacts Associated With Ticket fe4d7305a8
Ticket change [e089fc5d5f] (rid 164538) by euller on 2018-07-09 17:27:48:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The issue is related to renaming the history command. Upon rename, the interpreter enters recursion, which triggers an infinite loop error. Steps to reproduce: - Run the following code with Tcl version 8.6.4. There are no errors issued: ~~~ % rename history _history % proc history {args} {_history {*}$args} % history add example_cmd ~~~ - Run the same code under version 8.6.8. The execution errors out with the following message: ~~~ too many nested evaluations (infinite loop?) ~~~ - foundin initialized to: "8.6.8"
- is_private initialized to: "0"
- login: "euller"
- priority initialized to: "5 Medium"
- private_contact initialized to: "a4a773cb5ca7ba885ceb6bfdf316d4ae118c57cc"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "euller"
- subsystem initialized to: "19. [history]"
- title initialized to: "Renaming history command results in infinite loop"
- type initialized to: "Bug"
Ticket change [729c9f137f] (rid 222041) by kjnash on 2024-02-03 14:47:33:
- closedate changed to: "2460344.1163545"
- closer changed to: "kjnash"
- icomment:
The bug (renaming ::history) has been fixed. It is not present in Tcl 8.6.13. ::history is a proc that calls the binary command ::tcl::history. If ::history is renamed or deleted, the interpreter regenerates the proc ::history. However this regeneration has a bug of its own - see [8e666d7c95]
- login: "kjnash"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"