Skip to content

CPython 3.15.0a5 -> 3.15.0a6#981

Merged
jjhelmus merged 6 commits intoastral-sh:mainfrom
jjhelmus:update_3_15_0a6
Feb 12, 2026
Merged

CPython 3.15.0a5 -> 3.15.0a6#981
jjhelmus merged 6 commits intoastral-sh:mainfrom
jjhelmus:update_3_15_0a6

Conversation

@jjhelmus
Copy link
Contributor

@jjhelmus jjhelmus commented Feb 11, 2026

  • Update CPython to 3.15.0a6
  • Remove unneeded patch added for 3.15.0a5
  • Enable tail call for free-threading build on Windows.
  • Build _testinternalcapi as a shared module.

@jjhelmus
Copy link
Contributor Author

jjhelmus commented Feb 11, 2026

macOS error is:

cpython-3.15> ld64.lld: error: duplicate symbol: _Py_jit_entry
cpython-3.15> >>> defined in Python/ceval.o
cpython-3.15> >>> defined in Modules/_testinternalcapi/interpreter.o

I think this is a result of the change from python/cpython#142911. Splitting out the _testinternalcapi module into a extension may address this.

This only happens with optimized builds (pgo, pgo+lto) when --enable-exterimental-jit is enabled.

@jjhelmus
Copy link
Contributor Author

_Py_jit_entry was added to Modules/_testinternalcapi/interpreter.c‎ in python/cpython#143944. This should be extern when the module is statically linked (and when dynamically linked I think).

@jjhelmus jjhelmus closed this Feb 11, 2026
@jjhelmus jjhelmus reopened this Feb 11, 2026
@jjhelmus jjhelmus added python:3.15 and removed platform:darwin Specific to the macOS platform platform:linux Specific to the Linux platform labels Feb 11, 2026
@jjhelmus jjhelmus merged commit 6b6905a into astral-sh:main Feb 12, 2026
123 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants