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 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 <>
I'm attaching a patch to relax the check in PyModule_Create2 as suggested by the Amaury (

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.
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: <>
2010-11-20 11:34:29hodgestarlinkissue4236 messages
2010-11-20 11:34:28hodgestarcreate