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 ncoghlan
Recipients belopolsky, brett.cannon, christian.heimes, grahamd, ncoghlan, pitrou
Date 2010-07-13.13:14:26
SpamBayes Score 0.0148716
Marked as misclassified No
Message-id <>
Pretty much anything mentioned in PEP 302 is what is being protected.

The one which causes most of the grief is the fact that we need to stick a partially initialised module into sys.modules (so the module can find itself if it needs to), then take it out again if execution of the module level code fails. That means we need to hold the import lock while the module code is executed.
Date User Action Args
2010-07-13 13:14:28ncoghlansetrecipients: + ncoghlan, brett.cannon, belopolsky, pitrou, christian.heimes, grahamd
2010-07-13 13:14:28ncoghlansetmessageid: <>
2010-07-13 13:14:27ncoghlanlinkissue8098 messages
2010-07-13 13:14:27ncoghlancreate