Overview
| Artifact ID: | 0bd3b2acbc11afa9c37be92aae29d23734b53118 |
|---|---|
| Ticket: | 1752146fffffffffffffffffffffffffffffffff
command limit is never reached in loops |
| User & Date: | nobody on 2007-07-11 18:34:07 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi, *** release 8.5a6 - 2007-04-25 in some cases, while interpreting some very short loop code, the command limit of the interpreter is never reached. For example, the following code never reach the command limit : ***************** interp create testlimit testlimit eval { proc testlimit {} { while 1 { set b 22 } } } interp limit testlimit commands -value 303 testlimit eval testlimit ****************** As well, the following code never reach the command limit : ***************** interp create testlimit testlimit eval { set b 22 proc testlimit {} { while 1 { incr b } } } interp limit testlimit commands -value 303 testlimit eval testlimit ****************** Conversely, the following code aborts when the command limit is reached (correct behavior) : ***************** interp create testlimit testlimit eval { set b 22 proc testlimit {} { while 1 { set b 22 set a 22 } } } interp limit testlimit commands -value 303 testlimit eval testlimit ****************** - foundin changed to: "obsolete: 8.5a6"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "20. [interp]"
- title changed to: "command limit is never reached in loops"
- type changed to: "Bug"