[New-bugs-announce] [issue43239] PyCFunction_New is not exported with PyAPI_FUNC

Petr Viktorin report at bugs.python.org
Tue Feb 16 11:07:52 EST 2021


New submission from Petr Viktorin <encukou at gmail.com>:

PyCFunction_New is part of the Stable ABI (see bpo-21354), but it is not declared as PyAPI_FUNC, and thus not exported with GCC's -fvisibility=hidden.
To match Windows, it should be declared.

(I don't think this has any real impact, I just want to fix it before enabling automatic tests on such issues.)

----------
assignee: petr.viktorin
components: C API
messages: 387119
nosy: petr.viktorin
priority: normal
severity: normal
status: open
title: PyCFunction_New is not exported with PyAPI_FUNC
versions: Python 3.10

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


More information about the New-bugs-announce mailing list