STINNER Victor added the comment: Lib/test/test_tokenize.py contains a test for a Python script encoded to UTF-8 and starting with the UTF-8 BOM, Lib/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25051> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com