Commit 6644799d authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.29.x'

parents e4e1aa37 62c79073
...@@ -444,6 +444,16 @@ Other changes ...@@ -444,6 +444,16 @@ Other changes
0.29.20 (2020-0?-??) 0.29.20 (2020-0?-??)
==================== ====================
Features added
--------------
* Added support for Python binary operator semantics.
One can now define, e.g. both ``__add__`` and ``__radd__`` for cdef classes
as for standard Python classes rather than a single ``__add__`` method where
self can be either the first or second argument. This behavior is guarded
by the ``c_api_binop_methods`` directive.
(Github issue #2056)
Bugs fixed Bugs fixed
---------- ----------
...@@ -526,12 +536,6 @@ Bugs fixed ...@@ -526,12 +536,6 @@ Bugs fixed
* The signature of the NumPy C-API function ``PyArray_SearchSorted()`` was fixed. * The signature of the NumPy C-API function ``PyArray_SearchSorted()`` was fixed.
Patch by Brock Mendel. (Github issue #3606) Patch by Brock Mendel. (Github issue #3606)
* Added support for Python binary operator semantics.
One can now define, e.g. both ``__add__`` and ``__radd__`` for cdef classes
as for standard Python classes rather than a single ``__add__`` method where
self can be either the first or second argument. (Github issue #2056)
This behavior is guarded by the c_api_binop_methods directive.
0.29.17 (2020-04-26) 0.29.17 (2020-04-26)
==================== ====================
......
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