On Tue, 23 Apr 2013 08:11:06 -0700, Guido van Rossum <gu...@python.org> wrote:
> I gotta say, I'm with Antoine here. It's pretty natural (also coming
> from other languages) to assume that the class used to define the
> enums is also the type of the enum values. Certainly this is how it
> works in Java and C++, and I would say it's the same in Pascal and
> probably most other languages.

Well, I guess I can wrap my head around it :)  An Enum is an odd duck
anyway, which I suppose is one of the things that makes it worth adding.

--David
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to