Cython

Latest version: v3.0.11

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 17

0.29.15

====================

Bugs fixed
----------

* Crash when returning a temporary Python object from an async-def function.
(Github issue :issue:`3337`)

* Crash when using ``**kwargs`` in generators.
Patch by David Woods. (Github issue :issue:`3265`)

* Double reference free in ``__class__`` cell handling for ``super()`` calls.
(Github issue :issue:`3246`)

* Compile error when using ``*args`` as Python class bases.
(Github issue :issue:`3338`)

* Import failure in IPython 7.11.
(Github issue :issue:`3297`)

* Fixed C name collision in the auto-pickle code.
Patch by ThePrez. (Github issue :issue:`3238`)

* Deprecated import failed in Python 3.9.
(Github issue :issue:`3266`)

0.29.14

====================

Bugs fixed
----------

* The generated code failed to initialise the ``tp_print`` slot in CPython 3.8.
Patches by Pablo Galindo and Orivej Desh. (Github issues :issue:`3171`, :issue:`3201`)

* ``?`` for ``bool`` was missing from the supported NumPy dtypes.
Patch by Max Klein. (Github issue :issue:`2675`)

* ``await`` was not allowed inside of f-strings.
Patch by Dmitro Getz. (Github issue :issue:`2877`)

* Coverage analysis failed for projects where the code resides in separate
source sub-directories.
Patch by Antonio Valentino. (Github issue :issue:`1985`)

* An incorrect compiler warning was fixed in automatic C++ string conversions.
Patch by Gerion Entrup. (Github issue :issue:`3108`)

* Error reports in the Jupyter notebook showed unhelpful stack traces.
Patch by Matthew Edwards (Github issue :issue:`3196`).

* ``Python.h`` is now also included explicitly from ``public`` header files.
(Github issue :issue:`3133`).

* Distutils builds with ``--parallel`` did not work when using Cython's
deprecated ``build_ext`` command.
Patch by Alphadelta14 (Github issue :issue:`3187`).

Other changes
-------------

* The ``PyMemoryView_*()`` C-API is available in ``cpython.memoryview``.
Patch by Nathan Manville. (Github issue :issue:`2541`)

0.29.13

====================

Bugs fixed
----------

* A reference leak for ``None`` was fixed when converting a memoryview
to a Python object. (Github issue :issue:`3023`)

* The declaration of ``PyGILState_STATE`` in ``cpython.pystate`` was unusable.
Patch by Kirill Smelkov. (Github issue :issue:`2997`)

Other changes
-------------

* The declarations in ``posix.mman`` were extended.
Patches by Kirill Smelkov. (Github issues :issue:`2893`, :issue:`2894`, :issue:`3012`)

0.29.12

====================

Bugs fixed
----------

* Fix compile error in CPython 3.8b2 regarding the ``PyCode_New()`` signature.
(Github issue :issue:`3031`)

* Fix a C compiler warning about a missing ``int`` downcast.
(Github issue :issue:`3028`)

* Fix reported error positions of undefined builtins and constants.
Patch by Orivej Desh. (Github issue :issue:`3030`)

* A 32 bit issue in the Pythran support was resolved.
Patch by Serge Guelton. (Github issue :issue:`3032`)

0.29.11

====================

Bugs fixed
----------

* Fix compile error in CPython 3.8b2 regarding the ``PyCode_New()`` signature.
Patch by Nick Coghlan. (Github issue :issue:`3009`)

* Invalid C code generated for lambda functions in cdef methods.
Patch by Josh Tobin. (Github issue :issue:`2967`)

* Support slice handling in newer Pythran versions.
Patch by Serge Guelton. (Github issue :issue:`2989`)

* A reference leak in power-of-2 calculation was fixed.
Patch by Sebastian Berg. (Github issue :issue:`3022`)

* The search order for include files was changed. Previously it was
``include_directories``, ``Cython/Includes``, ``sys.path``. Now it is
``include_directories``, ``sys.path``, ``Cython/Includes``. This was done to
allow third-party ``*.pxd`` files to override the ones in Cython.
Original patch by Matti Picus. (Github issue :issue:`2905`)

* Setting ``language_level=2`` in a file did not work if ``language_level=3``
was enabled globally before.
Patch by Jeroen Demeyer. (Github issue :issue:`2791`)

0.29.10

====================

Bugs fixed
----------

* Fix compile errors in CPython 3.8b1 due to the new "tp_vectorcall" slots.
(Github issue :issue:`2976`)

Page 7 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.