[issue29259] Add tp_fastcall to PyTypeObject: support FASTCALL calling convention for all callable objects
Serhiy Storchaka
report at bugs.python.org
Fri Jan 13 11:22:59 EST 2017
Serhiy Storchaka added the comment:
PyArg_UnpackStack() is declared as in the limited API since 3.3. If you want to add PyArg_UnpackStack() to the limited API, define it as added in 3.7.
For compatibility with extensions built with older Pythons you should define new type flag and read tp_fastcall only if the flag is set. See for example Py_TPFLAGS_HAVE_FINALIZE.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29259>
_______________________________________
More information about the Python-bugs-list
mailing list