|
2005-04-19
| ||
| 22:12 | • Closed ticket [1185933fff]: clock scan invalidates variable plus 7 other cha... artifact: cfa584b75e user: kennykb | |
| 22:01 | • Ticket [1185933fff]: 4 changes artifact: d318748d58 user: nobody | |
| 20:13 | • Ticket [1185933fff]: 1 change artifact: 4e75e89ca9 user: dkf | |
| 20:13 | • Ticket [1185933fff]: 2 changes artifact: 0898e1c9c4 user: dkf | |
| 13:04 | • New ticket [1185933fff]. artifact: 3bea8f21ad user: uring | |
clock scan invalidates variable
Closed / Fixed1185933fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2005-04-19 13:04:11
Using "clock scan" invalidates variable "i": EXAMPLE: run tclsh: % info patchlevel 8.5a2 % set i 1 1 % clock scan 1 1113865200 % set i can't read "i": no such variable NOTES: (a) same with variable named "j", but not with "a", for example (b) repeat "set i ... etc." and variable i seems to be stable Rather strange, isn't it.
dkf Ticket [1185933fff]: 2 changes
[History diff]2005-04-19 20:13:54
dkf Ticket [1185933fff]: 1 change
[History diff]2005-04-19 20:13:55
nobodyplain2005-04-19 22:01:02
Logged In: NO
It's caused by line 267
unset i j
in library/clock.tcl
The question is, why does this affect the global variable given
that it is in a "namespace eval ::tcl::clock { ... }"
kennykbplain2005-04-19 22:12:15
Logged In: YES user_id=99768 "That's not a bug, that's a feature". Well, it's a MISfeature. To quote Miguel Sofer this morning: miguelif even *you* fall for it ... lets kill the sucker! I hate it hate it hate it hate it ... Thanks for reporting this.
Log in (anonymous is fine) to add a comment.