[issue43816] Missing 'extern "C"' for _Py_ctype_table

Stefan Behnel report at bugs.python.org
Mon Apr 12 15:22:56 EDT 2021


Stefan Behnel <stefan_ml at behnel.de> added the comment:

These macros are a sort-of documented part of the C-API. At least, they were mentioned in a What's New document:

https://docs.python.org/3/whatsnew/2.7.html?highlight=py_isspace#build-and-c-api-changes

They were added here, for the Py2.7 release:

https://github.com/python/cpython/commit/8374981fb4d781d5ddbca313656bd3f32b49cef4

It looks to me like the header file should use "extern C".
@Eric, do you agree?

----------
nosy: +eric.smith, scoder
type:  -> compile error
versions: +Python 3.10

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


More information about the Python-bugs-list mailing list