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.

作者 ncoghlan
收信人 belopolsky, brett.cannon, christian.heimes, grahamd, ncoghlan, pitrou
日期 2010-07-13.13:14:26
SpamBayes Score 0.014871568
Marked as misclassified
Message-id <1279026868.7.0.754753846073.issue8098@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2010-07-13 13:14:28ncoghlan修改recipients: + ncoghlan, brett.cannon, belopolsky, pitrou, christian.heimes, grahamd
2010-07-13 13:14:28ncoghlan修改messageid: <1279026868.7.0.754753846073.issue8098@psf.upfronthosting.co.za>
2010-07-13 13:14:27ncoghlan链接issue8098 messages
2010-07-13 13:14:27ncoghlan创建