Message148791
Python does not warn/error when importing a module where the module.py file no longer exists, but there is still a .pyc file present.
It also does not warn when the imported file.py is a symlink pointing nowhere. As long as there is still a .pyc file with the correct name it does not warn/error.
Attached is a minimal set to demonstrate. Execute test.py. |
|
Date |
User |
Action |
Args |
2011-12-03 12:18:58 | lennartyseboodt | set | recipients:
+ lennartyseboodt |
2011-12-03 12:18:58 | lennartyseboodt | set | messageid: <1322914738.52.0.754629082847.issue13523@psf.upfronthosting.co.za> |
2011-12-03 12:18:57 | lennartyseboodt | link | issue13523 messages |
2011-12-03 12:18:57 | lennartyseboodt | create | |
|