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 sbt
Recipients sbt, serhiy.storchaka, techtonik
Date 2012-12-19.00:10:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355875839.96.0.839724966397.issue16718@psf.upfronthosting.co.za>
In-reply-to
Content
When you run wy.py the wow module gets partially imported, and then garbage collected because it fails to import successfully.  The destructor for the module replaces values in the module's __dict__ with None.  So when the cleanup function runs you get the unexpected error.

When you run wow.py directly, wow (i.e. the main module) will not be garbage collected, so _Cleanup is never replaced by None.
History
Date User Action Args
2012-12-19 00:10:40sbtsetrecipients: + sbt, techtonik, serhiy.storchaka
2012-12-19 00:10:39sbtsetmessageid: <1355875839.96.0.839724966397.issue16718@psf.upfronthosting.co.za>
2012-12-19 00:10:39sbtlinkissue16718 messages
2012-12-19 00:10:39sbtcreate