Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #107835

Re: Pythonic style

From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: Pythonic style
Date 2016-04-29 10:57 +1000
Message-ID <mailman.216.1461891434.32212.python-list@python.org> (permalink)
References (8 earlier) <c7ca7770-7dfa-463c-b776-cab472d9f79e@googlegroups.com> <540fc958-52d6-6049-75f2-5ee42657688e@mrabarnett.plus.com> <mailman.183.1461842191.32212.python-list@python.org> <dofpa7Fpm7eU1@mid.individual.net> <CAPTjJmoyOBA=sEk=4W2uBLJDSwkEKK1tWscU2b1sNtxDNHn1Mg@mail.gmail.com>

Show all headers | View raw


On Fri, Apr 29, 2016 at 10:48 AM, Gregory Ewing
<greg.ewing@canterbury.ac.nz> wrote:
> MRAB wrote:
>
>> Is it worthy of being in the Zen of Python?
>
>
> +1. Maybe something along the lines of:
>
>    Dunder methods are for defining, not calling.
>    Unless you're a dunderhead[1].
>
> [1] Meant in the sense of an enthusiast, cf. gearhead.

I thought the twentieth zen would never be found?

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Pythonic style Chris Angelico <rosuav@gmail.com> - 2016-04-28 13:56 +1000
  Re: Pythonic style Rustom Mody <rustompmody@gmail.com> - 2016-04-27 22:16 -0700
    Re: Pythonic style MRAB <python@mrabarnett.plus.com> - 2016-04-28 12:16 +0100
      Dunder docs again (was Pythonic style) Rustom Mody <rustompmody@gmail.com> - 2016-04-28 04:45 -0700
        Re: Dunder docs again (was Pythonic style) MRAB <python@mrabarnett.plus.com> - 2016-04-28 13:02 +0100
          Re: Dunder docs again (was Pythonic style) Marko Rauhamaa <marko@pacujo.net> - 2016-04-28 15:25 +0300
            Re: Dunder docs again (was Pythonic style) MRAB <python@mrabarnett.plus.com> - 2016-04-28 14:22 +0100
      Re: Pythonic style Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-04-29 12:48 +1200
        Re: Pythonic style Chris Angelico <rosuav@gmail.com> - 2016-04-29 10:57 +1000
          Re: Pythonic style Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-04-29 18:12 +1200
            Re: Pythonic style Chris Angelico <rosuav@gmail.com> - 2016-04-29 16:45 +1000
        Re: Pythonic style Steven D'Aprano <steve@pearwood.info> - 2016-04-29 19:59 +1000
    Re: Pythonic style Random832 <random832@fastmail.com> - 2016-04-28 09:31 -0400

csiph-web