[Python-Dev] Adding functools.decorator (original) (raw)
Simon Belak simon.belak at gmail.com
Sun Apr 30 16:32:03 CEST 2006
- Previous message: [Python-Dev] Adding functools.decorator
- Next message: [Python-Dev] [Python-3000] in-out parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan wrote:
Some details that are up for discussion:
- which of a function's special attributes should be copied/updated? - should the decorates and decorator attributes be added? If people are happy with this idea, I can make sure it happens before > alpha 3.
What about preserving decorated function's signature, like we do in TurboGears [1]?
Cheers, Simon
[1] http://trac.turbogears.org/turbogears/browser/trunk/turbogears/decorator.py
- Previous message: [Python-Dev] Adding functools.decorator
- Next message: [Python-Dev] [Python-3000] in-out parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]