Message187305
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(). |
|
Date |
User |
Action |
Args |
2013-04-18 22:42:53 | vstinner | set | recipients:
+ vstinner, brett.cannon, ezio.melotti, eric.araujo, r.david.murray |
2013-04-18 22:42:53 | vstinner | set | messageid: <1366324973.01.0.670258898008.issue17177@psf.upfronthosting.co.za> |
2013-04-18 22:42:52 | vstinner | link | issue17177 messages |
2013-04-18 22:42:52 | vstinner | create | |
|