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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20864>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to