Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment:
Python 3.0rc1
If the lines are now displayed correctly, I think there is still a
numbering issue, a +1 offset.
Python 2.5.2
# -*- coding: cp1252 -*- <<<< line 1, first line
s = 'abc'
import dummy
s = 'def'
---
>pythonw -u "testpy2.py"
Traceback (most recent call last):
File "testpy2.py", line 4, in <module>
import dummy
ImportError: No module named dummy
>Exit code: 1
Python 3.0rc1
# -*- coding: cp1252 -*-
s = 'abc'
import dummy
s = 'def'
---
>c:\python30\pythonw -u "testpy3.py"
Traceback (most recent call last):
File "testpy3.py", line 5, in <module>
s = 'def'
ImportError: No module named dummy
>Exit code: 1
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2384>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com