Files
cpython/Python
Łukasz LangaandClaude Fable 5.1 0fc01831b6 [3.11] Fix Windows build regen with Python 3.15 as the host Python (#160621)
The windows-2022 GitHub runner image no longer ships Python 3.10, so
PCbuild/find_python.bat fell through to NuGet and installed the latest
pythonx86 package, which is now 3.15.1. Python 3.15 removed
Loader.load_module(), which Python/makeopcodetargets.py used to import
Lib/opcode.py, so the _RegenOpcodes target failed and broke every
Windows CI build on this branch.

Load Lib/opcode.py through importlib.util instead, and extend the py.exe
search list in find_python.bat up to 3.14 so the build picks up the
runner's preinstalled Python rather than whatever NuGet considers latest.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-24 15:30:40 -07:00
..
2009-04-27 20:54:42 +00:00

Miscellaneous source files for the main Python shared library