Skip to content

weird dual behavior with changing __qualname__; different values observed through attribute and descriptor #60475

@christopherthemagnificent

Description

@christopherthemagnificent
BPO 16271
Nosy @pitrou, @benjaminp, @ezio-melotti
Files
  • parser_BUGGY2.py: contains the code that reveals the presumed bug in Python
  • qualname-in-dict.patch
  • qualname2.patch
  • 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 2012-10-31.04:08:12.395>
    created_at = <Date 2012-10-17.23:43:06.391>
    labels = ['interpreter-core', 'type-bug']
    title = 'weird dual behavior with changing __qualname__; different values observed through attribute and descriptor'
    updated_at = <Date 2012-10-31.04:08:12.393>
    user = 'https://bugs.python.org/christopherthemagnificent'

    bugs.python.org fields:

    activity = <Date 2012-10-31.04:08:12.393>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-10-31.04:08:12.395>
    closer = 'python-dev'
    components = ['Interpreter Core']
    creation = <Date 2012-10-17.23:43:06.391>
    creator = 'christopherthemagnificent'
    dependencies = []
    files = ['27604', '27721', '27734']
    hgrepos = []
    issue_num = 16271
    keywords = ['patch']
    message_count = 7.0
    messages = ['173217', '173822', '173823', '173854', '173857', '173889', '174261']
    nosy_count = 5.0
    nosy_names = ['pitrou', 'benjamin.peterson', 'ezio.melotti', 'christopherthemagnificent', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue16271'
    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