Skip to content

API: Make weak promotion only trigger for exact types #26852

@seberg

Description

@seberg

Some of the main C code paths, currently also tag subclasses as python int/float/complex literals for NEP 50. We should fix those for 2.1 to align things fully on the "Python literals" side of things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions