Commit e8540c18 authored by Stefan Behnel's avatar Stefan Behnel

Update changelog.

parent 8795ba70
...@@ -12,7 +12,16 @@ Features added ...@@ -12,7 +12,16 @@ Features added
Patch by Jeroen Demeyer. (Github issue #2263) Patch by Jeroen Demeyer. (Github issue #2263)
* Unicode identifiers are supported in Cython code (PEP 3131). * Unicode identifiers are supported in Cython code (PEP 3131).
Patch by da-woods. (Github issue #2601) Patch by David Woods. (Github issue #2601)
* Unicode module names and imports are supported.
Patch by David Woods. (Github issue #3119)
* Annotations are no longer parsed, keeping them as strings following PEP-563.
Patch by David Woods. (Github issue #3285)
* The ``LIMITED_API`` is supported by setting the ``CYTHON_LIMITED_API`` C macro.
Patches by Eddie Elizondo. (Github issue #3223, #3311)
* ``with gil/nogil`` statements can be conditional based on compile-time * ``with gil/nogil`` statements can be conditional based on compile-time
constants, e.g. fused type checks. constants, e.g. fused type checks.
...@@ -34,7 +43,7 @@ Features added ...@@ -34,7 +43,7 @@ Features added
CPython trashcan. This allows deallocating deeply recursive objects without CPython trashcan. This allows deallocating deeply recursive objects without
overflowing the stack. Patch by Jeroen Demeyer. (Github issue #2842) overflowing the stack. Patch by Jeroen Demeyer. (Github issue #2842)
* Properties can be defined for external extension types. * Inlined properties can be defined for external extension types.
Patch by Matti Picus. (Github issue #2640) Patch by Matti Picus. (Github issue #2640)
* Multiplication of Python numbers with small constant integers is faster. * Multiplication of Python numbers with small constant integers is faster.
...@@ -49,8 +58,13 @@ Features added ...@@ -49,8 +58,13 @@ Features added
generators and coroutines now return an actual frame object for introspection. generators and coroutines now return an actual frame object for introspection.
(Github issue #2306) (Github issue #2306)
* Several missing declarations in ``cpython.*`` were added. * Several declarations in ``cpython.*``, ``libc.*`` and ``libcpp.*`` were added.
Patches by Jeroen Demeyer and Zackery Spytz. (Github issues #2826, #2713) Patches by Jeroen Demeyer, Matthew Edwards, Chris Gyurgyik, Jerome Kieffer,
Omer Ozarslan and Zackery Spytz.
(Github issues #3358, #3332, #3179, #2891, #2826, #2713)
* Deprecated NumPy API usages were removed from ``numpy.pxd``.
Patch by Matti Picus. (Github issue #3365)
* The builtin ``abs()`` function can now be used on C numbers in nogil code. * The builtin ``abs()`` function can now be used on C numbers in nogil code.
Patch by Elliott Sales de Andrade. (Github issue #2748) Patch by Elliott Sales de Andrade. (Github issue #2748)
...@@ -68,6 +82,9 @@ Features added ...@@ -68,6 +82,9 @@ Features added
* ``--no-docstrings`` option added to ``cythonize`` script. * ``--no-docstrings`` option added to ``cythonize`` script.
Original patch by mo-han. (Github issue #2889) Original patch by mo-han. (Github issue #2889)
* The Pythran ``shape`` attribute is supported.
Patch by Serge Guelton. (Github issue #3307)
* The ``@cython.binding`` decorator is available in Python code. * The ``@cython.binding`` decorator is available in Python code.
Bugs fixed Bugs fixed
...@@ -78,6 +95,10 @@ Bugs fixed ...@@ -78,6 +95,10 @@ Bugs fixed
the first character if multiple characters should have been returned. the first character if multiple characters should have been returned.
They now use the original Python methods again. They now use the original Python methods again.
* Fused argument types were not correctly handled in type annotations and
``cython.locals()``.
Patch by David Woods. (Github issue #3391)
* Diverging from the usual behaviour, ``len(memoryview)``, ``len(char*)`` * Diverging from the usual behaviour, ``len(memoryview)``, ``len(char*)``
and ``len(Py_UNICODE*)`` returned an unsigned ``size_t`` value. They now and ``len(Py_UNICODE*)`` returned an unsigned ``size_t`` value. They now
return a signed ``Py_ssize_t``, like other usages of ``len()``. return a signed ``Py_ssize_t``, like other usages of ``len()``.
...@@ -1312,7 +1333,7 @@ Features added ...@@ -1312,7 +1333,7 @@ Features added
Patch by Syrtis Major (Github issue #1625). Patch by Syrtis Major (Github issue #1625).
* ``abs()`` is optimised for C complex numbers. * ``abs()`` is optimised for C complex numbers.
Patch by da-woods (Github issue #1648). Patch by David Woods (Github issue #1648).
* The display of C lines in Cython tracebacks can now be enabled at runtime * The display of C lines in Cython tracebacks can now be enabled at runtime
via ``import cython_runtime; cython_runtime.cline_in_traceback=True``. via ``import cython_runtime; cython_runtime.cline_in_traceback=True``.
...@@ -1441,7 +1462,7 @@ Features added ...@@ -1441,7 +1462,7 @@ Features added
Patch by Claudio Freire. Patch by Claudio Freire.
* Buffer variables are no longer excluded from ``locals()``. * Buffer variables are no longer excluded from ``locals()``.
Patch by da-woods. Patch by David Woods.
* Building f-strings is faster, especially when formatting C integers. * Building f-strings is faster, especially when formatting C integers.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment