Bug report
Bug description:
aeb3403 moved some code using the bool type from pycore_optimizer.h, which includes stdbool.h, to pycore_optimizer_types.h, which does not. As a result, depending on the internal details of your libc headers, you can now get a compile error like:
In file included from Parser/pegen_errors.c:5:
In file included from ./Include/internal/pycore_runtime.h:11:
In file included from ./Include/internal/pycore_runtime_structs.h:10:
In file included from ./Include/internal/pycore_interp_structs.h:15:
In file included from ./Include/internal/pycore_tstate.h:15:
./Include/internal/pycore_optimizer_types.h:70:5: error: unknown type name 'bool'
bool invert;
^
CPython versions tested on:
3.15
Operating systems tested on:
macOS
Linked PRs
Bug report
Bug description:
aeb3403 moved some code using the
booltype frompycore_optimizer.h, which includesstdbool.h, topycore_optimizer_types.h, which does not. As a result, depending on the internal details of your libc headers, you can now get a compile error like:CPython versions tested on:
3.15
Operating systems tested on:
macOS
Linked PRs
pycore_optimizer_types.h#143947