[Python-Dev] enum discussion: can someone please summarize open issues?
barry at python.org
Wed May 1 08:18:43 CEST 2013
On Apr 28, 2013, at 11:50 PM, Ethan Furman wrote:
>But as soon as:
> type(Color.red) is Color # True
> type(MoreColor.red) is MoreColor # True
> Color.red is MoreColor.red # must be False, no?
>If that last statement can still be True, I'd love it if someone showed me
a = object()
b = object()
c = object()
>>> Foo.a is Bar.a
More information about the Python-Dev