PEP 318: Can't we all just get along?

Aahz aahz at pythoncraft.com
Wed Aug 18 16:35:12 CEST 2004


In article <20040817181725194-0400 at braeburn.themorgue.org>,
Kevin Smith  <Kevin.Smith at sas.com> wrote:
>
>Bear with me, but I'd like to propose one more syntax that is simple, 
>easy for newbies to understand,  and nowhere near as powerful as the 
>current PEP's syntax.  However, it doesn't add incoherent, arbitrary 
>syntax either.
>
>def classmethod foo(x, y, z):
>    pass

You can't do ``grep "def foo"``; therefore, Guido rejected this.  (It's
a tiny bit more complicated than that, but that's the essence.)
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"To me vi is Zen.  To use vi is to practice zen.  Every command is a
koan.  Profound to the user, unintelligible to the uninitiated.  You
discover truth everytime you use it."  --reddy at lion.austin.ibm.com



More information about the Python-list mailing list