Cython v0.29.22 Release Notes

  • ๐Ÿ”‹ Features added

    • Some declarations were added to the provided pxd includes. Patches by Zackery Spytz and John Kirkham. (Github issues #3811, #3882, #3899, #3901)

    ๐Ÿ› Bugs fixed

    • A crash when calling certain functions in Py3.9 and later was resolved. (Github issue #3917)

    • const memory views of structs failed to compile. (Github issue #2251)

    • const template declarations could not be nested. Patch by Ashwin Srinath. (Github issue #1355)

    • Casts to memory views failed for fused dtypes. Patch by David Woods. (Github issue #3881)

    • repr() was assumed to return str instead of unicode with language_level=3. (Github issue #3736)

    • 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 #2749)

    • Coverage reporting in the annotated HTML file failed in Py3.9. Patch by Nick Pope. (Github 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.