A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-April/064625.html below:

[Python-Dev] Adding functools.decorator

[Python-Dev] Adding functools.decorator [Python-Dev] Adding functools.decoratorSimon Belak simon.belak at gmail.com
Sun Apr 30 16:32:03 CEST 2006
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4