[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

STINNER Victor report at bugs.python.org
Tue Nov 27 16:18:31 EST 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Oh cpython/pystate.h introduced this warning, when building Python with clang in release mode:

In file included from Parser/node.c:3:
In file included from ./Include/Python.h:107:
In file included from ./Include/traceback.h:8:
In file included from ./Include/pystate.h:123:
./Include/cpython/pystate.h:217:3: warning: redefinition of typedef 'PyThreadState' is a C11 feature [-Wtypedef-redefinition]
} PyThreadState;
  ^
./Include/pystate.h:27:20: note: previous definition is here
typedef struct _ts PyThreadState;
                   ^

----------

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


More information about the Python-bugs-list mailing list