Ronald Oussoren added the comment:

Todays version of the patch adds more tests, especially for exceptions in 
__getdescriptor__ during the lookup of special methods.  Those tests were added 
because the C code couldn't get exceptions other than AttributeError before 
this patch and can get those know. This requires extra code, and hence extra 
tests (which exposed a number of crashers...).

The code should be solid now.

Note that the new error handling code isn't optimal style-wise, at some places 
I test for PyErr_Occurred() instead of adding error returns to functions now 
returning 'void' to keep the patch smaller and easier to review.

----------
Added file: http://bugs.python.org/file40027/pep447-2015-07-26.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18181>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to