-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
GH-131238: Core header refactor #131250
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
GH-131238: Core header refactor #131250
Conversation
🤖 New build scheduled with the buildbot fleet by @markshannon for commit 4231362 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F131250%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add also the 3 new internal headers to PCbuild/pythoncore.vcxproj and PCbuild/pythoncore.vcxproj.filters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I like the overall design. I just left a few minor comments which can be addressed later if needed (I can handle them if you want).
* Moves most structs in pycore_ header files into pycore_structs.h and pycore_runtime_structs.h * Removes many cross-header dependencies
* Moves most structs in pycore_ header files into pycore_structs.h and pycore_runtime_structs.h * Removes many cross-header dependencies
This PR moves most of the struct definitions in the various "core" header files to new header files.
This breaks the dependencies between header files, as headers do not need to include each other, but can include one or two of the struct definition headers.