summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2022-07-31 07:15:46 +0200
committerStefan Behnel <stefan_ml@behnel.de>2022-07-31 07:15:46 +0200
commitcfe1a4eb374c529e946b7684dbfd81a25fbc7eae (patch)
treeeff0761e9abe103c806ef27ac55fae8dfd8f99c6
parent66534408d3d8d6132e5b4e4061481661ba2d190e (diff)
downloadcython-cfe1a4eb374c529e946b7684dbfd81a25fbc7eae.tar.gz
Update changelog.
-rw-r--r--CHANGES.rst47
1 files changed, 40 insertions, 7 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 90e7de05b..83fef5e57 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -17,22 +17,36 @@ Features added
``:=``) were implemented.
Patch by David Woods. (Github issue :issue:`2636`)
+* Context managers can be written in parentheses.
+ Patch by David Woods. (Github issue :issue:`4814`)
+
* Cython avoids raising ``StopIteration`` in ``__next__`` methods when possible.
Patch by David Woods. (Github issue :issue:`3447`)
-* Some C++ library declarations were extended and fixed.
+* Some C++ and CPython library declarations were extended and fixed.
Patches by Max Bachmann, Till Hoffmann, Julien Jerphanion, Wenjun Si.
(Github issues :issue:`4530`, :issue:`4528`, :issue:`4710`, :issue:`4746`,
- :issue:`4751`, :issue:`4818`, :issue:`4762`)
+ :issue:`4751`, :issue:`4818`, :issue:`4762`, :issue:`4910`)
-* 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. Already available in Cython :ref:`0.29.27`.
- Patch by Evgeni Burovski. (Github issue :issue:`1214`)
+* 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.
+ The ``cythonize`` option was already available in Cython :ref:`0.29.27`.
+ Patches by Evgeni Burovski and Eli Schwartz. (Github issue :issue:`1214`)
* ``cythonize()`` and the corresponding CLI command now regenerate the output files
also when they already exist but were generated by a different Cython version.
+* Memory views and the internal Cython array type now identify as ``collections.abc.Sequence``.
+ Patch by David Woods. (Github issue :issue:`4817`)
+
+* Cython generators and coroutines now identify as ``CO_ASYNC_GENERATOR``,
+ ``CO_COROUTINE`` and ``CO_GENERATOR`` accordingly.
+ (Github issue :issue:`4902`)
+
+* Memory views can use atomic CPU instructions instead of locks in more cases.
+ Patch by Sam Gross. (Github issue :issue:`4912`)
+
* The environment variable ``CYTHON_FORCE_REGEN=1`` can be used to force ``cythonize``
to regenerate the output files regardless of modification times and changes.
@@ -53,9 +67,16 @@ Bugs fixed
* Exceptions within for-loops that run over memoryviews could lead to a ref-counting error.
Patch by David Woods. (Github issue :issue:`4662`)
+* Using memoryview arguments in closures of inner functions could lead to ref-counting errors.
+ Patch by David Woods. (Github issue :issue:`4798`)
+
* Several optimised string methods failed to accept ``None`` as arguments to their options.
Test patch by Kirill Smelkov. (Github issue :issue:`4737`)
+* A regression in 3.0.0a10 was resolved that prevented property setter methods from
+ having the same name as their value argument.
+ Patch by David Woods. (Github issue :issue:`4836`)
+
* Typedefs for the ``bint`` type did not always behave like ``bint``.
Patch by Nathan Manville and 0dminnimda. (Github issue :issue:`4660`)
@@ -70,6 +91,9 @@ Bugs fixed
* ``pyximport`` no longer uses the deprecated ``imp`` module.
Patch by Matus Valo. (Github issue :issue:`4560`)
+* ``pyximport`` failed for long filenames on Windows.
+ Patch by Matti Picus. (Github issue :issue:`4630`)
+
* The generated C code failed to compile in CPython 3.11a4 and later.
(Github issue :issue:`4500`)
@@ -85,6 +109,14 @@ Bugs fixed
compatible exception specifications. Patches by David Woods.
(Github issues :issue:`4770`, :issue:`4689`)
+* The runtime size check for imported ``PyVarObject`` types was improved
+ to reduce false positives and adapt to Python 3.11.
+ Patch by David Woods. (Github issues :issue:`4827`, :issue:`4894`)
+
+* The generated modules no longer import NumPy internally when using
+ fused types but no memoryviews.
+ Patch by David Woods. (Github issue :issue:`4935`)
+
* Improve compatibility with forthcoming CPython 3.12 release.
* Limited API C preprocessor warning is compatible with MSVC. Patch by
@@ -96,7 +128,8 @@ Bugs fixed
* The parser allowed some invalid spellings of ``...``.
Patch by 0dminnimda. (Github issue :issue:`4868`)
-* Includes all bug-fixes from the 0.29 branch up to the :ref:`0.29.31` release.
+* Includes all bug-fixes and features from the 0.29 maintenance branch
+ up to the :ref:`0.29.32` release.
Other changes
-------------