[issue43239] PyCFunction_New is not exported with PyAPI_FUNC

Petr Viktorin report at bugs.python.org
Tue Feb 16 11:38:47 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 

OK, I'll add that move to the PR.

> Oh, it's not listed by Doc/data/stable_abi.dat and so not checked by Tools/scripts/stable_abi.py.

I'm planning to rework this for PEP 652 (which is how I found the issue in the first place), so I'll not add it there now.

----------

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


More information about the Python-bugs-list mailing list