Skip to content

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

Closed

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.

Activity

  1. added this to the 2.1.0 release milestone on Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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