{SPAM?} Decorators? Why have a special construct to support a pattern?

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Fri Aug 13 03:29:00 EDT 2004


Simon Wittber wrote:
> Decorators...
> 
> Why do we need a special construct to support a pattern? 
> 
> Do lots of people really use decorators that often?

I think that with decorators available, their usage will greatly
increase. With having to write foo = decorator(foo), I daresay nobody
got the idea to write function-wrappers that function like this.

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