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 brett.cannon
Recipients brett.cannon, sbt
Date 2013-02-27.19:56:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361994994.99.0.625564916049.issue17314@psf.upfronthosting.co.za>
In-reply-to
Content
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?).
History
Date User Action Args
2013-02-27 19:56:35brett.cannonsetrecipients: + brett.cannon, sbt
2013-02-27 19:56:34brett.cannonsetmessageid: <1361994994.99.0.625564916049.issue17314@psf.upfronthosting.co.za>
2013-02-27 19:56:34brett.cannonlinkissue17314 messages
2013-02-27 19:56:34brett.cannoncreate