[Python-bugs-list] Traceback off by a line under -x (PR#11)

tim_one@email.msn.com tim_one@email.msn.com
Mon, 12 Jul 1999 20:47:08 -0400 (EDT)


Full_Name: Tim Peters
Version: 1.5.2
OS: Win95
Submission from: 1cust154.tnt3.bos1.da.uu.net (153.34.162.154)


Running

    python -x whatever.py

skips over the first line of the script (that's a feature), but Python also then
considers the second line of the file to be line number 1.  This causes
tracebacks in the main script to display a wrong (off by one) line.

Already fixed in the CVS version.