pybind/pybind11

There can be only one (enum instance)

Open

#1177 opened on Nov 9, 2017

View on GitHub
 (6 comments) (4 reactions) (0 assignees)C++ (14,677 stars) (2,005 forks)batch import
bugenhancementhelp wanted

Description

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

Contributor guide