pybind/pybind11

There can be only one (enum instance)

Open

#1.177 aberto em 9 de nov. de 2017

Ver no GitHub
 (6 comments) (4 reactions) (0 assignees)C++ (2.005 forks)batch import
bugenhancementhelp wanted

Métricas do repositório

Stars
 (14.677 stars)
Métricas de merge de PR
 (Mesclagem média 5d 2h) (10 fundiu PRs em 30d)

Description

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

Guia do colaborador