[issue43239] PyCFunction_New is not exported with PyAPI_FUNC
Petr Viktorin
report at bugs.python.org
Tue Feb 16 11:44:19 EST 2021
Petr Viktorin <encukou at gmail.com> added the comment:
> By the way, I would suggest to move "#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL)" to Include/cpython/methodobject.h
Wait no, I wrote too soon.
PyCFunction_NewEx is part of the limited API as well, even though it's undocumented. People can call it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43239>
_______________________________________
More information about the Python-bugs-list
mailing list