summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-cython_3.0.8.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-cython: upgrade 3.0.8 -> 3.0.9Wang Mingyu2024-04-121-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== Features added -------------- * Assigning "const" values to non-const variables now issues a warning. * Using "noexcept" on a function returning Python objects now issues a warning. * Some C-API usage was updated for the upcoming CPython 3.13. * The deprecated "Py_UNICODE" type is no longer used, unless required by user code. * "std::string.replace()" declarations were added to libcpp.string. Bugs fixed ---------- * Cython generates incorrect (but harmless) self-casts when directly calling final methods of subtypes. Lacking a better solution, the errors that recent gcc versions produce have been silenced for the time being. * Unused variable warnings about clineno were fixed when C lines in tracebacks are disabled. * Subclass deallocation of extern classes could crash if the base class uses GC. * Type checks for Python "memoryview" could use an invalid C function. * Calling final fused functions could generate invalid C code. * Declaring extern enums multiple times could generate invalid C code. * "pyximport" used relative paths incorrectly. * Running Cython with globbing characters ("[]*?") in the module search path could fail. * 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. (From OE-Core rev: 643916034862320ea0d65399695546b75b3869fd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 3.0.7 -> 3.0.8Wang Mingyu2024-01-191-0/+37
Changelog: ============ * Using "const" together with defined fused types could fail to compile. * A "use after free" bug was fixed in parallel sections. * 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. (From OE-Core rev: bedd518a2a0c2e7085f92c79236b0c0983f3d653) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>