[issue13523] Python does not warn in module .py files does not exist if there is still a .pyc file

Ezio Melotti report at bugs.python.org
Sat Dec 3 13:27:31 CET 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

Python doesn't require the .py to run the code if there's a .pyc.  This is expected so there's no need to give a warning.

If the .py is present but it's a symlink pointing nowhere, it might make sense to give a warning before falling back silently on the .pyc.

----------
nosy: +ezio.melotti

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13523>
_______________________________________


More information about the Python-bugs-list mailing list