[Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library

Guido van Rossum guido at python.org
Fri Apr 26 06:19:33 CEST 2013

On Thu, Apr 25, 2013 at 8:39 PM, Glenn Linderman <v+python at g.nevcal.com> wrote:
> an enumeration of objects whose class defines __call__ would
> not be so weird.

Seriously? You'd complexificate the basic usage in order to cater for
such an esoteric use case? The *only* use cases that matter at all for
enum values are ints and strings, and even the latter could be
considered a luxury when compared to other languages' enums.

--Guido van Rossum (python.org/~guido)

More information about the Python-Dev mailing list