From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 31 May 2024 17:42:36 +0000 (+0200) Subject: [3.13] doc: Add glossary entry for "free threading" (GH-119865) (#119874) X-Git-Tag: v3.13.0b2~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e8396e6841e3aae8cc10117583e596ff294d7e0;p=thirdparty%2FPython%2Fcpython.git [3.13] doc: Add glossary entry for "free threading" (GH-119865) (#119874) (cherry picked from commit 9bc6045842ebc91ec48ab163a9e1e8644231607c) Co-authored-by: Sam Gross --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 1e5bafce861e..ae9949bc2867 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -438,6 +438,12 @@ Glossary division. Note that ``(-11) // 4`` is ``-3`` because that is ``-2.75`` rounded *downward*. See :pep:`238`. + free threading + A threading model where multiple threads can run Python bytecode + simultaneously within the same interpreter. This is in contrast to + the :term:`global interpreter lock` which allows only one thread to + execute Python bytecode at a time. See :pep:`703`. + function A series of statements which returns some value to a caller. It can also be passed zero or more :term:`arguments ` which may be used in