[Python-ideas] Enums

Barry Warsaw barry at python.org
Mon Jul 25 19:36:48 CEST 2011


On Jul 25, 2011, at 06:06 PM, Michael Foord wrote:

>Here's an email from Guido from that thread putting his vote in for enums
>*as* integers:
>
>http://mail.python.org/pipermail/python-dev/2010-November/105916.html

Okay, there is that. :)

It might be worth doing an example conversion to see what it looks like both
with enum values as ints and not as ints, to see if it really makes much of a
practical difference.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110725/02170cf0/attachment.pgp>


More information about the Python-ideas mailing list