This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients amaury.forgeotdarc, ronaldoussoren
Date 2015-07-25.09:29:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437816596.85.0.918526839123.issue18181@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-07-25 09:29:57ronaldoussorensetrecipients: + ronaldoussoren, amaury.forgeotdarc
2015-07-25 09:29:56ronaldoussorensetmessageid: <1437816596.85.0.918526839123.issue18181@psf.upfronthosting.co.za>
2015-07-25 09:29:56ronaldoussorenlinkissue18181 messages
2015-07-25 09:29:56ronaldoussorencreate