Eric Snow added the comment: Here's an updated patch. Per a suggestion from Brett, I've chained the original EOFError with an ImportError. The consequence is that the problematic encoding is skipped (silently) rather than causing the interpreter to abort.
FYI, I've opened issue #28005 to address how we silently skip encodings that fail to import. ---------- Added file: http://bugs.python.org/file44446/issue16384.diff _______________________________________ 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