[Python-Dev] enum discussion: can someone please summarize open issues?
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu May 2 01:44:03 CEST 2013
Barry Warsaw wrote:
> Why isn't getattr() for lookup by name
> good enough?
Because it will find things that are not enum items,
e.g. '__str__'.
--
Greg
More information about the Python-Dev
mailing list