Documenting METH_FASTCALL
13 Jun
2019
13 Jun
'19
7:29 a.m.
Hello, has the time come to document METH_FASTCALL? This was introduced in Python 3.6 for positional arguments only and extended in Python 3.7 to support also keyword arguments. No changes have been made since then. The vectorcall protocol (PEP 590) uses a calling convention based on METH_FASTCALL, so I expect METH_FASTCALL to stay as it is. PEP 590 also means that CPython is now even more than before optimized for METH_FASTCALL instead of METH_VARARGS. Whether or not METH_FASTCALL should be added to the limited API is another question. I'm only talking about adding it to the documentation. Jeroen.
1750
Age (days ago)
1750
Last active (days ago)
2 comments
2 participants
participants (2)
-
Jeroen Demeyer
-
Victor Stinner