Skip to content

Add attribute pointing to wrapped function in functools.update_wrapper #53776

Closed

Description

@merwok
BPO 9567
Nosy @rhettinger, @ncoghlan, @merwok, @bitdancer

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 = <Date 2010-08-17.06:18:14.168>
created_at = <Date 2010-08-11.02:37:13.851>
labels = ['type-feature', 'library']
title = 'Add attribute pointing to wrapped function in functools.update_wrapper'
updated_at = <Date 2010-08-17.06:18:14.166>
user = 'https://github.com/merwok'

bugs.python.org fields:

activity = <Date 2010-08-17.06:18:14.166>
actor = 'ncoghlan'
assignee = 'ncoghlan'
closed = True
closed_date = <Date 2010-08-17.06:18:14.168>
closer = 'ncoghlan'
components = ['Library (Lib)']
creation = <Date 2010-08-11.02:37:13.851>
creator = 'eric.araujo'
dependencies = []
files = []
hgrepos = []
issue_num = 9567
keywords = []
message_count = 3.0
messages = ['113579', '113581', '114100']
nosy_count = 4.0
nosy_names = ['rhettinger', 'ncoghlan', 'eric.araujo', 'r.david.murray']
pr_nums = []
priority = 'normal'
resolution = 'accepted'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue9567'
versions = ['Python 3.2']

Activity

  1. merwok commented on Aug 11, 2010

    @merwok
    MemberAuthor

    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.”

  2. added
    stdlib
    type-feature
    on Aug 11, 2010
  3. self-assigned this
    on Aug 11, 2010
  4. ncoghlan commented on Aug 11, 2010

    @ncoghlan
    Contributor
  5. 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
  6. ncoghlan commented on Aug 17, 2010

    @ncoghlan
    Contributor

    Implemented in r84132

  7. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibtype-feature

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions