When a TypeError is raised due to invalid arguments to a method, it should use __qualname__ to identify the class the method is in · Issue #71576 · python/cpython · GitHub
Skip to content

When a TypeError is raised due to invalid arguments to a method, it should use __qualname__ to identify the class the method is in #71576

Description

@BlckKnght
mannequin
BPO 27389
Nosy @vadmium, @BlckKnght
Superseder
  • bpo-2786: Names in function call exception should have class names, if they're methods
  • 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 2016-08-05.05:40:52.032>
    created_at = <Date 2016-06-26.03:35:42.645>
    labels = ['type-feature']
    title = 'When a TypeError is raised due to invalid arguments to a method, it should use __qualname__ to identify the class the method is in'
    updated_at = <Date 2016-08-05.06:45:11.197>
    user = 'https://github.com/BlckKnght'

    bugs.python.org fields:

    activity = <Date 2016-08-05.06:45:11.197>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-08-05.05:40:52.032>
    closer = 'Steven.Barker'
    components = []
    creation = <Date 2016-06-26.03:35:42.645>
    creator = 'Steven.Barker'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 27389
    keywords = []
    message_count = 3.0
    messages = ['269274', '269283', '272014']
    nosy_count = 2.0
    nosy_names = ['martin.panter', 'Steven.Barker']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '2786'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue27389'
    versions = ['Python 3.6']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      type-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions