New submission from lennartyseboodt <lennart.ysebo...@philips.com>: 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. ---------- files: pythonbug.tar.gz messages: 148791 nosy: lennartyseboodt priority: normal severity: normal status: open title: Python does not warn in module .py files does not exist if there is still a .pyc file versions: Python 2.7 Added file: http://bugs.python.org/file23837/pythonbug.tar.gz _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13523> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com