Florent Xicluna <florent.xicl...@gmail.com> added the comment: For the implementation part, there's something which already plays with the BOM in the tokenize module.
See tokenize.open(), which uses tokenize.detect_encoding() to read the BOM in some cases. ---------- nosy: +flox _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7651> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com