Skip to content

new_interpreter() should reuse more Py_InitializeFromConfig() code #83039

Description

@vstinner
BPO 38858
Nosy @vstinner, @ericsnowcurrently
PRs
  • bpo-38858: Reorganize pycore_init_types() #17265
  • bpo-38858: Factorize Py_EndInterpreter() code #17273
  • bpo-38858: Fix reference leak in pycore_init_types() #17286
  • bpo-38858: Add _Py_IsMainInterpreter(tstate) #17293
  • bpo-38858: Fix Py_Finalize() when called from a subinterpreter #17297
  • bpo-38858: Allocate small integers on the heap #17301
  • bpo-38858: Small integer per interpreter #17315
  • bpo-38858: Call _PyUnicode_Fini() in Py_EndInterpreter() #17330
  • bpo-38858: Add init_set_builtins_open() subfunction #17346
  • bpo-38858: Add init_interp_main() subfunction #17347
  • bpo-38858: _PyImport_FixupExtensionObject() handles subinterpreters #17350
  • bpo-38858: new_interpreter() reuses pycore_init_builtins() #17351
  • bpo-38858: new_interpreter() uses pycore_init_import_warnings() #17353
  • bpo-38858: new_interpreter() reuses _PySys_Create() #17481
  • bpo-38858: Add pycore_interp_init() code to factorize code #17483
  • bpo-38858: Fix ref leak in pycore_interp_init() #17512
  • 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 2019-12-06.16:01:54.899>
    created_at = <Date 2019-11-19.23:11:09.543>
    labels = ['expert-subinterpreters', 'interpreter-core', '3.9']
    title = 'new_interpreter() should reuse more Py_InitializeFromConfig() code'
    updated_at = <Date 2020-05-15.00:37:42.264>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-05-15.00:37:42.264>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-12-06.16:01:54.899>
    closer = 'vstinner'
    components = ['Interpreter Core', 'Subinterpreters']
    creation = <Date 2019-11-19.23:11:09.543>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38858
    keywords = ['patch']
    message_count = 23.0
    messages = ['357001', '357005', '357043', '357052', '357055', '357083', '357092', '357139', '357140', '357268', '357278', '357296', '357298', '357306', '357311', '357321', '357897', '357899', '357920', '358028', '358356', '358543', '360057']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'eric.snow']
    pr_nums = ['17265', '17273', '17286', '17293', '17297', '17301', '17315', '17330', '17346', '17347', '17350', '17351', '17353', '17481', '17483', '17512']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue38858'
    versions = ['Python 3.9']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions