[issue18156] Add an 'attr' attribute to AttributeError

Alex Gaynor report at bugs.python.org
Sat Jun 8 02:03:34 CEST 2013


Alex Gaynor added the comment:

+1 on this, but it's worth noting that that fix is not 100% correct (though it's obviously better than most existing equivilants), it's potentially wrong with custom __getattr__, __getattribute__, descriptors.

----------
nosy: +alex

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18156>
_______________________________________


More information about the Python-bugs-list mailing list