Content-Length: 221901 | pFad | http://github.com/RustPython/RustPython/issues/5726

A6 PyNumber protocol does not check for implementations in base classes · Issue #5726 · RustPython/RustPython · GitHub
Skip to content

PyNumber protocol does not check for implementations in base classes #5726

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

Open
arihant2math opened this issue Apr 21, 2025 · 0 comments
Open
Labels
C-bug Something isn't working C-compat A discrepancy between RustPython and CPython

Comments

@arihant2math
Copy link
Collaborator

arihant2math commented Apr 21, 2025

PySequence and others do this, but PyNumber does not. This leads to #5711 and ctypes data multiplication not working.

I haven't checked if cpython just expects slots to be inherited or does this.

@arihant2math arihant2math added C-bug Something isn't working C-compat A discrepancy between RustPython and CPython labels Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Something isn't working C-compat A discrepancy between RustPython and CPython
Projects
None yet
Development

No branches or pull requests

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/RustPython/RustPython/issues/5726

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy