Sourced from cython's changelog.
3.1.4 (2025-09-16)
Features added
- Declarations for the new
PyUnstable_*()refcounting C-API functions in Py3.14 were added. (Github issue :issue:6836)Bugs fixed
The monitoring code could crash on tracing. (Github issue :issue:
7050)Initialising the monitoring code could fail with a CPython exception. See nedbat/coveragepy#1790
Optimised integer shifting triggered undefined behaviour in C. (Github issue :issue:
7089)Deallocating objects that inherit from external types defined in pxd files could run into an infinite loop. (Github issue :issue:
7143)A reference to metaclasses could be leaked on instantiation. (Github issue :issue:
7130)(Unlikely) error handling during empty builtin container tests was ineffective. (Github issue :issue:
7190)Generated
*_api.hfiles used potentially unknown Cython configuration macros. (Github issue :issue:7108)
cythonize()avoids parallel compiler runs on systems usingspawn()in multiprocessing. Patch by Marcel Bargull. (Github issue :issue:3262)The
@cython.ufuncdecorator was missing in type checker stubs. Patch by jayClean. (Github issue :issue:7109)
236e4a3
Build: Update cibuildwheel version to 3.1.4.cb2e2a3
Prepare release of 3.1.4.4fdb990
Update changelog.fa78291
Remove confusing "optionally" from embedded docs (#7071)2886cd9
Fix error handling in empty container test (GH-7096)8993322
Library: Add declarations for new refcounting C-API functions in
Py3.14.dc54ef2
Simpify some conditions.41f985e
Bump OS X runner version to "macos-latest" (GH-7041)dd18f11
Disable parallel cythonization for "spawn" start method. (GH-3263)be16c51
Fix a small typo (#7125)