Skip to content

type() returns incorrect type for nested classes #56666

@pwil3058

Description

@pwil3058
mannequin
BPO 12457
Nosy @pitrou, @bitdancer, @durban, @pwil3058, @serhiy-storchaka
Superseder
  • bpo-15642: Integrate pickle protocol version 4 GSoC work by Stefan Mihaila
  • Files
  • nested_class_bug.py: Short code snippet to demonstrate the problem.
  • confusion.py: Demonstration of type namimg confusion
  • 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-12-04.12:08:43.140>
    created_at = <Date 2011-07-01.05:25:40.135>
    labels = ['interpreter-core', 'type-bug']
    title = 'type() returns incorrect type for nested classes'
    updated_at = <Date 2012-12-04.12:08:43.138>
    user = 'https://github.com/pwil3058'

    bugs.python.org fields:

    activity = <Date 2012-12-04.12:08:43.138>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-12-04.12:08:43.140>
    closer = 'pitrou'
    components = ['Interpreter Core']
    creation = <Date 2011-07-01.05:25:40.135>
    creator = 'pwil3058'
    dependencies = []
    files = ['22531', '22544']
    hgrepos = []
    issue_num = 12457
    keywords = []
    message_count = 8.0
    messages = ['139542', '139550', '139622', '172924', '176286', '176897', '176900', '176903']
    nosy_count = 5.0
    nosy_names = ['pitrou', 'r.david.murray', 'daniel.urban', 'pwil3058', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '15642'
    type = 'behavior'
    url = 'https://bugs.python.org/issue12457'
    versions = ['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