Cython v0.29.22 Release Notes
Release Date: 2021-02-20 // about 3 years ago-
🔋 Features added
- Some declarations were added to the provided pxd includes.
Patches by Zackery Spytz and John Kirkham.
(Github issues :issue:
3811
, :issue:3882
, :issue:3899
, :issue:3901
)
🐛 Bugs fixed
A crash when calling certain functions in Py3.9 and later was resolved. (Github issue :issue:
3917
)const
memory views of structs failed to compile. (Github issue :issue:2251
)const
template declarations could not be nested. Patch by Ashwin Srinath. (Github issue :issue:1355
)The declarations in the
cpython.pycapsule
module were missing theirconst
modifiers and generated incorrect C code. Patch by Warren Weckesser. (Github issue :issue:3964
)Casts to memory views failed for fused dtypes. Patch by David Woods. (Github issue :issue:
3881
)repr()
was assumed to returnstr
instead ofunicode
withlanguage_level=3
. (Github issue :issue:3736
)Calling
cpdef
functions from cimported modules crashed the compiler. Patch by David Woods. (Github issue :issue:4000
)Cython no longer validates the ABI size of the NumPy classes it compiled against. See the discussion in https://github.com/numpy/numpy/pull/432
⚠ A C compiler warning about enum value casting was resolved in GCC. (Github issue :issue:
2749
)Coverage reporting in the annotated HTML file failed in Py3.9. Patch by Nick Pope. (Github issue :issue:
3865
)The embedding code now reports Python errors as exit status.
Long type declarations could lead to (harmless) random changes in the C file when used in auto-generated Python wrappers or pickled classes.
Other changes
- ⚠ Variables defined as
cpdef
now generate a warning since this is currently useless and thus does not do what users would expect. Patch by David Woods. (Github issue :issue:3959
)
.. _0.29.21:
- Some declarations were added to the provided pxd includes.
Patches by Zackery Spytz and John Kirkham.
(Github issues :issue: