Skip to content

Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once #85366

@arcivanov

Description

@arcivanov
mannequin
BPO 41194
Nosy @vstinner, @DinoV, @arcivanov, @pablogsal, @isidentical
PRs
  • bpo-41194: Pass module state in Python-ast.c #21284
  • bpo-41194: The _ast module cannot be loaded more than once #21290
  • [3.9] bpo-41194: The _ast module cannot be loaded more than once (GH-21290) #21292
  • bpo-41194: Convert _ast extension to PEP 489 #21293
  • [3.9] bpo-41194: Convert _ast extension to PEP 489 #21807
  • bpo-41796: Make _ast module state per interpreter #23024
  • 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 2020-07-09.18:23:38.774>
    created_at = <Date 2020-07-02.09:28:39.670>
    labels = ['interpreter-core', '3.10', '3.9', 'type-crash']
    title = 'Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once'
    updated_at = <Date 2020-10-29.11:52:16.841>
    user = 'https://github.com/arcivanov'

    bugs.python.org fields:

    activity = <Date 2020-10-29.11:52:16.841>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-07-09.18:23:38.774>
    closer = 'arcivanov'
    components = ['Interpreter Core']
    creation = <Date 2020-07-02.09:28:39.670>
    creator = 'arcivanov'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41194
    keywords = ['patch']
    message_count = 37.0
    messages = ['372833', '372834', '372835', '372836', '372837', '372838', '372842', '372851', '372852', '372853', '372854', '372855', '372856', '372857', '372859', '372860', '372861', '372862', '372863', '372914', '372923', '372937', '372949', '372950', '373318', '373326', '373342', '373343', '373345', '373347', '373349', '373351', '373356', '373357', '373417', '375114', '375117']
    nosy_count = 5.0
    nosy_names = ['vstinner', 'dino.viehland', 'arcivanov', 'pablogsal', 'BTaskaya']
    pr_nums = ['21284', '21290', '21292', '21293', '21807', '23024']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue41194'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9 (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