New submission from Eric Snow: As pointed out in #16384, a bad .pyc file will cause a module to fail importing. Sometimes the .py file is okay, however. The question posed in the other issue is if it would be desirable to fall back to the .py file.
FWIW, I don't think it's worth it. ---------- components: Interpreter Core messages: 274872 nosy: barry, brett.cannon, eric.snow, ncoghlan, syeberman priority: normal severity: normal stage: needs patch status: open title: Bad .pyc files prevent import of otherwise valid .py files. type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28007> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com