Decorator keyword options - brainstorming

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Fri Aug 20 16:16:30 EDT 2004


Michael Sparks wrote:
> On Fri, 20 Aug 2004, Reinhold Birkenfeld wrote:
>> David Vaughan wrote:
>> > Paul McGuire wrote:
>> > I don't know - it sounds fun.  I vote:
>> >
>> > SpanishInquisition:
>> >     staticmethod
>> > def foo():
>> >     pass
>> > But seriously, there must be something literally pythonic we could
>> > propose.
>> How about
>> pythonic:
>>     staticmethod
>> def foo():
>>     pass
>>
> 
> That's never work - for IronPython you'd have to change it:
> 
> ironic:
>     staticmethod
> def foo():
>     pass

Hm, just thinking about

stackless:
    staticmethod
def foo():
    pass

Reinhold...

-- 
Wenn eine Linuxdistribution so wenig brauchbare Software wie Windows
mitbrächte, wäre das bedauerlich.  Was bei Windows der Umfang eines
"kompletten Betriebssystems" ist, nennt man bei Linux eine Rescuedisk.
  -- David Kastrup in de.comp.os.unix.linux.misc



More information about the Python-list mailing list