From: Nikita Sobolev Date: Wed, 18 Oct 2023 22:09:45 +0000 (+0300) Subject: Fix a misspelling of Interpeter -> Interpreter (GH-111040) X-Git-Tag: v3.13.0a2~410 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94495d038732d8b31c1f39eca8fd69ee6330933d;p=thirdparty%2FPython%2Fcpython.git Fix a misspelling of Interpeter -> Interpreter (GH-111040) --- diff --git a/Lib/importlib/util.py b/Lib/importlib/util.py index f4d6e8233151..3ad71d31c2f4 100644 --- a/Lib/importlib/util.py +++ b/Lib/importlib/util.py @@ -135,7 +135,7 @@ class _incompatible_extension_module_restrictions: may not be imported in a subinterpreter. That implies modules that do not implement multi-phase init or that explicitly of out. - Likewise for modules import in a subinterpeter with its own GIL + Likewise for modules import in a subinterpreter with its own GIL when the extension does not support a per-interpreter GIL. This implies the module does not have a Py_mod_multiple_interpreters slot set to Py_MOD_PER_INTERPRETER_GIL_SUPPORTED. diff --git a/Misc/HISTORY b/Misc/HISTORY index e66b695f21c9..b66413277259 100644 --- a/Misc/HISTORY +++ b/Misc/HISTORY @@ -16169,7 +16169,7 @@ Core and Builtins codec subsystem, for example UTF-8 is turned into utf-8. - Issue #4200: Changed the atexit module to store its state in its - PyModuleDef atexitmodule. This fixes a bug with multiple subinterpeters. + PyModuleDef atexitmodule. This fixes a bug with multiple subinterpreters. - Issue #4237: io.FileIO() was raising invalid warnings caused by insufficient initialization of PyFileIOObject struct members.