Re: Erroneous line number error in Py2.4.1 [Windows 2000+SP3]
Martin v. Löwis wrote: > Timo wrote: > > Does anyone have a clue what is going on? > > No. Please make a bug report to sf.net/projects/python. > Done: http://sourceforge.net/tracker/index.php?func=detail&aid=1178484&group_id=5470&atid=105470 BR, Timo -- http://mail.python.org/mailman/listinfo/python-list
Re: Erroneous line number error in Py2.4.1 [Windows 2000+SP3]
Timo wrote: Does anyone have a clue what is going on? No. Please make a bug report to sf.net/projects/python. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list
Erroneous line number error in Py2.4.1 [Windows 2000+SP3]
For some reason Python 2.3.5 reports the error in the following program correctly: File "C:\Temp\problem.py", line 7 SyntaxError: unknown decode error ..whereas Python 2.4.1 reports an invalid line number: File "C:\Temp\problem.py", line 2 SyntaxError: unknown decode error - problem.py starts - # -*- coding: ascii -*- """ Foo bar """ # Ä is not allowed in ascii coding - problem.py ends - Does anyone have a clue what is going on? Without the encoding declaration both Python versions report the usual deprecation warning (just like they should be doing). My environment: Windows 2000 + SP3. BR, Timo -- http://mail.python.org/mailman/listinfo/python-list