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 thecython
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 deprecatedimportlib.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]
) containingNULL
pointers are safe to use, returningNone
instead of theNULL
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:
- A new argument