[Python-Dev] Re: Documenting METH_FASTCALL

2019-06-13 Thread Jeroen Demeyer
On 2019-06-13 14:21, Victor Stinner wrote: We may deprecate it and document that VECTORCALL should be preferred. Not really. Vectorcall and METH_FASTCALL solve different problems on different levels. METH_FASTCALL is used specifically in PythonMethodDef, in other words for instances of "met

[Python-Dev] Re: Documenting METH_FASTCALL

2019-06-13 Thread Victor Stinner
Hi Jeroen, My initial plan was to hide it to ensure that nobody uses it, wait until the code and the API is battle-tested, and then propose a public API. I was a good idea to not make it public in the first place, since Python 3.7 modified FASTCALL deeply to not include keyword parameters by