[issue28007] Bad .pyc files prevent import of otherwise valid .py files.
Sye van der Veen
report at bugs.python.org
Wed Sep 7 16:50:41 EDT 2016
Sye van der Veen added the comment:
Consider a process that is terminated while writing a large .pyc file. Currently a user can only fix this by deleting the .pyc file, which requires knowing where to look. A developer can be expected to know this, but the end user of their application certainly would not.
.pyc files are a cache. When your cache is corrupted, you recreate it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28007>
_______________________________________
More information about the Python-bugs-list
mailing list