Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
975a43a6
Commit
975a43a6
authored
Jun 10, 2020
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify backwards incompatible special method change in changelog.
parent
a4fd9f4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
CHANGES.rst
CHANGES.rst
+6
-5
No files found.
CHANGES.rst
View file @
975a43a6
...
...
@@ -8,11 +8,12 @@ Cython Changelog
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
can
be
disabled
with
the
``
c_api_binop_methods
``
directive
.
*
Special
methods
for
binary
operators
now
follow
Python
semantics
.
Rather
than
e
.
g
.
a
single
``
__add__
``
method
for
cdef
classes
,
where
"self"
can
be
either
the
first
or
second
argument
,
one
can
now
define
both
``
__add__
``
and
``
__radd__
``
as
for
standard
Python
classes
.
This
behavior
can
be
disabled
with
the
``
c_api_binop_methods
``
directive
to
return
to
the
previous
semantics
in
Cython
code
.
(
Github
issue
#
2056
)
*
No
/
single
argument
functions
now
accept
keyword
arguments
by
default
in
order
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment