Skip to content

Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable #80891

@vstinner

Description

@vstinner
BPO 36710
Nosy @nascheme, @ncoghlan, @vstinner, @phsilva, @markshannon, @ericsnowcurrently, @jdemeyer, @zooba
PRs
  • bpo-36710: Add 'ceval' local variable to ceval.c #12934
  • bpo-36710: Add runtime parameter to _PyThreadState_Init() #12935
  • bpo-36710: PyOS_AfterFork_Child() pass runtime parameter #12936
  • bpo-36710: Add runtime variable to Py_FinalizeEx() #12937
  • bpo-36710: Add runtime variable to Py_InitializeEx() #12939
  • bpo-36710: Add runtime variable in pystate.c #12956
  • bpo-36710: Add runtime parameter in gcmodule.c #12958
  • bpo-36710: Fix compiler warning on PyThreadState_Delete() #12962
  • bpo-36710: add tstate parameter in errors.c #13540
  • bpo-36710: Add tstate parameter in ceval.c #13547
  • bpo-36710: Pass explicitly tstate in sysmodule.c #14060
  • bpo-36710: Add tstate parameter in import.c #14218
  • bpo-36710: Remove PyImport_Cleanup() function #14221
  • bpo-36710: Use tstate in pylifecycle.c #14249
  • bpo-36710: Add tstate parameter in _warnings.c #14250
  • bpo-36710: Pass tstate parameter to GC collect() #17267
  • bpo-36710: Add PyInterpreterState.runtime field #17270
  • bpo-36710: Pass tstate explicitly in abstract.c #21075
  • 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-01-13.16:08:27.587>
    created_at = <Date 2019-04-24.12:58:00.763>
    labels = ['interpreter-core', '3.8']
    title = 'Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable'
    updated_at = <Date 2020-06-23.13:55:15.412>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-06-23.13:55:15.412>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-01-13.16:08:27.587>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2019-04-24.12:58:00.763>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36710
    keywords = ['patch']
    message_count = 40.0
    messages = ['340772', '340775', '340779', '340784', '340789', '340842', '340845', '340860', '340871', '340873', '340880', '340915', '340930', '340941', '340942', '340945', '340946', '340971', '340986', '340996', '341305', '341500', '342138', '343380', '343393', '345537', '345538', '346016', '346030', '346088', '356496', '357013', '357017', '359915', '360210', '364434', '364438', '364440', '364444', '372170']
    nosy_count = 8.0
    nosy_names = ['nascheme', 'ncoghlan', 'vstinner', 'phsilva', 'Mark.Shannon', 'eric.snow', 'jdemeyer', 'steve.dower']
    pr_nums = ['12934', '12935', '12936', '12937', '12939', '12956', '12958', '12962', '13540', '13547', '14060', '14218', '14221', '14249', '14250', '17267', '17270', '21075']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36710'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions