[Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Apr 28 04:12:22 CEST 2013


Guido van Rossum wrote:

And init/new probably shouldn't be overridden.

Why shouldn't init be overridden? It's the obvious way to support Java-style enum-items-with-attributes.

-- Greg



More information about the Python-Dev mailing list