[issue41111] [C API] Convert a few stdlib extensions to the limited C API (PEP 384)

hai shi report at bugs.python.org
Wed May 12 14:16:08 EDT 2021


hai shi <shihai1991 at 126.com> added the comment:

> The main limitation to use the limited C API for stdlib is Argument Clinic which attempts to always emit the most efficient code, like using the METH_FASTCALL calling convention and use private functions like _PyArg_CheckPositional() or "static _PyArg_Parser _parser".

PR-26080 adds the feature that Argument Clinic to support to use the Limited C API.
METH_FASTCALL is the part of the stable ABI in PR-23009.
Do we need convert METH_VARARGS and METH_KEYWORDS as the part of the stable ABI too(something like METH_FASTCALL)?

----------

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


More information about the Python-bugs-list mailing list