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 Joe.Borg, brett.cannon, ezio.melotti, r.david.murray
Date 2013-02-28.17:58:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362074294.02.0.246639891398.issue17321@psf.upfronthosting.co.za>
In-reply-to
Content
Both imp.find_module() and load_module() have been documented as deprecated since Python 3.3. I have not added the warning as I have to work through the stdlib first to remove all current uses.

But for what you are after, Joe, just use importlib.import_module() (which is available in Python 2.7 in the stdlib and earlier on PyPI).
History
Date User Action Args
2013-02-28 17:58:14brett.cannonsetrecipients: + brett.cannon, ezio.melotti, r.david.murray, Joe.Borg
2013-02-28 17:58:14brett.cannonsetmessageid: <1362074294.02.0.246639891398.issue17321@psf.upfronthosting.co.za>
2013-02-28 17:58:13brett.cannonlinkissue17321 messages
2013-02-28 17:58:13brett.cannoncreate