Cython v0.29.17 Release Notes

Release Date: 2020-04-26 // almost 4 years ago
  • ๐Ÿ”‹ Features added

    • ๐Ÿšš std::move() is now available from libcpp.utility. Patch by Omer Ozarslan. (Github issue :issue:2169)

    • The @cython.binding decorator is available in Python code. (Github issue :issue:3505)

    ๐Ÿ› Bugs fixed

    • Creating an empty unicode slice with large bounds could crash. Patch by Sam Sneddon. (Github issue :issue:3531)

    • Decoding an empty bytes/char* slice with large bounds could crash. Patch by Sam Sneddon. (Github issue :issue:3534)

    • Re-importing a Cython extension no longer raises the error "__reduce_cython__ not found". (Github issue :issue:3545)

    • Unused C-tuples could generate incorrect code in 0.29.16. Patch by Kirk Meyer. (Github issue :issue:3543)

    • Creating a fused function attached it to the garbage collector before it was fully initialised, thus risking crashes in rare failure cases. Original patch by achernomorov. (Github issue :issue:3215)

    • ๐Ÿš€ Temporary buffer indexing variables were not released and could show up in C compiler warnings, e.g. in generators. Patch by David Woods. (Github issues :issue:3430, :issue:3522)

    • The compilation cache in cython.inline("โ€ฆ") failed to take the language level into account. Patch by will-ca. (Github issue :issue:3419)

    • The deprecated PyUnicode_GET_SIZE() function is no longer used in Py3.

    .. _0.29.16: