Skip to content

Reorder librt Python.h includes - #21446

Merged
hauntsaninja merged 2 commits into
python:masterfrom
cdce8p:reorder-includes
May 9, 2026
Merged

Reorder librt Python.h includes#21446
hauntsaninja merged 2 commits into
python:masterfrom
cdce8p:reorder-includes

Conversation

@cdce8p

Copy link
Copy Markdown
Collaborator

Python.h should always be included first before any standard header files.
https://docs.python.org/3/c-api/intro.html#include-files

@cdce8pcdce8p mentioned this pull request May 9, 2026
@hauntsaninja
hauntsaninja merged commit 971904d into python:masterMay 9, 2026
18 checks passed
@cdce8p
cdce8p deleted the reorder-includes branch May 9, 2026 19:22
Sign up for freeto 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

@cdce8p@hauntsaninja