https://github.com/python/cpython/commit/3d248a27dfcc6d114291bf7fb5168c175eb021da commit: 3d248a27dfcc6d114291bf7fb5168c175eb021da branch: main author: tonghuaroot (童话) <[email protected]> committer: chris-eibl <[email protected]> date: 2026-11-21T08:30:03Z summary:
gh-153668: Disable ``unicodectype.c`` optimization in regular Windows ARM64 Release builds (#162262) * gh-153668: Disable ``unicodectype.c`` optimization in regular Windows ARM64 Release builds due to a compiler bug in MSVC 14.50, 14.51, and 14.52. PGO builds are not affected. --------- Co-authored-by: Chris Eibl <[email protected]> files: A Misc/NEWS.d/next/Build/2026-11-19-17-34-03.gh-issue-153668.A7mK2q.rst M PCbuild/pyproject.props diff --git a/Misc/NEWS.d/next/Build/2026-11-19-17-34-03.gh-issue-153668.A7mK2q.rst b/Misc/NEWS.d/next/Build/2026-11-19-17-34-03.gh-issue-153668.A7mK2q.rst new file mode 100644 index 00000000000000..95de6504bdbd07 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2026-11-19-17-34-03.gh-issue-153668.A7mK2q.rst @@ -0,0 +1,2 @@ +Disable ``unicodectype.c`` optimization in regular Windows ARM64 Release +builds due to a compiler bug in MSVC 14.50, 14.51, and 14.52. PGO builds are not affected. diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index 67296c22806c3e..95998b6de2d866 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -41,7 +41,7 @@ <MSVCHasBrokenARM64Clamping Condition="$(_VCToolsVersion) == '14.34' or $(_VCToolsVersion) == '14.35'">true</MSVCHasBrokenARM64Clamping> <MSVCHasBrokenARM64SignExtension Condition="$(_VCToolsVersion) == '14.37'">true</MSVCHasBrokenARM64SignExtension> <!-- See gh-153668 and https://developercommunity.visualstudio.com/t/ARM64-compiler-uses-excessive-memory-on/11120089 --> - <MSVCHasBrokenARM64UniDbOpt Condition="$(_VCToolsVersion) == '14.50' or $(_VCToolsVersion) == '14.51'">true</MSVCHasBrokenARM64UniDbOpt> + <MSVCHasBrokenARM64UniDbOpt Condition="$(_VCToolsVersion) == '14.50' or $(_VCToolsVersion) == '14.51' or $(_VCToolsVersion) == '14.52'">true</MSVCHasBrokenARM64UniDbOpt> </PropertyGroup> <PropertyGroup> _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
