Cython

Latest version: v3.0.11

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

Scan your dependencies

Page 8 of 17

0.29.9

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

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

* Fix a crash regression in 0.29.8 when creating code objects fails.

* Remove an incorrect cast when using true-division in C++ operations.
(Github issue :issue:`1950`)

0.29.8

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

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

* C compile errors with CPython 3.8 were resolved.
Patch by Marcel Plch. (Github issue :issue:`2938`)

* Python tuple constants that compare equal but have different item
types could incorrectly be merged into a single constant.
(Github issue :issue:`2919`)

* Non-ASCII characters in unprefixed strings could crash the compiler when
used with language level ``3str``.

* Starred expressions in %-formatting tuples could fail to compile for
unicode strings. (Github issue :issue:`2939`)

* Passing Python class references through ``cython.inline()`` was broken.
(Github issue :issue:`2936`)

0.29.7

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

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

* Crash when the shared Cython config module gets unloaded and another Cython
module reports an exceptions. Cython now makes sure it keeps an owned reference
to the module.
(Github issue :issue:`2885`)

* Resolved a C89 compilation problem when enabling the fast-gil sharing feature.

* Coverage reporting did not include the signature line of ``cdef`` functions.
(Github issue :issue:`1461`)

* Casting a GIL-requiring function into a nogil function now issues a warning.
(Github issue :issue:`2879`)

* Generators and coroutines were missing their return type annotation.
(Github issue :issue:`2884`)

0.29.6

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

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

* Fix a crash when accessing the ``__kwdefaults__`` special attribute of
fused functions. (Github issue :issue:`1470`)

* Fix the parsing of buffer format strings that contain numeric sizes, which
could lead to incorrect input rejections. (Github issue :issue:`2845`)

* Avoid a C pragma in old gcc versions that was only added in GCC 4.6.
Patch by Michael Anselmi. (Github issue :issue:`2838`)

* Auto-encoding of Unicode strings to UTF-8 C/C++ strings failed in Python 3,
even though the default encoding there is UTF-8.
(Github issue :issue:`2819`)

0.29.5

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

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

* Crash when defining a Python subclass of an extension type and repeatedly calling
a cpdef method on it. (Github issue :issue:`2823`)

* Compiler crash when ``prange()`` loops appear inside of with-statements.
(Github issue :issue:`2780`)

* Some C compiler warnings were resolved.
Patches by Christoph Gohlke. (Github issues :issue:`2815`, :issue:`2816`, :issue:`2817`, :issue:`2822`)

* Python conversion of C++ enums failed in 0.29.
Patch by Orivej Desh. (Github issue :issue:`2767`)

0.29.4

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

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

* Division of numeric constants by a runtime value of 0 could fail to raise a
``ZeroDivisionError``. (Github issue :issue:`2820`)

Page 8 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.