[New-bugs-announce] [issue28536] Show the qualified name when a call fails
Ryan Gonzalez
report at bugs.python.org
Tue Oct 25 17:47:29 EDT 2016
New submission from Ryan Gonzalez:
e.g. make this:
class X:
def __init__(self): pass
X(1)
print something like this:
TypeError: X.__init__() takes 1 positional argument but 2 were given
instead of:
TypeError: __init__() takes 1 positional argument but 2 were given
I'm trying to see if I can create a patch right now, though it probably won't be ready until Thursday.
----------
components: Interpreter Core
messages: 279460
nosy: Ryan.Gonzalez
priority: normal
severity: normal
status: open
title: Show the qualified name when a call fails
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28536>
_______________________________________
More information about the New-bugs-announce
mailing list