Author hodgestar
Recipients amaury.forgeotdarc, barry, belopolsky, brett.cannon, christian.heimes, hodgestar, loewis, vstinner
Date 2010-11-20.11:34:28
SpamBayes Score 0.00256711
Marked as misclassified No
Message-id <1290252872.22.0.347836177301.issue4236@psf.upfronthosting.co.za>
In-reply-to
Content
I'm attaching a patch to relax the check in PyModule_Create2 as suggested by the Amaury (http://bugs.python.org/issue4236#msg75409).

The patch uses "PyThreadState_Get()->interp->modules == NULL" to determine whether the import machinery has been cleaned up yet.

The test suite still appears to pass.
History
Date User Action Args
2010-11-20 11:34:32hodgestarsetrecipients: + hodgestar, loewis, barry, brett.cannon, amaury.forgeotdarc, belopolsky, vstinner, christian.heimes
2010-11-20 11:34:32hodgestarsetmessageid: <1290252872.22.0.347836177301.issue4236@psf.upfronthosting.co.za>
2010-11-20 11:34:29hodgestarlinkissue4236 messages
2010-11-20 11:34:28hodgestarcreate