STINNER Victor <victor.stin...@haypocalc.com> added the comment: Patch using tokenize.detect_encoding() to read the encoding of Python scripts instead of using default io.open() encoding (utf-8).
We might write unit test. See also related issue: #5093 ---------- keywords: +patch nosy: +haypo Added file: http://bugs.python.org/file13877/2to3_encoding.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2660> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com