[issue20864] getattr does not work well with descriptor
Nick Coghlan
report at bugs.python.org
Sat Mar 8 05:41:13 CET 2014
Nick Coghlan added the comment:
Indeed, since None is a potentially valid attribute value, the required API for a descriptor to indicate "no such attribute" in __get__ is to throw AttributeError.
----------
nosy: +ncoghlan
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20864>
_______________________________________
More information about the Python-bugs-list
mailing list