mirror of
https://github.com/python/cpython.git
synced 2026-10-28 18:35:21 +08:00
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>
Miscellaneous source files for the main Python shared library