This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients barry, docs@python, serhiy.storchaka, skrah, vstinner
Date 2017-10-04.15:18:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507130335.27.0.213398074469.issue28805@psf.upfronthosting.co.za>
In-reply-to
Content
I suggest to document the following 4 functions/macros:

PyAPI_FUNC(PyObject *) _PyObject_FastCallDict(
    PyObject *callable,
    PyObject **args,
    Py_ssize_t nargs,
    PyObject *kwargs);

PyAPI_FUNC(PyObject *) _PyObject_FastCallKeywords(
    PyObject *callable,
    PyObject **args,
    Py_ssize_t nargs,
    PyObject *kwnames);

#define _PyObject_FastCall(func, args, nargs) \
    _PyObject_FastCallDict((func), (args), (nargs), NULL)

#define _PyObject_CallNoArg(func) \
    _PyObject_FastCallDict((func), NULL, 0, NULL)

And the METH_FASTCALL and METH_FASTCALL|METH_KEYWORDS calling convention.
History
Date User Action Args
2017-10-04 15:18:55vstinnersetrecipients: + vstinner, barry, skrah, docs@python, serhiy.storchaka
2017-10-04 15:18:55vstinnersetmessageid: <1507130335.27.0.213398074469.issue28805@psf.upfronthosting.co.za>
2017-10-04 15:18:55vstinnerlinkissue28805 messages
2017-10-04 15:18:55vstinnercreate