Skip to content

Statically allocate interpreter states as much as possible.#90111

@ericsnowcurrently

Description

@ericsnowcurrently
BPO45953
Nosy@gvanrossum, @vstinner, @markshannon, @ericsnowcurrently, @JulienPalard, @miss-islington, @brandtbucher
PRs
  • bpo-45953: Statically allocate the main interpreter (and initial thread state). #29883
  • bpo-45953: Statically initialize the small ints. #30092
  • bpo-45953: Statically allocate and initialize global bytes objects. #30096
  • bpo-45953: Statically initialize all the _PyRuntimeState fields we can. #30588
  • bpo-45953: Statically initialize all the non-object PyInterpreterState fields we can. #30589
  • bpo-45953: Statically initialize all the PyThreadState fields we can. #30590
  • bpo-45953: Preserve backward compatibility on some PyThreadState field names. #31038
  • 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=Nonecreated_at=<Date2021-12-01.18:50:39.120>labels= ['interpreter-core', '3.11'] title='Statically allocate interpreter states as much as possible.'updated_at=<Date2022-03-29.07:04:09.685>user='https://github.com/ericsnowcurrently'

    bugs.python.org fields:

    activity=<Date2022-03-29.07:04:09.685>actor='mdk'assignee='eric.snow'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Interpreter Core'] creation=<Date2021-12-01.18:50:39.120>creator='eric.snow'dependencies= [] files= [] hgrepos= [] issue_num=45953keywords= ['patch'] message_count=15.0messages= ['407476', '408507', '410315', '410441', '410536', '410537', '412046', '412213', '412291', '416159', '416161', '416170', '416208', '416210', '416245'] nosy_count=7.0nosy_names= ['gvanrossum', 'vstinner', 'Mark.Shannon', 'eric.snow', 'mdk', 'miss-islington', 'brandtbucher'] pr_nums= ['29883', '30092', '30096', '30588', '30589', '30590', '31038'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype=Noneurl='https://bugs.python.org/issue45953'versions= ['Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Labels

    3.11only 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