Skip to content

PyStructSequence_NewType is broken; makes GC type without setting Py_TPFLAGS_HEAPTYPE #72895

@MojoVampire

Description

@MojoVampire
BPO 28709
Nosy @encukou, @serhiy-storchaka, @MojoVampire
Files
  • testnewtype.c: C source for test module
  • setup.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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2018-11-14.10:01:50.335>
    created_at = <Date 2016-11-16.00:00:14.437>
    labels = ['interpreter-core', '3.7', 'type-crash']
    title = 'PyStructSequence_NewType is broken; makes GC type without setting Py_TPFLAGS_HEAPTYPE'
    updated_at = <Date 2018-11-14.10:01:50.335>
    user = 'https://github.com/MojoVampire'

    bugs.python.org fields:

    activity = <Date 2018-11-14.10:01:50.335>
    actor = 'petr.viktorin'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2018-11-14.10:01:50.335>
    closer = 'petr.viktorin'
    components = ['Interpreter Core']
    creation = <Date 2016-11-16.00:00:14.437>
    creator = 'josh.r'
    dependencies = []
    files = ['45495', '45496']
    hgrepos = []
    issue_num = 28709
    keywords = []
    message_count = 4.0
    messages = ['280904', '280905', '280908', '329895']
    nosy_count = 3.0
    nosy_names = ['petr.viktorin', 'serhiy.storchaka', 'josh.r']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue28709'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions