[New-bugs-announce] [issue43239] PyCFunction_New is not exported with PyAPI_FUNC
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.)
components: C API
title: PyCFunction_New is not exported with PyAPI_FUNC
versions: Python 3.10
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce