[issue4691] IDLE Code Caching Windows
Amaury Forgeot d'Arc
report at bugs.python.org
Thu Dec 18 11:34:08 CET 2008
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
You are using IDLE with the "-n" option, so the same interpreter session
is reused each time you hit F5.
The second run works because the Struct from the first run is still
present - but disappears of course when you restart IDLE.
It's not really caching, but normal manipulation of variables, just like
"a = 5" followed by "print a" works because 'a' is saved in-between.
I suggest to remove this "-n" option, a fresh interpreter is started
each time you press F5, and errors appear sooner...
resolution: -> invalid
status: open -> closed
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list