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 Saimadhav.Heblikar
Recipients Saimadhav.Heblikar, docs@python
Date 2014-03-31.04:42:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396240944.13.0.279884654032.issue21108@psf.upfronthosting.co.za>
In-reply-to
Content
The imp module was the defacto module to access the import internals,upto 3.3
It has been deprecated(pending) in 3.4 in favor of importlib.
There are plenty of examples on how to use imp around the web, but very little (even in doc.python.org), on how to use importlib. 

The proposed patch adds couple of examples. These examples are aimed towards people, who were earlier using imp's load_module().

Inspiration for the patch from this SO answer, where user had to go through source code.
http://stackoverflow.com/questions/19009932/import-abitrary-python-source-file-python-3-3
History
Date User Action Args
2014-03-31 04:42:24Saimadhav.Heblikarsetrecipients: + Saimadhav.Heblikar, docs@python
2014-03-31 04:42:24Saimadhav.Heblikarsetmessageid: <1396240944.13.0.279884654032.issue21108@psf.upfronthosting.co.za>
2014-03-31 04:42:24Saimadhav.Heblikarlinkissue21108 messages
2014-03-31 04:42:23Saimadhav.Heblikarcreate