Message359310
> 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. |
|
Date |
User |
Action |
Args |
2020-01-04 22:41:13 | steven.daprano | set | recipients:
+ steven.daprano, cool-RR |
2020-01-04 22:41:13 | steven.daprano | set | messageid: <1578177673.63.0.599875618297.issue39212@roundup.psfhosted.org> |
2020-01-04 22:41:13 | steven.daprano | link | issue39212 messages |
2020-01-04 22:41:13 | steven.daprano | create | |
|