[Python-Dev] Re: new syntax for wrapping (PEP 318)

Michael Hudson mwh at python.net
Thu Feb 26 13:51:25 EST 2004


Christian Tismer <tismer at stackless.com> writes:

> Bob Ippolito wrote:
>
>> That's too magical for me, and it means I have to spell out the name
>> of the function (which may be quite long) twice.. which is better
>> than three times, but not as good as once.
>
> Or even simpler, just push them as special constants on top of the def:
>
> class klass:
>    classmethod
>    def foo():...
>
> not too serious, but I hate new syntax...

Chris, stop this, or I'll start to think you're some kind of insane
hacker type.  Oh, hang on...

Cheers,
mwh
:-)

-- 
3. Syntactic sugar causes cancer of the semicolon.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html



More information about the Python-Dev mailing list