Skip to content

Add possibility for extension modules to register specialisations of BINARY_OP #133395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iritkatriel opened this issue May 4, 2025 · 0 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement

Comments

@iritkatriel
Copy link
Member

iritkatriel commented May 4, 2025

Along the lines of the idea presented in faster-cpython/ideas#696, we need a way for extension modules to specialise BINARY_OP instructions with their guard/action functions.

Linked PRs

@picnixz picnixz added type-feature A feature request or enhancement interpreter-core (Objects, Python, Grammar, and Parser dirs) labels May 4, 2025
iritkatriel added a commit that referenced this issue May 5, 2025
iritkatriel added a commit to iritkatriel/cpython that referenced this issue May 6, 2025
…ze BINARY_OP/SUBSCR, apply to arrays (python#133396)"

This reverts commit 082dbf7.
hugovk pushed a commit that referenced this issue May 6, 2025
@iritkatriel iritkatriel closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants