[Python-Dev] Proposed tweaks to functools.wraps (original) (raw)

Simon Cross hodgestar+pythondev at gmail.com
Wed Aug 11 13:26:56 CEST 2010


On Wed, Aug 11, 2010 at 4:39 AM, Benjamin Peterson <benjamin at python.org> wrote:

Namespace conflict with what? I would prefer "wraps" unless it's standardized as a behavior for all decorators.

Having the original function available as wrapped would be really cool, although I'm not quite sure what the behaviour should be in corner cases like:

Schiavo Simon



More information about the Python-Dev mailing list