diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-05-08 19:15:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 19:15:09 (GMT) |
commit | 5c9ee498c6f4b75e0e020f17b6860309c3b7e11e (patch) | |
tree | 156aabe859f9c87bbad1bb7bfcc72e6169173d92 /Lib/importlib/util.py | |
parent | 942482c8e660765f68098eae347d84b93e37661a (diff) | |
download | cpython-5c9ee498c6f4b75e0e020f17b6860309c3b7e11e.zip cpython-5c9ee498c6f4b75e0e020f17b6860309c3b7e11e.tar.gz cpython-5c9ee498c6f4b75e0e020f17b6860309c3b7e11e.tar.bz2 |
gh-99113: A Per-Interpreter GIL! (gh-104210)
This is the culmination of PEP 684 (and of my 8-year long multi-core Python project)!
Each subinterpreter may now be created with its own GIL (via Py_NewInterpreterFromConfig()). If not so configured then the interpreter will share with the main interpreter--the status quo since subinterpreters were added decades ago. The main interpreter always has its own GIL and subinterpreters from Py_NewInterpreter() will always share with the main interpreter.
Diffstat (limited to 'Lib/importlib/util.py')
0 files changed, 0 insertions, 0 deletions