[Python-Dev] Enumeration item arguments?

Ethan Furman ethan at stoneleaf.us
Tue Apr 30 00:18:50 CEST 2013

On 04/29/2013 03:13 PM, Guido van Rossum wrote:
> Only if it is easy to implement. This example doesn't look like a good
> fit for enums, but if the enum implementation can easily support this
> (e.g. if there's nothing special about __init__) I don't want to
> forcibly rule it out. I don't want to have to bend over backwards to
> support it, however, if it causes problems for the implementation.

Beautiful answer.  :)


More information about the Python-Dev mailing list