On Sun, Apr 28, 2013 at 2:11 AM, Larry Hastings <la...@hastings.org> wrote: > On 04/26/2013 02:41 PM, Guido van Rossum wrote: > > I am still optimistic that we can come up with a rule that > works well enough in practice (and the Zen rule to which I was > referring was, of course, "practicality beats purity"). > > > The rule I liked best is "ignore callables, descriptors, and anything with > leading & trailing double underscores". Personally I'd modify that to > simply "anything with two leading underscores" so you can have private > variables. It seems Pythonic to me in that classes already treat all those > things special. And if you want enums of any of those things you can > instantiate & insert them by hand after the class definition. > > Does that fail in an important way?
Nope, those cover it. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com