[Python-Dev] constant/enum type in stdlib

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Nov 29 22:36:51 CET 2010


I don't see how the grouping can be completely separated
from the value-naming. If the named values are to be
subclassed from the base values, then you want all the
members of a group to belong to the *same* subclass.
You can't get that by treating each named value on its
own and then trying to group them together afterwards.

-- 
Greg



More information about the Python-Dev mailing list