-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-128345: GIL is not properly disabled for _freeze_module.vcxproj #128344
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
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.
Are we able to add some sort of test?
It hardly matters for this tool. If it's somehow going to help the people working on free-threading to have it enabled for a build time tool, then sure. But there's no reason to backport it. Nobody is developing free-threading in 3.13 anymore - they're all working in |
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.
Thanks for the clarification, LGTM.
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 as well
!buildbot nogil windows |
The regex 'nogil windows' did not match any buildbot builder. Is the requested builder in the list of stable builders? |
!buildbot windows nogil |
The regex 'windows nogil' did not match any buildbot builder. Is the requested builder in the list of stable builders? |
!buildbot nogil |
🤖 New build scheduled with the buildbot fleet by @colesbury for commit cf12bef 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
The _freeze_module.vcxproj file is looking for
#undef Py_GIL_DISABLED
, but that was changed to/* #define Py_GIL_DISABLED 1 */
some time ago, so the build system ends up looking to replace a line that doesn't exist, the result is that the freeze Python never has GIL disabled even if it was requested during the build