New submission from Piotr: Similar to Issue 679880
>>> compile(open("bom3.py").read(), "bom3.py", 'exec') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "bom3.py", line 1 # coding: utf-8 ^ SyntaxError: invalid character in identifier ---------- components: Unicode files: bom3.py messages: 250357 nosy: Karulis, ezio.melotti, haypo priority: normal severity: normal status: open title: 'compile' refuses BOM. type: compile error versions: Python 3.4 Added file: http://bugs.python.org/file40423/bom3.py _______________________________________ 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