Skip to content

Conversation

@da-woods
Copy link
Contributor

@da-woods da-woods commented Nov 25, 2023

This means that the user-provided version can be looked up by e.g. self.__add__ skipping the Cython-generated dispatch wrapper and matching python semantics.

Fixes #5863

This means that the user-provided version can be looked up
by e.g. self.__add__ skipping the Cython-generated dispatch
wrapper and matching python semantics.

Fixes cython#5863
@da-woods da-woods added defect Python Semantics General Python (3) language semantics labels Nov 25, 2023
@da-woods da-woods added this to the 3.0.x milestone Nov 25, 2023
@da-woods
Copy link
Contributor Author

I'd like to get this merged for the next 3.0.x release - I think it does improve the usability of the new binops. (So I'll merge it in a week or so unless there's any objections)

@da-woods
Copy link
Contributor Author

da-woods commented Apr 7, 2024

I'd like to get this merged for the next 3.0.x release - I think it does improve the usability of the new binops. (So I'll merge it in a week or so unless there's any objections)

Changed my mind on 3.0.x - I'm merging it into 3.1 instead.

@da-woods da-woods modified the milestones: 3.0.x, 3.1 Apr 7, 2024
@da-woods da-woods merged commit 085ffdf into cython:master Apr 7, 2024
@da-woods da-woods deleted the lookup-binops-via-coexist branch April 7, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

defect Python Semantics General Python (3) language semantics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Infinite recursion in binops

1 participant