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

2013年4月28日 14:31:36 -0700

On 2013年4月28日 13:02:11 -0700
Guido van Rossum <[email protected]> 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.
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to