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 vstinner
Recipients Jim Fasarakis-Hilliard, vstinner
Date 2017-06-23.11:59:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498219173.31.0.759746634718.issue26098@psf.upfronthosting.co.za>
In-reply-to
Content
Recently, some people asked me for an update for my FAT Python project. So I rebased this change I wrote 1 year 1/2 and adapted it for the new code base:

* I renamed test_pep510.py to test_func_specialize.py
* I removed the useless PyFunction_Check() macro
* I changed the guard check prototype to use the new FASTCALL calling convention: (PyObject **args, Py_ssize_t nargs, PyObject *kwnames: tuple)
* I patched _PyFunction_FastCallDict() *and* PyFunction_FastCallKeywords() to check guards and call specified code if guards succeeded

The PEP 510 is not accepted, so the implementation is still a work-in-progress (WIP) and must not be merged.
History
Date User Action Args
2017-06-23 11:59:33vstinnersetrecipients: + vstinner, Jim Fasarakis-Hilliard
2017-06-23 11:59:33vstinnersetmessageid: <1498219173.31.0.759746634718.issue26098@psf.upfronthosting.co.za>
2017-06-23 11:59:33vstinnerlinkissue26098 messages
2017-06-23 11:59:32vstinnercreate