Ronald Oussoren added the comment: I've attached a new version of the patch (pep447-2015-07-25.txt). Changes in this version of the patch:
1) Works with the current trunk (as in "all tests pass") 2) Types in C must explicitly set Py_TPFLAGS_GETDESCRIPTOR in tp_flags to enable the tp_getdescriptor slot. This is primarily done avoid crashing when loading a C extension for older CPython versions (even if that's not guaranteed to work anyway). The PEP needs to be updated for the second change, that's next on my list. ---------- Added file: http://bugs.python.org/file40012/pep447-2015-07-25.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