This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients barry, eli.bendersky, ethan.furman, ncoghlan, pitrou
Date 2013-06-19.13:31:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20130619093123.2adae1c1@anarchist>
In-reply-to <>
On Jun 19, 2013, at 01:00 PM, Eli Bendersky wrote:

>What is the theoretical problem here? I though that it's an explicit design
>goal of enums? Which RED - Color.RED, or MeatReadiness.RED? For sockets:
>>>> class SocketType(IntEnum):
>...   SOCK_STREAM = 1
>...   SOCK_DGRAM = 2
>>>> str(SocketType.SOCK_STREAM)
>Looks pretty good to me in terms of debuggability.

Me too.
Date User Action Args
2013-06-19 13:31:29barrysetrecipients: + barry, ncoghlan, pitrou, eli.bendersky, ethan.furman
2013-06-19 13:31:29barrylinkissue17961 messages
2013-06-19 13:31:29barrycreate