[issue29259] Add tp_fastcall to PyTypeObject: support FASTCALL calling convention for all callable objects

Jeroen Demeyer report at bugs.python.org
Tue Jul 31 05:36:09 EDT 2018


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> For compatibility with extensions built with older Pythons you should define new type flag and read tp_fastcall only if the flag is set.

Can you comment on https://github.com/python/cpython/pull/4944 why you think that such compatibility should be guaranteed? According to PEP 384, the layout of PyTypeObject is not part of the stable ABI.

----------
nosy: +jdemeyer

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29259>
_______________________________________


More information about the Python-bugs-list mailing list