[issue28536] Show the qualified name when a call fails

2018-07-26 Thread Berker Peksag
Change by Berker Peksag : -- stage: -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___ ___

[issue28536] Show the qualified name when a call fails

2016-10-25 Thread Martin Panter
Martin Panter added the comment: Perhaps you should merge your work with Issue 2786. With a very brief look, the patches seem to take a similar approach. -- nosy: +martin.panter resolution: -> duplicate superseder: -> Names in function call exception should have class names, if

[issue28536] Show the qualified name when a call fails

2016-10-25 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: HAHA, I lied. :D Attached is what I have so far. -- keywords: +patch Added file: http://bugs.python.org/file45225/0001-Make-failed-calls-to-methods-show-the-fully-qualifie.patch ___ Python tracker

[issue28536] Show the qualified name when a call fails

2016-10-25 Thread Ryan Gonzalez
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