Stefan Behnel <stefan...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue43816> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com