Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • 0.29.x
  • release
  • clean_up_capi_features
  • wild/ca97a9b4fd5e640e7bca68bece4a93bf09b70048
  • branch/OpenVMS default protected
  • gh3578_refleak
  • gh3092_percent_d_format
  • wild/162972e7c0335748b70e02edc37e5e3bbb4858ae
  • master_bookmark
  • gh2781_pep487_init_subclass_bookmark
  • branch/default
  • wild/8ce17460140adb110777d1fa69cc4154135c1ba2
  • 0.29.x_bookmark
  • release_bookmark
  • wild/292d4a5631697147dae2cd7beec8072d7aafbbbf
  • full_code_writer
  • full_code_writer_bookmark
  • fix_srctree_tests_on_windows_bookmark
  • optimise_pysequence_list_bookmark
20 results

CHANGES.rst

Blame
  • CHANGES.rst 110.33 KiB

    Cython Changelog

    0.29.21 (2020-07-07)

    Bugs fixed

    • Fix a regression in 0.29.20 where __div__ failed to be found in extension types. (Github issue #3688)
    • Fix a regression in 0.29.20 where a call inside of a finally clause could fail to compile. Patch by David Woods. (Github issue #3712)
    • exec() did not allow recent Python syntax features in Py3.8+ due to https://bugs.python.org/issue35975. (Github issue #3695)
    • Binding staticmethods of Cython functions were not behaving like Python methods in Py3. Patch by Jeroen Demeyer and Michał Górny. (Github issue #3106)
    • Pythran calls to NumPy methods no longer generate useless method lookup code.
    • The PyUnicode_GET_LENGTH() macro was missing from the cpython.* declarations. Patch by Thomas Caswell. (Github issue #3692)
    • The deprecated C-API functions PyUnicode_FromUnicode() and PyUnicode_AS_UNICODE() are no longer used. Patches by Inada Naoki and Victor Stinner. (Github issues #3677, #3721)
    • Several internal code generation issues regarding temporary variables were resolved. (Github issue #3708)

    0.29.20 (2020-06-10)

    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.