Brett Cannon added the comment: It's a question of whether you want the error that your .pyc files have somehow ended up in a bad state to pass silently or you should know you that something on your system is corrupting .pyc files (hence why the EOFError has been allowed to propagate).
Making corrupt .pyc files pass silently would be a change in semantics and practice, so we need to think through the ramifications. At worst we would need to raise a warning that such a thing happened, if not keep the current semantics. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16384> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com