Skip to content

[internals] Pass the current interpreter (interp) rather than the current Python thread state (state) #87434

@vstinner

Description

@vstinner
BPO 43268
Nosy @vstinner
PRs
  • bpo-43268: Replace _PyThreadState_GET() with _PyInterpreterState_GET() #24576
  • bpo-43268: _Py_IsMainInterpreter() now expects interp #24577
  • bpo-43268: Pass interp rather than tstate #24580
  • bpo-43268: Remove abuse usage of tstate in sysmodule.c #24581
  • bpo-43268: local_clear() uses _PyInterpreterState_GET() #24583
  • 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 2021-02-19.14:52:27.410>
    created_at = <Date 2021-02-19.11:59:23.293>
    labels = ['interpreter-core', '3.10']
    title = '[internals] Pass the current interpreter (interp) rather than the current Python thread state (state)'
    updated_at = <Date 2021-02-19.14:52:27.410>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-02-19.14:52:27.410>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-02-19.14:52:27.410>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2021-02-19.11:59:23.293>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43268
    keywords = ['patch']
    message_count = 6.0
    messages = ['387308', '387311', '387315', '387321', '387323', '387326']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = ['24576', '24577', '24580', '24581', '24583']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue43268'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions