2020-05-19 11:21:43 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-cython: updated to 0.29.18
0.29.18
Bugs fixed
* Exception position reporting could run into race conditions on threaded code.
It now uses function-local variables again.
* Error handling early in the module init code could lead to a crash.
* Error handling in ``cython.array`` creation was improved to avoid calling
C-API functions with an error held.
* A memory corruption was fixed when garbage collection was triggered during calls
to ``PyType_Ready()`` of extension type subclasses.
* Memory view slicing generated unused error handling code which could negatively
impact the C compiler optimisations for parallel OpenMP code etc. Also, it is
now helped by static branch hints.
* Cython's built-in OpenMP functions were not translated inside of call arguments.
* Complex buffer item types of structs of arrays could fail to validate.
* Decorators were not allowed on nested `async def` functions.
* C-tuples could use invalid C struct casting.
* Optimised ``%d`` string formatting into f-strings failed on float values.
* Optimised aligned string formatting (``%05s``, ``%-5s``) failed.
* When importing the old Cython ``build_ext`` integration with distutils, the
additional command line arguments leaked into the regular command.
* When using the ``CYTHON_NO_PYINIT_EXPORT`` option in C++, the module init function
was not declared as ``extern "C"``.
* Three missing timedelta access macros were added in ``cpython.datetime``.
|
2020-04-27 09:22:17 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-cython: updated to 0.29.17
0.29.17:
Features added
std::move() is now available from libcpp.utility. Patch by Omer Ozarslan.
The @cython.binding decorator is available in Python code.
Bugs fixed
Creating an empty unicode slice with large bounds could crash. Patch by Sam Sneddon.
Decoding an empty bytes/char* slice with large bounds could crash. Patch by Sam \
Sneddon.
Re-importing a Cython extension no longer raises the error \
"__reduce_cython__ not found".
Unused C-tuples could generate incorrect code in 0.29.16. Patch by Kirk Meyer.
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.
Temporary buffer indexing variables were not released and could show up in C \
compiler warnings, e.g. in generators. Patch by David Woods.
The compilation cache in cython.inline("…") failed to take the \
language level into account. Patch by will-ca.
The deprecated PyUnicode_GET_SIZE() function is no longer used in Py3.
|
2020-04-03 18:19:13 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-cython: updated to 0.29.16
0.29.16:
Bugs fixed
* Temporary internal variables in nested prange loops could leak into other
threads.
* Default arguments on fused functions could crash.
* C-tuples declared in ``.pxd`` files could generate incomplete C code.
* Fused functions were not always detected and optimised as Cython
implemented functions.
* Valid Python object concatenation of (iterable) strings to non-strings
could fail with an exception.
* Using C functions as temporary values lead to invalid C code.
* Fix an unhandled C++ exception in comparisons.
* Fix deprecated import of "imp" module.
* Fix compatibility with Pythran 0.9.6 and later.
* The ``_Py_PyAtExit()`` function in ``cpython.pylifecycle`` was misdeclared.
* Several missing declarations in ``cpython.*`` were added.
* A declaration for ``libc.math.fpclassify()`` was added.
* Avoid "undeclared" warning about automatically generated pickle methods.
* Avoid C compiler warning about unreachable code in ``prange()``.
* Some C compiler warnings in PyPy were resolved.
|
2020-02-18 17:44:22 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-cython: updated to 0.29.15
0.29.15:
* Crash when returning a temporary Python object from an async-def function.
* Crash when using ``**kwargs`` in generators.
* Double reference free in ``__class__`` cell handling for ``super()`` calls.
* Compile error when using ``*args`` as Python class bases.
* Import failure in IPython 7.11.
* Fixed C name collision in the auto-pickle code.
* Deprecated import failed in Python 3.9.
|
2019-12-11 21:20:23 by Adam Ciarcinski | Files touched by this commit (3) |
Log message:
Fix PR 54712; bump revision
|
2019-11-09 22:51:15 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-cython: updated to 0.29.14
0.29.14:
Bugs fixed
* The generated code failed to initialise the ``tp_print`` slot in CPython 3.8.
* ``?`` for ``bool`` was missing from the supported NumPy dtypes.
* ``await`` was not allowed inside of f-strings.
* Coverage analysis failed for projects where the code resides in separate
source sub-directories.
* An incorrect compiler warning was fixed in automatic C++ string conversions.
* Error reports in the Jupyter notebook showed unhelpful stack traces.
* ``Python.h`` is now also included explicitly from ``public`` header files.
* Distutils builds with ``--parallel`` did not work when using Cython's
deprecated ``build_ext`` command.
Other changes
* The ``PyMemoryView_*()`` C-API is available in ``cpython.memoryview``.
|
2019-08-05 21:25:03 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-cython: updated to 0.29.23
0.29.13:
Bugs fixed
* A reference leak for None was fixed when converting a memoryview
to a Python object.
* The declaration of PyGILState_STATE in cpython.pystate was unusable.
|
2019-07-08 09:43:55 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-cython: updated to 0.29.12
0.29.12:
Bugs fixed
* Fix compile error in CPython 3.8b2 regarding the PyCode_New() signature.
* Fix a C compiler warning about a missing int downcast.
* Fix reported error positions of undefined builtins and constants.
* A 32 bit issue in the Pythran support was resolved.
|
2019-07-02 14:10:59 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-cython: updated to 0.29.11
0.29.11:
Bugs fixed
* Fix compile error in CPython 3.8b2.
* Invalid C code generated for lambda functions in cdef methods.
* Support slice handling in newer Pythran versions.
* A reference leak in power-of-2 calculation was fixed.
* The search order for include files was changed. Previously it was
include_directories, Cython/Includes, sys.path. Now it is
include_directories, sys.path, Cython/Includes. This was done to
allow third-party *.pxd files to override the ones in Cython.
Original patch by Matti Picus.
* Setting language_level=2 in a file did not work if language_level=3
was enabled globally before.
|
2019-06-03 10:41:06 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-cython: updated to 0.29.10
0.29.10:
Bugs fixed
* Fix compile errors in CPython 3.8b1 due to the new "tp_vectorcall" slots.
|