]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
doc: Add glossary entry for "free threading" (#119865)
authorSam Gross <colesbury@gmail.com>
Fri, 31 May 2024 17:23:29 +0000 (13:23 -0400)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 17:23:29 +0000 (13:23 -0400)
Doc/glossary.rst

index 1e5bafce861e5297b5c0e808f102c06ecbdeb199..ae9949bc2867c46aa2db1d8a89524c3652c91f9a 100644 (file)
@@ -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 <argument>` which may be used in