From e9640c0cfbfd53a4b0c8e3913a33045bd1a219fc Mon Sep 17 00:00:00 2001 From: icanhasmath Date: Wed, 26 Jun 2024 15:46:37 -0500 Subject: [PATCH 1/2] Add VCRuntime to Python 2 We need to copy the vcruntime dll as it is a dependency of python2. --- PCbuild/pyproject.props | 20 ++++++++++++++++++++ PCbuild/pythoncore.vcxproj | 8 ++++++++ 2 files changed, 28 insertions(+) diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index 08565465694b74..f22dae3e7c587a 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -157,4 +157,24 @@ foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcesses + + + + $(VCInstallDir)\Redist\MSVC\$(VCToolsRedistVersion)\ + $(VCRedistDir)x86\ + $(VCRedistDir)$(Platform)\ + + + $(VCInstallDir)\redist\ + $(VCRedistDir)x86\ + $(VCRedistDir)$(Platform)\ + + + + + + + + + diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 55c950b59fac0a..f8f59a7c37239f 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -406,4 +406,12 @@ + + + + + + + + From 52ce3d5344e24f475905667455becae6e3b864b8 Mon Sep 17 00:00:00 2001 From: icanhasmath Date: Wed, 26 Jun 2024 23:03:19 -0500 Subject: [PATCH 2/2] Add News --- Misc/NEWS.d/2.7.18.9.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Misc/NEWS.d/2.7.18.9.rst b/Misc/NEWS.d/2.7.18.9.rst index d91eb1f189dd0b..a7c32029bb71d3 100644 --- a/Misc/NEWS.d/2.7.18.9.rst +++ b/Misc/NEWS.d/2.7.18.9.rst @@ -1,3 +1,24 @@ +.. bpo: none +.. date: 2024-06-26 +.. nonce: +.. release date: 2024-06-26 +.. section: Core and Builtins + +Include vcruntime140.dll in Python 2.7 + +vcruntime140.dll is now included as it is a necessary runtime dependency of Python. +Similar to bpo: 39930 + +.. bpo: none +.. date: 2024-06-26 +.. nonce: +.. release date: 2024-06-26 +.. section: Core and Builtins + +WSA Errors are handled on Windows + +We are now handling WSAE* errors on windows. These Errors were not being handled properly since updating to newer versions of MSVC. + .. bpo: 32056 .. date: 2018-03-18 .. nonce: