PyShortTextCategorization
PyShortTextCategorization copied to clipboard
Update cython to 3.0.9
This PR updates Cython from 3.0.7 to 3.0.9.
Changelog
3.0.9
==================
Features added
--------------
* Assigning ``const`` values to non-const variables now issues a warning.
(Github issue :issue:`5639`)
* Using ``noexcept`` on a function returning Python objects now issues a warning.
(Github issue :issue:`5661`)
* Some C-API usage was updated for the upcoming CPython 3.13.
Patches by Victor Stinner et al. (Github issues :issue:`6003`, :issue:`6020`)
* The deprecated ``Py_UNICODE`` type is no longer used, unless required by user code.
(Github issue :issue:`5982`)
* ``std::string.replace()`` declarations were added to libcpp.string.
Patch by Kieran Geary. (Github issue :issue:`6037`)
Bugs fixed
----------
* Unused variable warnings about clineno were fixed.
* Subclass deallocation of extern classes could crash if the base class uses GC.
Original patch by Jason Fried. (Github issue :issue:`5971`)
* Type checks for Python ``memoryview`` could use an invalid C function.
Patch by Xenia Lu. (Github issue :issue:`5988`)
* Calling final fused functions could generate invalid C code.
(Github issue :issue:`5989`)
* Declaring extern enums multiple times could generate invalid C code.
(Github issue :issue:`5905`)
* ``pyximport`` used relative paths incorrectly.
Patch by Stefano Rivera. (Github issue :issue:`5957`)
* Running Cython with globbing characters (``[]*?``) in the module search path could fail.
Patch by eewanco. (Github issue :issue:`5942`)
* Literal strings that include braces could change the C code indentation.
Other changes
-------------
* The "enum class not importable" warning is now only issued once per enum type.
(Github issue :issue:`5941`)
3.0.8
==================
Bugs fixed
----------
* Using ``const`` together with defined fused types could fail to compile.
(Github issue :issue:`5230`)
* A "use after free" bug was fixed in parallel sections.
(Github issue :issue:`5922`)
* Several types were not available as ``cython.*`` types in pure Python code.
* The generated code is now correct C89 again, removing some C++ style ``//`` comments
and C99-style declaration-after-code code ordering. This is still relevant for some
ols C compilers, specifically ones that match old Python 2.7 installations.
Links
- PyPI: https://pypi.org/project/cython
- Changelog: https://data.safetycli.com/changelogs/cython/
- Homepage: https://cython.org/