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.

作者 vstinner
收信人 brett.cannon, eric.araujo, ezio.melotti, r.david.murray, vstinner
日期 2013-04-18.22:42:52
SpamBayes Score -1.0
Marked as misclassified
Message-id <1366324973.01.0.670258898008.issue17177@psf.upfronthosting.co.za>
In-reply-to
内容
If the imp module is marked as deprecated, it would help to explain how to port code from imp to importlib. As it was done for os.spawn(), platform.popen(), etc.

I'm using imp.load_source() in my setup.py to load a version.py file which only contains constants, to be able to build my module even if executing the module fails (ex: because of a runtime dependency). I don't know how to change my code to use imp.load_source().
历史
日期 用户 动作 参数
2013-04-18 22:42:53vstinner修改recipients: + vstinner, brett.cannon, ezio.melotti, eric.araujo, r.david.murray
2013-04-18 22:42:53vstinner修改messageid: <1366324973.01.0.670258898008.issue17177@psf.upfronthosting.co.za>
2013-04-18 22:42:52vstinner链接issue17177 messages
2013-04-18 22:42:52vstinner创建