[issue18181] PEP447: Add type.__getdescriptor__

Ronald Oussoren report at bugs.python.org
Sat Jul 25 16:15:37 CEST 2015


Ronald Oussoren added the comment:

Note: the error handling code for exceptions in __getdescriptor__ definitely isn't good enough yet. 

I'm writing tests and am hunting down the problems those tests find. I'm getting closer and will post a new version when I think I've found all bugs. Probably some time tomorrow.

For now be warned that unexpected exceptions in __getdescriptor__ might crash the interpreter, especially when it is used to look for dunder methods.

----------

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


More information about the Python-bugs-list mailing list