Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
In-place arithmetic operators of memoryviews behave differently from those of ndarrays #3403
With Cython 29.2 (from Debian stable) the statement
i.e. a new object is created and assigned to the name
If this behavior is by design, I believe it should be documented (I could not find anything).
The following script demonstrates the issue. Note that replacing
I get the following output