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.

作者 brett.cannon
收信人 belopolsky, brett.cannon, christian.heimes, grahamd, gvanrossum, ncoghlan, pitrou
日期 2010-07-14.19:12:30
SpamBayes Score 0.046534978
Marked as misclassified
Message-id <1279134751.86.0.556944373629.issue9260@psf.upfronthosting.co.za>
In-reply-to
内容
So I say we don't worry about loaders being thread-safe. If __import__ handles the locking for a specific module then it will hold the lock on behalf of the loader. Now if someone decides to call load_module on their own, that's there business, but they should be aware of what could happen if they do that without acquiring the lock themselves. Otherwise we just make sure to provide a context manager that takes the name of the module and people can use that when they make their call to loader.load_module.
历史
日期 用户 动作 参数
2010-07-14 19:12:32brett.cannon修改recipients: + brett.cannon, gvanrossum, ncoghlan, belopolsky, pitrou, christian.heimes, grahamd
2010-07-14 19:12:31brett.cannon修改messageid: <1279134751.86.0.556944373629.issue9260@psf.upfronthosting.co.za>
2010-07-14 19:12:30brett.cannon链接issue9260 messages
2010-07-14 19:12:30brett.cannon创建