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

Barry Warsaw barry at python.org
Thu May 2 16:58:13 CEST 2013


On May 02, 2013, at 11:44 AM, Greg Ewing wrote:

>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__'.

Why does that matter?

-Barry


More information about the Python-Dev mailing list