Cython-plus

Latest version: v0.3.0

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

Scan your dependencies

Page 2 of 13

0.29.17

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

Features added
--------------

* ``std::move()`` is now available from ``libcpp.utility``.
Patch by Omer Ozarslan. (Github issue 2169)

* The ``cython.binding`` decorator is available in Python code.
(Github issue 3505)

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

* Creating an empty unicode slice with large bounds could crash.
Patch by Sam Sneddon. (Github issue 3531)

* Decoding an empty bytes/char* slice with large bounds could crash.
Patch by Sam Sneddon. (Github issue 3534)

* Re-importing a Cython extension no longer raises the error
"``__reduce_cython__ not found``".
(Github issue 3545)

* Unused C-tuples could generate incorrect code in 0.29.16.
Patch by Kirk Meyer. (Github issue 3543)

* Creating a fused function attached it to the garbage collector before it
was fully initialised, thus risking crashes in rare failure cases.
Original patch by achernomorov. (Github issue 3215)

* Temporary buffer indexing variables were not released and could show up in
C compiler warnings, e.g. in generators.
Patch by David Woods. (Github issues 3430, 3522)

* The compilation cache in ``cython.inline("…")`` failed to take the language
level into account.
Patch by will-ca. (Github issue 3419)

* The deprecated ``PyUnicode_GET_SIZE()`` function is no longer used in Py3.

0.29.16

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

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

* Temporary internal variables in nested prange loops could leak into other
threads. Patch by Frank Schlimbach. (Github issue 3348)

* Default arguments on fused functions could crash.
Patch by David Woods. (Github issue 3370)

* C-tuples declared in ``.pxd`` files could generate incomplete C code.
Patch by Kirk Meyer. (Github issue 1427)

* Fused functions were not always detected and optimised as Cython
implemented functions.
Patch by David Woods. (Github issue 3384)

* Valid Python object concatenation of (iterable) strings to non-strings
could fail with an exception.
Patch by David Woods. (Github issue 3433)

* Using C functions as temporary values lead to invalid C code.
Original patch by David Woods. (Github issue 3418)

* Fix an unhandled C++ exception in comparisons.
Patch by David Woods. (Github issue 3361)

* Fix deprecated import of "imp" module.
Patch by Matti Picus. (Github issue 3350)

* Fix compatibility with Pythran 0.9.6 and later.
Patch by Serge Guelton. (Github issue 3308)

* The ``_Py_PyAtExit()`` function in ``cpython.pylifecycle`` was misdeclared.
Patch by Zackery Spytz. (Github issue 3382)

* Several missing declarations in ``cpython.*`` were added.
Patches by Zackery Spytz. (Github issue 3452, 3421, 3411, 3402)

* A declaration for ``libc.math.fpclassify()`` was added.
Patch by Zackery Spytz. (Github issue 2514)

* Avoid "undeclared" warning about automatically generated pickle methods.
Patch by David Woods. (Github issue 3353)

* Avoid C compiler warning about unreachable code in ``prange()``.

* Some C compiler warnings in PyPy were resolved.
Patch by Matti Picus. (Github issue 3437)

0.29.15

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

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

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

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

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

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

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

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

* Deprecated import failed in Python 3.9.
(Github 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 3171, 3201)

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

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

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

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

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

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

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

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

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

0.29.13

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

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

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

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

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

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

0.29.12

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

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

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

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

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

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

Page 2 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.