decorators ?

Michael Hudson mwh at python.net
Thu Dec 2 18:36:16 CET 2004


Skip Montanaro <skip at pobox.com> writes:

>     Jacek> Anything you can do with decorators, you could do before (with
>     Jacek> the exception of rebinding the __name__ of functions).
> 
> And while that feature was added because we realized it would be nice if the
> decorated function could have the same name as the original function, it
> seems like that change could stand on its own merits.

Indeed.  I'd been meaning to do it for at least a year...

Cheers,
mwh

-- 
  Never meddle in the affairs of NT. It is slow to boot and quick to
  crash.                                             -- Stephen Harris
               -- http://home.xnet.com/~raven/Sysadmin/ASR.Quotes.html



More information about the Python-list mailing list