Cython v0.29.20 Release Notes

Release Date: 2020-06-10 // 10 months ago
  • 🐛 Bugs fixed

    • Nested try-except statements with multiple return statements could crash due to incorrect deletion of the except as target variable. (Github issue #3666)

    • The @classmethod decorator no longer rejects unknown input from other decorators. Patch by David Woods. (Github issue #3660)

    • Fused types could leak into unrelated usages. Patch by David Woods. (Github issue #3642)

    • Now uses Py_SET_SIZE() and Py_SET_REFCNT() in Py3.9+ to avoid low-level write access to these object fields. Patch by Victor Stinner. (Github issue #3639)

    • The built-in abs() function could lead to undefined behaviour when used on the negative-most value of a signed C integer type. Patch by Serge Guelton. (Github issue #1911)

    • Usages of sizeof() and typeid() on uninitialised variables no longer produce a warning. Patch by Celelibi. (Github issue #3575)

    • The C++ typeid() function was allowed in C mode. Patch by Celelibi. (Github issue #3637)

    • The error position reported for errors found in f-strings was misleading. (Github issue #3674)

    • The new c_api_binop_methods directive was added for forward compatibility, but can only be set to True (the current default value). It can be disabled in Cython 3.0.