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 jnoller
Recipients asksol, gdb, jnoller
Date 2010-07-10.12:46:53
SpamBayes Score 0.047011573
Marked as misclassified No
Message-id <1278766015.79.0.392971430902.issue9207@psf.upfronthosting.co.za>
In-reply-to
Content
Talking with Brett; the fix should be as simple as keeping a reference to the debug function which we have in the imports. During interpreter shutdown, the sys.modules is iterated and each module replaced with None. Since the _handle_workers thread persists slightly past the point of the parent (and can, it's a daemon thread) debug is vanishing on us.

We can go with switching this to a classmethod, and keeping a reference on the class, passing debug directly into the _handle_workers thread (testing this last night fixed it 100% of the time)
History
Date User Action Args
2010-07-10 12:46:55jnollersetrecipients: + jnoller, asksol, gdb
2010-07-10 12:46:55jnollersetmessageid: <1278766015.79.0.392971430902.issue9207@psf.upfronthosting.co.za>
2010-07-10 12:46:53jnollerlinkissue9207 messages
2010-07-10 12:46:53jnollercreate