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 <>
When you run 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 directly, wow (i.e. the main module) will not be garbage collected, so _Cleanup is never replaced by None.
Date User Action Args
2012-12-19 00:10:40sbtsetrecipients: + sbt, techtonik, serhiy.storchaka
2012-12-19 00:10:39sbtsetmessageid: <>
2012-12-19 00:10:39sbtlinkissue16718 messages
2012-12-19 00:10:39sbtcreate