https://github.com/python/cpython/commit/aed16da3fc393254715914fc1a938c9182c85e0b
commit: aed16da3fc393254715914fc1a938c9182c85e0b
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: vstinner <[email protected]>
date: 2026-10-12T23:17:56+02:00
summary:

[3.15] gh-159113: Update `PCBuild/find_python.bat` to allow discovery of Python 
3.14 and 3.15 (GH-159114) (#159248)

gh-159113: Update `PCBuild/find_python.bat` to allow discovery of Python 3.14 
and 3.15 (GH-159114)
(cherry picked from commit 9c15cc9d699f05031f635eec65765f4012146d15)

Co-authored-by: Wulian233 <[email protected]>

files:
M PCbuild/find_python.bat

diff --git a/PCbuild/find_python.bat b/PCbuild/find_python.bat
index 4824e89de41d69..8f813ea27aefda 100644
--- a/PCbuild/find_python.bat
+++ b/PCbuild/find_python.bat
@@ -47,7 +47,7 @@
 @rem If py.exe finds a recent enough version, use that one
 @rem It is fine to add new versions to this list when they have released,
 @rem but we do not use prerelease builds here.
-@for %%p in (3.14 3.13 3.12 3.11 3.10) do @py -%%p -EV >nul 2>&1 && (set 
PYTHON=py -%%p) && (set _Py_Python_Source=found %%p with py.exe) && goto :found
+@for %%p in (3.15 3.14 3.13 3.12 3.11 3.10) do @py -%%p -EV >nul 2>&1 && (set 
PYTHON=py -%%p) && (set _Py_Python_Source=found %%p with py.exe) && goto :found
 
 @if NOT exist "%_Py_EXTERNALS_DIR%" mkdir "%_Py_EXTERNALS_DIR%"
 @set _Py_NUGET=%NUGET%

_______________________________________________
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]

Reply via email to