[issue20731] Python 3.3.4: SyntaxError with correct source code encoding # -*- coding: latin-1 -*-

2014-02-24 Thread OPi
OPi added the comment: All works fine with UTF-8. All works fine with latin-1 (or other) and Windows end of line. Maybe this issue is important, First line can be executed twice: http://bugs.python.org/issue18960 -- ___ Python tracker rep

[issue20731] Python 3.3.4: SyntaxError with correct source code encoding # -*- coding: latin-1 -*-

2014-02-22 Thread OPi
New submission from OPi: The test program: #!/usr/bin/env python # -*- coding: latin-1 -*- print('test') is correct in Python 3.3.3, but cause this error with Python 3.3.4: File ./test.py, line 3 - ^ SyntaxError: invalid syntax I use Windows 7, with bash (of Cygwin) and Python 3.3.4