STINNER Victor <[email protected]> added the comment:
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
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue20443>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com