Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Open
@arihant2math

Description

@arihant2math

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugSomething isn't workingC-compatA discrepancy between RustPython and CPython

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions