Changelog for
python311-Cython0-0.29.37-2.7.x86_64.rpm :
* Sun Feb 04 2024 Frank Schreiner
- update to version 0.29.37
* Fix a potential crash while cleaning up subtypes of externally imported extension types when terminating Python. This was introduced in Cython 0.29.35.
* Fix a ``complex`` related compile error on Windows. (Github issue :issue:`5512`)
* Compiling fused types used in pxd files could crash Cython in Python 3.11+. (Github issues :issue:`5894`, :issue:`5588`)
* ``cythonize`` failed to consider the ``CYTHON_FORCE_REGEN`` env variable. Patch by Harmen Stoppels. (Github issue :issue:`5712`)
* Tue Jan 02 2024 Dirk Müller - require setuptools
* Mon Jul 10 2023 Matej Cepl - Clean up SPEC file.
* Sat Jul 08 2023 Arun Persaud - update to version 0.29.36:
* Async generators lost their return value in PyPy. (Github issue :issue:`5465`)
* The outdated C macro _PyGC_FINALIZED() is no longer used in Py3.9+.
* The deprecated Py_OptimizeFlag is no longer used in Python 3.9+. (Github issue :issue:`5343`)
* Using the global __debug__ variable but not assertions could lead to compile errors.
* The broken HTML template support was removed from Tempita. (Github issue :issue:`3309`)
* Sat May 27 2023 Dirk Müller - update to 0.29.35:
* A garbage collection enabled subtype of a non-GC extension type could call into the deallocation function of the super type with GC tracking enabled. This could lead to crashes during deallocation if GC was triggered on the type at the same time.
* Some C compile failures and crashes in CPython 3.12 were resolved.
* ``except + nogil`` was syntactically not allowed.
* ``except +nogil`` (i.e. defining a C++ exception handling function called ``nogil``) is now disallowed to prevent typos.
* A C compile failure in PyPy 3.10 was resolved.
* Cython modules now use PEP-489 multi-phase init by default in PyPy 3.9 and later.
* API header files generated by different Cython versions can now be included in the same C file.
* Function signatures containing a type like `tuple[()]` could not be printed.
* Fri Apr 21 2023 Dirk Müller - add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl - Make calling of %{sle15modernpython} optional.
* Mon Apr 03 2023 Dirk Müller - update to 0.29.34:
* A refence leak of the for-loop list/tuple iterable was resolved if the for-loop\'s ``else:`` branch executes a ``break`` for an outer loop.
* Some C compile failures in CPython 3.12 were resolved.
* Some old usages of the deprecated Python ``imp`` module were replaced with ``importlib``.
* Patch by Matúš Valo. (Github issue :issue:`5300`)
* Some issues with ``depfile`` generation were resolved.
* Patches by Eli Schwartz. (Github issues :issue:`5279`, :issue:`5291`)
* Sat Jan 07 2023 Dirk Müller - update to 0.29.33:
* The ``cythonize`` and ``cython`` commands have a new option ``-M`` / ``--depfile`` to generate ``.dep`` dependency files for the compilation unit. This can be used by external build tools to track these dependencies.
* ``const`` fused types could not be used with memory views.
* ``wstr`` usage was removed in Python 3.12 and later (PEP-623).
* A type check assertion for Cython functions failed in debug Python builds.
* Fixed various compiler warnings.
* Fixed error when calculating complex powers of negative numbers.
* Corrected a small mis-formatting of exception messages on Python 2.
* The ``PyUnicode_AsUTF8AndSize()`` C-API function was missing from the CPython declarations.
* A performance problem in the compiler was resolved when nesting conditional expressions.
* Test suite problems with recent NumPy and CPython versions were resolved.
* Other changes
* The undocumented, untested and apparently useless syntax ``from somemodule cimport class/struct/union somename`` was deprecated in anticipation of its removal in Cython 3. The type modifier is not needed here and a plain ``cimport`` of the name will do.
* Properly disable generation of descriptor docstrings on PyPy since they cause crashes. It was previously disabled, but only accidentally via a typo.
* The ``cpow`` directive of Cython 3.0 is available as a no-op.
* Wed Oct 26 2022 Steve Kowalik - Remove leftover Python 2 gubbins.- Stop using handrolled macros for install and update-alternatives, switch to the provided ones.- Update package names in rpmlintrc.
* Tue Aug 02 2022 Otto Hollmann - Update to 0.29.32: - Bugs fixed:
* Revert \"Using memoryview typed arguments in inner functions is now rejected as unsupported.\"
* from module import
* failed in 0.29.31 when using memoryviews- Changes from 0.29.31: - Features added:
* A new argument --module-name was added to the cython command to provide the (one) exact target module name from the command line. - Bugs fixed:
* Use importlib.util.find_spec() instead of the deprecated importlib.find_loader() function when setting up the package path at import-time.
* Require the C compiler to support the two-arg form of va_start on Python 3.10 and higher.
* Make fused_type subscriptable in Shadow.py.
* Fix the incorrect code generation of the target type in bytearray loops.
* Atomic refcounts for memoryviews were not used on some GCC versions by accident.
* Silence some GCC -Wconversion warnings in C utility code.
* Tuple multiplication was ignored in expressions such as [
*(1,)
* 2].
* Calling append methods on extension types could fail to find the method in some cases.
* Ensure that object buffers (e.g. ndarray[object, ndim=1]) containing NULL pointers are safe to use, returning None instead of the NULL pointer.
* Using memoryview typed arguments in inner functions is now rejected as unsupported.
* Compilation could fail on systems (e.g. FIPS) that block MD5 checksums at runtime.
* Experimental adaptations for the CPython \"nogil\" fork was added. Note that there is no official support for this in Cython 0.x.
* Wed May 18 2022 Paolo Stivanin - update to 0.29.30:
* Avoid acquiring the GIL at the end of nogil functions. This change was backported in order to avoid generating wrong C code that would trigger C compiler warnings with tracing support enabled.
* Function definitions in finally: clauses were not correctly generated.
* A case where C-API functions could be called with a live exception set was fixed.
* Cython now correctly generates Python methods for both the provided regular and reversed special numeric methods of extension types.
* The C union type in pure Python mode mishandled some field names.
* Sun Mar 20 2022 Dirk Müller - update to 0.29.28:
* Due to backwards incompatible changes in CPython 3.11a4, the feature flags ``CYTHON_FAST_THREAD_STATE`` and ``CYTHON_USE_EXC_INFO_STACK`` are now disabled in Python 3.11 and later. They are enabled again in Cython 3.0. Patch by David Woods. (Github issue #4610)
* A C compiler warning in older PyPy versions was resolved. Patch by Matti Picus. (Github issue #4236)
* Wed Feb 02 2022 Matej Cepl - Make the running the test suite conditional (default off). Seven hours of running it is just too much.
* Mon Jan 31 2022 Matej Cepl - Enable running of the test suite.
* Mon Jan 31 2022 Paolo Stivanin - update to 0.29.27:
* The ``cythonize`` command has a new option ``-M`` to generate ``.dep`` dependency files for the compilation unit. This can be used by external build tools to track these dependencies.
* Calls to ``range()`` with more than three arguments did not fail.
* Some C compiler warnings about missing type struct initialisers in Py3.10 were resolved.
* Cython no longer warns about using OpenMP 3.0 features since they are now considered generally available.
* Tue Jan 04 2022 Dirk Müller - update to 0.29.26:
* An incompatibility with CPython 3.11.0a3 was resolved.
* The ``in`` operator failed on literal lists with starred expressions.
* A C compiler warning in PyPy about a missing struct field initialisation was resolved.
* Mon Dec 06 2021 Dirk Müller - update to 0.29.25:
* Several incompatibilities with CPython 3.11 were resolved.
* Some C compiler warnings were resolved.
* C++ ``std::move()`` should only be used automatically in MSVC versions that support it.
* The ``Py_hash_t`` type failed to accept arbitrary \"index\" values.
* Avoid copying unaligned 16-bit values since some platforms require them to be aligned. Use memcpy() instead to let the C compiler decide how to do it.
* Cython crashed on invalid truthiness tests on C++ types without ``operator bool``.
* The declaration of ``PyUnicode_CompareWithASCIIString()`` in ``cpython.unicode`` was incorrect.
* Wed Jul 14 2021 Paolo Stivanin - Update to 0.29.24:
* Inline functions in pxd files that used memory views could lead to invalid C code if the module that imported from them does not use memory views.
* Several declarations in ``libcpp.string`` were added and corrected.
* Pickling unbound Cython compiled methods failed.
* The tracing code was adapted to work with CPython 3.10.
* The optimised ``in`` operator failed on unicode strings in Py3.9 and later that were constructed from an external ``wchar_t`` source. Also, related C compiler warnings about deprecated C-API usage were resolved.
* Some compiler crashes were resolved.
* An incorrect warning about \'unused\' generator expressions was removed.
* The attributes ``gen.gi_frame`` and ``coro.cr_frame`` of Cython compiled generators and coroutines now return an actual frame object for introspection, instead of ``None``.- Drop cython_use_imgmath.patch
* Wed Apr 21 2021 Dirk Müller - update to 0.29.23:
* Some problems with Python 3.10 were resolved. Patches by Victor Stinner and David Woods. (Github issues #4046, #4100)
* An incorrect \"optimisation\" was removed that allowed changes to a keyword dict to leak into keyword arguments passed into a function. Patch by Peng Weikang. (Github issue #3227)
* Multiplied str constants could end up as bytes constants with language_level=2. Patch by Alphadelta14 and David Woods. (Github issue #3951)
* ``PY_SSIZE_T_CLEAN`` does not get defined any more if it is already defined. Patch by Andrew Jones. (Github issue #4104)
* Tue Feb 23 2021 Paolo Stivanin - Update to 0.29.22
* Some declarations were added to the provided pxd includes. Patches by Zackery Spytz and John Kirkham. (Github issues #3811, #3882, #3899, #3901)
* A crash when calling certain functions in Py3.9 and later was resolved. (Github issue #3917)
* ``const`` memory views of structs failed to compile. (Github issue #2251)
* ``const`` template declarations could not be nested. Patch by Ashwin Srinath. (Github issue #1355)
* The declarations in the ``cpython.pycapsule`` module were missing their ``const`` modifiers and generated incorrect C code. Patch by Warren Weckesser. (Github issue #3964)
* Casts to memory views failed for fused dtypes. Patch by David Woods. (Github issue #3881)
* ``repr()`` was assumed to return ``str`` instead of ``unicode`` with ``language_level=3``
* Calling ``cpdef`` functions from cimported modules crashed the compiler. Patch by David Woods. (Github issue #4000)
* Cython no longer validates the ABI size of the NumPy classes it compiled against.
* A C compiler warning about enum value casting was resolved in GCC. (Github issue #2749)
* Coverage reporting in the annotated HTML file failed in Py3.9. Patch by Nick Pope. (Github issue #3865)
* The embedding code now reports Python errors as exit status.
* Long type declarations could lead to (harmless) random changes in the C file when used in auto-generated Python wrappers or pickled classes.