[issue40642] Cpython "pystate.h" subdirectory wrong
STINNER Victor
report at bugs.python.org
Wed Sep 29 04:20:36 EDT 2021
STINNER Victor <vstinner at python.org> added the comment:
Having two header files with the same name in two directories which are part of the include directories is causing issues like this one :-(
For the internal C API, I solve the issue by adding "pycore_" prefix to filenames.
Maybe pystate.h should be renamed to cpython_pystate.h to avoid to fix the issue. It would include cpython_initconfig.h.
----------
nosy: +vstinner
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40642>
_______________________________________
More information about the Python-bugs-list
mailing list