[issue27823] Change bare AttributeError messages to be more informative

Irit Katriel report at bugs.python.org
Sun Mar 21 19:53:10 EDT 2021


Irit Katriel <iritkatriel at yahoo.com> added the comment:

-1

As Anilyka wrote: "it (AttributeError) doesn't even mean the attribute doesn't exist, as it may".

So it's not safe to fill in a missing message based on the assumption that we know what it should be.

----------
nosy: +iritkatriel

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27823>
_______________________________________


More information about the Python-bugs-list mailing list