This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ncoghlan, r.david.murray, vstinner, yselivanov
Date 2019-06-13.14:30:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560436246.0.0.117652152917.issue20443@roundup.psfhosted.org>
In-reply-to
Content
One of the side effect of my PR 14053 is that tracebacks are more verbose: the filename is now absolute rather than relative.

Currently:

$ python3 x.py 
Traceback (most recent call last):
  File "x.py", line 4, in <module>
    func()
  File "x.py", line 2, in func
    bug
NameError: name 'bug' is not defined

With my PR:

$ ./python x.py 
Traceback (most recent call last):
  File "/home/vstinner/prog/python/master/x.py", line 4, in <module>
    func()
  File "/home/vstinner/prog/python/master/x.py", line 2, in func
    bug
NameError: name 'bug' is not defined
History
Date User Action Args
2019-06-13 14:30:46vstinnersetrecipients: + vstinner, ncoghlan, r.david.murray, yselivanov
2019-06-13 14:30:46vstinnersetmessageid: <1560436246.0.0.117652152917.issue20443@roundup.psfhosted.org>
2019-06-13 14:30:45vstinnerlinkissue20443 messages
2019-06-13 14:30:45vstinnercreate