Skip to content

There can be only one (enum instance) #1177

Description

@pschella

Currently enums compare equal with == but not with is.
I think it would be good if enums would be singletons like None instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions