pybind/pybind11

There can be only one (enum instance)

Open

#1,177 opened on 2017年11月9日

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

説明

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

コントリビューターガイド