[issue12022] AttributeError should report the same details when raised by lookup_special() as when raised in the REPL
Serhiy Storchaka
report at bugs.python.org
Sat Oct 19 17:38:43 EDT 2019
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Would not be better to change an AttributeError to TypeError? Seems this is the only place in the core when missing special method causes an AttributeError and not TypeError.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue12022>
_______________________________________
More information about the Python-bugs-list
mailing list