This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brandon.dixon
Recipients brandon.dixon
Date 2008-12-18.02:37:53
SpamBayes Score 3.65608e-05
Marked as misclassified No
Message-id <1229567875.32.0.686259683955.issue4691@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-12-18 02:37:55brandon.dixonsetrecipients: + brandon.dixon
2008-12-18 02:37:55brandon.dixonsetmessageid: <1229567875.32.0.686259683955.issue4691@psf.upfronthosting.co.za>
2008-12-18 02:37:54brandon.dixonlinkissue4691 messages
2008-12-18 02:37:53brandon.dixoncreate