Skip to content

setting function.__name__ doesn't affect repr() #62856

@gvanrossum

Description

@gvanrossum
BPO 18656
Nosy @gvanrossum, @jcea, @mdickinson, @pitrou, @vstinner, @benjaminp
Superseder
  • bpo-4322: function with modified name uses original name when there's an arg error
  • Files
  • functools_wraps_oddity.py
  • 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 = None
    closed_at = <Date 2013-08-04.21:05:14.554>
    created_at = <Date 2013-08-04.16:55:25.176>
    labels = ['interpreter-core', 'type-bug']
    title = "setting function.__name__ doesn't affect repr()"
    updated_at = <Date 2013-08-04.21:05:14.553>
    user = 'https://github.com/gvanrossum'

    bugs.python.org fields:

    activity = <Date 2013-08-04.21:05:14.553>
    actor = 'benjamin.peterson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-08-04.21:05:14.554>
    closer = 'benjamin.peterson'
    components = ['Interpreter Core']
    creation = <Date 2013-08-04.16:55:25.176>
    creator = 'gvanrossum'
    dependencies = []
    files = ['31160']
    hgrepos = []
    issue_num = 18656
    keywords = []
    message_count = 8.0
    messages = ['194394', '194395', '194396', '194402', '194420', '194421', '194422', '194423']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'jcea', 'mark.dickinson', 'pitrou', 'vstinner', 'benjamin.peterson', 'madison.may']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '4322'
    type = 'behavior'
    url = 'https://bugs.python.org/issue18656'
    versions = ['Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions