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
收信人 brett.cannon, sbt
日期 2013-02-27.19:56:34
SpamBayes Score -1.0
Marked as misclassified
Message-id <1361994994.99.0.625564916049.issue17314@psf.upfronthosting.co.za>
In-reply-to
内容
I'm trying to remove all uses of imp.find_module()/load_module() and multiprocessing seems to have a single use of both purely for (re)loading a module. The attached patch moves over to importlib.find_loader() and subsequent load_module() call to match the semantics of imp.find_module()/load_module(). If a guaranteed reload is not necessary then importlib.import_module() is a single-line change.

I ran the test suite, but there don't seem to be any explicit tests for this chunk of code (or am I missing something?).
历史
日期 用户 动作 参数
2013-02-27 19:56:35brett.cannon修改recipients: + brett.cannon, sbt
2013-02-27 19:56:34brett.cannon修改messageid: <1361994994.99.0.625564916049.issue17314@psf.upfronthosting.co.za>
2013-02-27 19:56:34brett.cannon链接issue17314 messages
2013-02-27 19:56:34brett.cannon创建