[issue16776] Document PyCFunction_New and PyCFunction_NewEx functions

Petr Viktorin report at bugs.python.org
Tue Feb 4 07:59:12 EST 2020


Petr Viktorin <encukou at gmail.com> added the comment:

IMO, PyCFunction* should be a CPython-specific implementation detail: alternate implementations of the C-API don't need to support them, and extension authors should be fine without using them. (And if not, more efforts like PEP 590 Vectorcall should make it so.)

The functions are public in the sense that they don't have underscored names, but I wouldn't rush to make them documented.

----------
nosy: +petr.viktorin

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


More information about the Python-bugs-list mailing list