https://github.com/python/cpython/commit/c26bed1160978fe8b1844878b8123778e47870c6 commit: c26bed1160978fe8b1844878b8123778e47870c6 branch: main author: Julian Waters <32636402+theshermantan...@users.noreply.github.com> committer: kumaraditya303 <kumaradi...@python.org> date: 2025-02-15T14:05:54Z summary:
gh-128345: properly disable gil for `_freeze_module.vcxproj` (#128344) files: M PCbuild/_freeze_module.vcxproj diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj index 51b493f8a84c6f..e12876114459bc 100644 --- a/PCbuild/_freeze_module.vcxproj +++ b/PCbuild/_freeze_module.vcxproj @@ -448,7 +448,7 @@ <OldPyConfigH Condition="Exists('$(IntDir)pyconfig.h')">$([System.IO.File]::ReadAllText('$(IntDir)pyconfig.h'))</OldPyConfigH> </PropertyGroup> <PropertyGroup Condition="$(DisableGil) == 'true'"> - <PyConfigHText>$(PyConfigHText.Replace('#undef Py_GIL_DISABLED', '#define Py_GIL_DISABLED 1'))</PyConfigHText> + <PyConfigHText>$(PyConfigHText.Replace('/* #define Py_GIL_DISABLED 1 */', '#define Py_GIL_DISABLED 1'))</PyConfigHText> </PropertyGroup> <Message Text="Updating pyconfig.h" Condition="$(PyConfigHText.TrimEnd()) != $(OldPyConfigH.TrimEnd())" /> <WriteLinesToFile File="$(IntDir)pyconfig.h" _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com