Cython v0.29.20 Release Notes
Release Date: 2020-06-10 // almost 4 years ago-
🐛 Bugs fixed
Nested try-except statements with multiple
return
statements could crash due to incorrect deletion of theexcept as
target variable. (Github issue :issue:3666
)The
@classmethod
decorator no longer rejects unknown input from other decorators. Patch by David Woods. (Github issue :issue:3660
)Fused types could leak into unrelated usages. Patch by David Woods. (Github issue :issue:
3642
)Now uses
Py_SET_SIZE()
andPy_SET_REFCNT()
in Py3.9+ to avoid low-level write access to these object fields. Patch by Victor Stinner. (Github issue :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 :issue:1911
)Usages of
sizeof()
andtypeid()
on uninitialised variables no longer produce a warning. Patch by Celelibi. (Github issue :issue:3575
)The C++
typeid()
function was allowed in C mode. Patch by Celelibi. (Github issue :issue:3637
)The error position reported for errors found in f-strings was misleading. (Github issue :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.
.. _0.29.19: