On Mon, 29 Apr 2013 08:28:34 +1000
Nick Coghlan <[email protected]> wrote:
> On 29 Apr 2013 07:32, "Antoine Pitrou" <[email protected]> wrote:
> >
> > On Sun, 28 Apr 2013 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.
> 
> Functions are descriptors, so this rule already covers ordinary methods.

Oh, I had missed that.

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