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 Dennis Sweeney
Recipients Dennis Sweeney, chris.jerdonek, xtreak
Date 2020-05-19.19:46:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589917607.9.0.58727945156.issue40679@roundup.psfhosted.org>
In-reply-to
Content
The attached PR isn't exactly what you requested, but it's a very minimal code change that uses the existing __qualname__ functionality to change the message to

    TypeError: A.foo() takes 1 positional argument but 2 were given

Does that address those problems?
History
Date User Action Args
2020-05-19 19:46:47Dennis Sweeneysetrecipients: + Dennis Sweeney, chris.jerdonek, xtreak
2020-05-19 19:46:47Dennis Sweeneysetmessageid: <1589917607.9.0.58727945156.issue40679@roundup.psfhosted.org>
2020-05-19 19:46:47Dennis Sweeneylinkissue40679 messages
2020-05-19 19:46:47Dennis Sweeneycreate