X Tutup
Skip to content

[3.13] gh-130740: Move some stdbool.h includes after Python.h (#130738)#130756

Merged
picnixz merged 2 commits intopython:3.13from
picnixz:bp/313/214562ed4ddc248b007f718ed92ebcc0c3669611-130740
Mar 3, 2025
Merged

[3.13] gh-130740: Move some stdbool.h includes after Python.h (#130738)#130756
picnixz merged 2 commits intopython:3.13from
picnixz:bp/313/214562ed4ddc248b007f718ed92ebcc0c3669611-130740

Conversation

@picnixz
Copy link
Member

@picnixz picnixz commented Mar 2, 2025

Move some #include <stdbool.h> after #include "Python.h" when pyconfig.h is not included first and when we are in a platform-agnostic context. This is to avoid having features defined by stdbool.h before those decided by Python.h.

…hon#130738)

Move some `#include <stdbool.h>` after `#include "Python.h"` when `pyconfig.h` is not
included first and when we are in a platform-agnostic context. This is to avoid having
features defined by `stdbool.h` before those decided by `Python.h`.
@picnixz picnixz marked this pull request as ready for review March 2, 2025 10:38
@picnixz picnixz merged commit 00cf2a6 into python:3.13 Mar 3, 2025
38 checks passed
@picnixz picnixz deleted the bp/313/214562ed4ddc248b007f718ed92ebcc0c3669611-130740 branch March 3, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup