You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add attribute pointing to wrapped function in functools.update_wrapper #53776
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/ncoghlan'closed_at=<Date2010-08-17.06:18:14.168>created_at=<Date2010-08-11.02:37:13.851>labels= ['type-feature', 'library']
title='Add attribute pointing to wrapped function in functools.update_wrapper'updated_at=<Date2010-08-17.06:18:14.166>user='https://github.com/merwok'
“I was just about to propose that functools.wraps add a standard attribute to point at the underlying function (on the theory that objects should be introspectable). This would allow a standard way to get to the underlying unwrapped functions.”
changed the title [-]Add attribute pointing to wrapped function to partial objects[/-][+]Add attribute pointing to wrapped function in functools.update_wrapper[/+]on Aug 11, 2010
Activity
merwok commentedon Aug 11, 2010
Raymond in bpo-9396:
“I was just about to propose that functools.wraps add a standard attribute to point at the underlying function (on the theory that objects should be introspectable). This would allow a standard way to get to the underlying unwrapped functions.”
ncoghlan commentedon Aug 11, 2010
python-dev thread: http://mail.python.org/pipermail/python-dev/2010-August/102988.html
[-]Add attribute pointing to wrapped function to partial objects[/-][+]Add attribute pointing to wrapped function in functools.update_wrapper[/+]ncoghlan commentedon Aug 17, 2010
Implemented in r84132