Skip to content

Prepare runtime/interp/thread state and init for upcoming changes. #90166

Description

@ericsnowcurrently
BPO 46008
Nosy @ericsnowcurrently, @pquentin, @miss-islington
PRs
  • bpo-46008: Return void from _PyEval_InitState(). #29970
  • bpo-46008: Move thread-related interpreter state into a sub-struct. #29971
  • bpo-46008: Use PyMem_RawCalloc() to allocate PyThreadState. #29972
  • bpo-46008: Stop calling _PyThreadState_Init() in new_threadstate(). #29973
  • bpo-46008: Move Py*State init into distinct functions. #29977
  • bpo-46008: Add _PyInterpreterState_Main(). #29978
  • bpo-46008: Make runtime-global object/type lifecycle functions and state consistent. #29998
  • 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/ericsnowcurrently'
    closed_at = <Date 2021-12-08.02:01:39.551>
    created_at = <Date 2021-12-07.20:24:26.707>
    labels = ['interpreter-core', '3.11']
    title = 'Prepare runtime/interp/thread state and init for upcoming changes.'
    updated_at = <Date 2022-01-09.20:58:25.643>
    user = 'https://github.com/ericsnowcurrently'

    bugs.python.org fields:

    activity = <Date 2022-01-09.20:58:25.643>
    actor = 'Quentin.Pradet'
    assignee = 'eric.snow'
    closed = True
    closed_date = <Date 2021-12-08.02:01:39.551>
    closer = 'eric.snow'
    components = ['Interpreter Core']
    creation = <Date 2021-12-07.20:24:26.707>
    creator = 'eric.snow'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46008
    keywords = ['patch']
    message_count = 10.0
    messages = ['407963', '407967', '407969', '407972', '407989', '407991', '407992', '407993', '408158', '410168']
    nosy_count = 3.0
    nosy_names = ['eric.snow', 'Quentin.Pradet', 'miss-islington']
    pr_nums = ['29970', '29971', '29972', '29973', '29977', '29978', '29998']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue46008'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Labels

    3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions