New submission from Petr Viktorin <encu...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue43239>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to