On Friday, February 22, 2013 4:41:00 PM UTC-8, stoneleaf wrote:
I'm inclined to leave the problem as is, though, unless somebody has a use case where they are using two different
enum classes in a single dictionary?

I'll admit the behavior in this case is a little unconventional, but to be honest I think it's something that most people would find made a reasonable amount of sense if they stopped and thought about it for a minute, so I don't think it's that horrible (and seems like it'd be pretty rare anyway)..

In my opinion it's far less disturbing than some of the behavior we already have in the language for certain types of keys:

>>> x = {True: 'foo', 1: 'bar'}
>>> x
{True: 'bar'}

--Alex