[issue45434] [C API] Clean-up the Python.h header file
Thomas Wouters
report at bugs.python.org
Mon Oct 18 05:47:47 EDT 2021
Thomas Wouters <thomas at python.org> added the comment:
Victor, what's the benefit of doing this work? Are there real problems this fixes? I'm worried about the churn in third-party extensions, examples, tutorials, etc, especially for audiences that upon seeing a compiler error won't immediately realise they need to include stdlib.h themselves. (Also, since Python.h sets things like _POSIX_C_SOURCE and _XOPEN_SOURCE, including them in the wrong order can produce even more confusing errors, or errors that only appear on some platforms.)
----------
nosy: +twouters
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45434>
_______________________________________
More information about the Python-bugs-list
mailing list