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.014871568
Marked as misclassified No
Message-id <1279026868.7.0.754753846073.issue8098@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-07-13 13:14:28ncoghlansetrecipients: + ncoghlan, brett.cannon, belopolsky, pitrou, christian.heimes, grahamd
2010-07-13 13:14:28ncoghlansetmessageid: <1279026868.7.0.754753846073.issue8098@psf.upfronthosting.co.za>
2010-07-13 13:14:27ncoghlanlinkissue8098 messages
2010-07-13 13:14:27ncoghlancreate