Author jmfauth
Recipients barry, dlitz, jmfauth, ocean-city
Date 2008-09-21.16:14:48
SpamBayes Score 4.01235e-09
Marked as misclassified No
Message-id <1222013689.86.0.794681747215.issue2384@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2008-09-21 16:14:50jmfauthsetrecipients: + jmfauth, barry, ocean-city, dlitz
2008-09-21 16:14:49jmfauthsetmessageid: <1222013689.86.0.794681747215.issue2384@psf.upfronthosting.co.za>
2008-09-21 16:14:49jmfauthlinkissue2384 messages
2008-09-21 16:14:48jmfauthcreate