Author vstinner
Recipients brett.cannon, eric.araujo, ezio.melotti, r.david.murray, vstinner
Date 2013-04-18.22:42:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 to load a 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().
Date User Action Args
2013-04-18 22:42:53vstinnersetrecipients: + vstinner, brett.cannon, ezio.melotti, eric.araujo, r.david.murray
2013-04-18 22:42:53vstinnersetmessageid: <>
2013-04-18 22:42:52vstinnerlinkissue17177 messages
2013-04-18 22:42:52vstinnercreate