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 steven.daprano
Recipients cool-RR, steven.daprano
Date 2020-01-04.22:41:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578177673.63.0.599875618297.issue39212@roundup.psfhosted.org>
In-reply-to
Content
> builtins.TypeError: __init__() takes 1 positional argument but 2 were given

How did you get the fully qualified exception? I just get "TypeError". (Also the error message is different in 3.8.)


> It was annoying that I didn't know which `__init__` method was under discussion.

Couldn't you tell from the stacktrace showing the failed line of code?

I don't know about this. While I can certainly see that there are circumstances where it might be useful (e.g. you're running a .pyc file and there's no source line available), I think that in the majority of the cases showing fully-qualified names would be more annoying than useful, and certainly more intimidating to beginners.
History
Date User Action Args
2020-01-04 22:41:13steven.dapranosetrecipients: + steven.daprano, cool-RR
2020-01-04 22:41:13steven.dapranosetmessageid: <1578177673.63.0.599875618297.issue39212@roundup.psfhosted.org>
2020-01-04 22:41:13steven.dapranolinkissue39212 messages
2020-01-04 22:41:13steven.dapranocreate