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 cool-RR
Recipients cool-RR, steven.daprano
Date 2020-01-06.14:56:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578322601.41.0.383953374735.issue39212@roundup.psfhosted.org>
In-reply-to
Content
> But I *did* get that text. I'm asking how you got the *different* text 
> which you gave in your initial request.

Oh, right. Looking back, turns out Wing IDE did that for me. Didn't notice, sorry.

> So in my opinion, and I recognise that you may disagree, this is only of 
> benefit in a minority of cases. For the majority of cases, it will only 
> be additional noise in the message that adds nothing that wasn't already 
> obvious from the source line.

I understand your perspective.

One correction though regarding adding noise to the error. You gave this example:

    builtins.TypeError: package.some_module.MyClass.__init__ takes 1 positional argument but 2 were given
    
While actually it'll be:

    TypeError: MyClass.__init__ takes 1 positional argument but 2 were given
    
Since __qualname__ only includes the class, not its module. So it's quite a bit shorter.
History
Date User Action Args
2020-01-06 14:56:41cool-RRsetrecipients: + cool-RR, steven.daprano
2020-01-06 14:56:41cool-RRsetmessageid: <1578322601.41.0.383953374735.issue39212@roundup.psfhosted.org>
2020-01-06 14:56:41cool-RRlinkissue39212 messages
2020-01-06 14:56:41cool-RRcreate