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
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