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.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/RDSZ3JUQ6RK3CYVWXA2ESW7KF3HND3B7/

Reply via email to