New submission from Simon Grantham: Placing the word "coding:" in a hash tag comment in a file causes a syntax error. Eg:
~ $ cat tst.py # coding: Wow! How odd! ~ $ python tst.py File "tst.py", line 2 SyntaxError: encoding problem: Wow ~ $ ---------- components: Interpreter Core messages: 285129 nosy: sgrantham priority: normal severity: normal status: open title: Comment generates syntax error versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29226> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com