[Python-ideas] PEP XXX - Competitor with PEP 435: Adding an enum type to the Python standard library

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 13 00:42:55 CET 2013


Ethan Furman wrote:

> There seems to be two basic camps:  those that think an enum 
> should be valueless ... and those for whom the integer is an 
> integral part of the enumeration,

I think most people agree that both of these use cases are
important. The split seems to be more between those that
want to address them using separate types, and those that
prefer a one-type-fits-all approach.

-- 
Greg



More information about the Python-ideas mailing list