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

Antoine Pitrou solipsis at pitrou.net
Sun Apr 28 23:29:32 CEST 2013


On Sun, 28 Apr 2013 13:02:11 -0700
Guido van Rossum <guido at python.org> wrote:
> 
> >   - for the above two, how should they be included/excluded?
> 
> IMO Everything should be enumerated except
> (a) things with a __get__() method (i.e. descriptors)
> (b) __dunder__ names

I think it would be nice to define regular methods on enums.

Regards

Antoine.




More information about the Python-Dev mailing list