Amaury Forgeot d'Arc <amaur...@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...

----------
nosy: +amaury.forgeotdarc
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4691>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to