[issue37191] Python.h contains intermingled declarations

Jeroen Demeyer report at bugs.python.org
Fri Jun 7 08:29:15 EDT 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> It's well within our rights to ignore this: since 3.6 we require intermingled declarations.

It's not clear from PEP 7 if we require intermingled declarations only when compiling CPython itself, or also for external packages that include CPython headers. It would be prudent to stay C89-compatible for non-internal header files.

----------

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


More information about the Python-bugs-list mailing list