File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -669,6 +669,13 @@ Miscellaneous options
669669
670670 .. versionadded :: 3.14
671671
672+ * :samp: `-X tlbc={ 0,1 } ` enables (1, the default) or disables (0) thread-local
673+ bytecode in builds configured with :option: `--disable-gil `. When disabled,
674+ this also disables the specializing interpreter. See also
675+ :envvar: `PYTHON_TLBC `.
676+
677+ .. versionadded :: 3.14
678+
672679 It also allows passing arbitrary values and retrieving them through the
673680 :data: `sys._xoptions ` dictionary.
674681
@@ -1302,6 +1309,16 @@ conflict.
13021309
13031310 .. versionadded :: 3.13
13041311
1312+ .. envvar :: PYTHON_TLBC
1313+
1314+ If set to ``1 `` enables thread-local bytecode. If set to ``0 `` thread-local
1315+ bytecode and the specializing interpreter are disabled. Only applies to
1316+ builds configured with :option: `--disable-gil `.
1317+
1318+ See also the :option: `-X tlbc <-X> ` command-line option.
1319+
1320+ .. versionadded :: 3.14
1321+
13051322Debug-mode variables
13061323~~~~~~~~~~~~~~~~~~~~
13071324
You can’t perform that action at this time.
0 commit comments