New submission from Brandon Dixon <brandon.s.di...@gmail.com>: I made changes to my code and hit F5 to run it through IDLE. The code appeared to run without any errors, but when I closed everything out and ran it again it turned out to be full of errors.
I am able to replicate this problem with my code and have seen others have the same problem, but its unclear when and what causes the caching to take place. I created a test file that only contained "print hello". I ran this, made changes and then ran it again. The changes were reflected, but after testing my code, it still cached. Attached is a simple python file I used to test everything out. Run the test, then comment out the Struct class and run it again. No errors should appear, but if you close the code, reopen it and then run it again it will error. ---------- components: IDLE files: bug-test.py messages: 78010 nosy: brandon.dixon severity: normal status: open title: IDLE Code Caching Windows type: behavior versions: Python 2.5, Python 2.6 Added file: http://bugs.python.org/file12392/bug-test.py _______________________________________ 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