[Python-Dev] enum discussion: can someone please summarize open issues?

Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 3 01:43:06 CEST 2013


Guido van Rossum wrote:
> you should do some other check,
> e.g. "if x in Color:".

So you don't think it's important to have an easy
way to take user input that's supposed to be a
Color name and either return a Color or raise
a ValueError?

-- 
Greg


More information about the Python-Dev mailing list