Cython v0.29.31 Release Notes

Release Date: 2022-07-27 // over 1 year ago
  • ๐Ÿ”‹ Features added

    • A new argument --module-name was added to the cython command to provide the (one) exact target module name from the command line. Patch by Matthew Brett and h-vetinari. (Github issue :issue:4906)

    ๐Ÿ› Bugs fixed

    • ๐Ÿ—„ Use importlib.util.find_spec() instead of the deprecated importlib.find_loader() function when setting up the package path at import-time. Patch by Matti Picus. (Github issue :issue:4764)

    • ๐Ÿ‘ Require the C compiler to support the two-arg form of va_start on Python 3.10 and higher. Patch by Thomas Caswell. (Github issue :issue:4820)

    • ๐Ÿ‘‰ Make fused_type subscriptable in Shadow.py. Patch by Pfebrer. (Github issue :issue:4842)

    • ๐Ÿ›  Fix the incorrect code generation of the target type in bytearray loops. Patch by Kenrick Everett. (Github issue :issue:4108)

    • Atomic refcounts for memoryviews were not used on some GCC versions by accident. Patch by Sam Gross. (Github issue :issue:4915)

    • โš  Silence some GCC -Wconversion warnings in C utility code. Patch by Lisandro Dalcin. (Github issue :issue:4854)

    • Tuple multiplication was ignored in expressions such as [*(1,) * 2]. Patch by David Woods. (Github issue :issue:4864)

    • Calling append methods on extension types could fail to find the method in some cases. Patch by David Woods. (Github issue :issue:4828)

    • Ensure that object buffers (e.g. ndarray[object, ndim=1]) containing NULL pointers are safe to use, returning None instead of the NULL pointer. Patch by Sebastian Berg. (Github issue :issue:4859)

    • ๐Ÿ‘ Using memoryview typed arguments in inner functions is now rejected as unsupported. Patch by David Woods. (Github issue :issue:4798)

    • Compilation could fail on systems (e.g. FIPS) that block MD5 checksums at runtime. (Github issue :issue:4909)

    • Experimental adaptations for the CPython "nogil" fork was added. Note that there is no official support for this in Cython 0.x. Patch by Sam Gross. (Github issue :issue:4912)

    .. _0.29.30: