Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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