New submission from Nick Coghlan <ncogh...@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@python
components: Documentation
messages: 359019
nosy: docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue39161>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to