[issue39161] Py_NewInterpreter docs need updating for multi-phase initialization

Nick Coghlan report at bugs.python.org
Mon Dec 30 00:18:47 EST 2019


New submission from Nick Coghlan <ncoghlan at gmail.com>:

The Py_NewInterpreter docs only cover the behaviour of extension modules that use single-phase initialization: https://docs.python.org/3/c-api/init.html#c.Py_NewInterpreter

Multi-phase initialization allows each subinterpreter to get its own copy of extension modules as well, with only C/C++ level static and global variables being shared.

----------
assignee: docs at python
components: Documentation
messages: 359019
nosy: docs at python, ncoghlan, petr.viktorin
priority: normal
severity: normal
stage: needs patch
status: open
title: Py_NewInterpreter docs need updating for multi-phase initialization
type: enhancement
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39161>
_______________________________________


More information about the Python-bugs-list mailing list