Cython v0.29.1 Release Notes

Release Date: 2018-11-24 // about 3 years ago
  • 🐛 Bugs fixed

    • 🏁 Extensions compiled with MinGW-64 under Windows could misinterpret integer objects larger than 15 bit and return incorrect results. (Github issue :issue:2670)

    • Cython no longer requires the source to be writable when copying its data into a memory view slice. Patch by Andrey Paramonov. (Github issue :issue:2644)

    • Line tracing of try-statements generated invalid C code. (Github issue :issue:2274)

    • When using the warn.undeclared directive, Cython's own code generated warnings that are now fixed. Patch by Nicolas Pauss. (Github issue :issue:2685)

    • Cython's memoryviews no longer require strides for setting the shape field but only the PyBUF_ND flag to be set. Patch by John Kirkham. (Github issue :issue:2716)

    • ⚠ Some C compiler warnings about unused memoryview code were fixed. Patch by Ho Cheuk Ting. (Github issue :issue:2588)

    • ⚠ A C compiler warning about implicit signed/unsigned conversion was fixed. (Github issue :issue:2729)

    • Assignments to C++ references returned by operator[] could fail to compile. (Github issue :issue:2671)

    • 🛠 The power operator and the support for NumPy math functions were fixed in Pythran expressions. Patch by Serge Guelton. (Github issues :issue:2702, :issue:2709)

    • Signatures with memory view arguments now show the expected type when embedded in docstrings. Patch by Matthew Chan and Benjamin Weigel. (Github issue :issue:2634)

    • Some from ... cimport ... constructs were not correctly considered when searching modified dependencies in cythonize() to decide whether to recompile a module. Patch by Kryštof Pilnáček. (Github issue :issue:2638)

    • A struct field type in the cpython.array declarations was corrected. Patch by John Kirkham. (Github issue :issue:2712)