[issue17911] traceback: add a new thin class storing a traceback without storing local variables
Daniil Bondarev
report at bugs.python.org
Sat Feb 7 09:23:30 CET 2015
Daniil Bondarev added the comment:
As suggested adding patch from http://bugs.python.org/issue2786 which prints qualnames in function call exceptions.
e.g:
>>> class A:
... def __init__(self):
... pass
>>> A(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: A.__init__() takes 1 positional argument but 2 were given
----------
nosy: +xonatius
Added file: http://bugs.python.org/file38034/qualname_in_exceptions.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17911>
_______________________________________
More information about the Python-bugs-list
mailing list