@@ -304,9 +304,15 @@ arg ...: arguments passed to program in sys.argv[1:]\n\
304304
305305static const char usage_xoptions [] = "\
306306The following implementation-specific options are available:\n\
307+ -X context_aware_warnings=[0|1]: if true (1) then the warnings module will\n\
308+ use a context variables; if false (0) then the warnings module will\n\
309+ use module globals, which is not concurrent-safe; set to true for\n\
310+ free-threaded builds and false otherwise; also\n\
311+ PYTHON_CONTEXT_AWARE_WARNINGS\n\
307312-X cpu_count=N: override the return value of os.cpu_count();\n\
308313 -X cpu_count=default cancels overriding; also PYTHON_CPU_COUNT\n\
309314-X dev : enable Python Development Mode; also PYTHONDEVMODE\n\
315+ -X disable-remote-debug: disable remote debugging; also PYTHON_DISABLE_REMOTE_DEBUG\n\
310316-X faulthandler: dump the Python traceback on fatal errors;\n\
311317 also PYTHONFAULTHANDLER\n\
312318-X frozen_modules=[on|off]: whether to use frozen modules; the default is \"on\"\n\
@@ -319,16 +325,18 @@ The following implementation-specific options are available:\n\
319325"\
320326- X importtime [= 2 ]: show how long each import takes ; use - X importtime = 2 to \n \
321327 log imports of already - loaded modules ; also PYTHONPROFILEIMPORTTIME \n \
322- - X lazy_imports = [all |none |normal ]: control global lazy imports ;\n \
323- default is normal ; also PYTHON_LAZY_IMPORTS \n \
324328- X int_max_str_digits = N : limit the size of int < - > str conversions ;\n \
325329 0 disables the limit ; also PYTHONINTMAXSTRDIGITS \n \
330+ - X lazy_imports = [all |none |normal ]: control global lazy imports ;\n \
331+ default is normal ; also PYTHON_LAZY_IMPORTS \n \
326332- X no_debug_ranges : don 't include extra location information in code objects;\n\
327333 also PYTHONNODEBUGRANGES\n\
334+ -X pathconfig_warnings=[0|1]: if true (1) then path configuration is allowed\n\
335+ to log warnings into stderr; if false (0) suppress these warnings;\n\
336+ set to true by default; also PYTHON_PATHCONFIG_WARNINGS\n\
328337-X perf: support the Linux \"perf\" profiler; also PYTHONPERFSUPPORT=1\n\
329338-X perf_jit: support the Linux \"perf\" profiler with DWARF support;\n\
330339 also PYTHON_PERF_JIT_SUPPORT=1\n\
331- -X disable-remote-debug: disable remote debugging; also PYTHON_DISABLE_REMOTE_DEBUG\n\
332340"
333341#ifdef Py_DEBUG
334342"-X presite=MOD: import this module before site; also PYTHON_PRESITE\n"
@@ -343,24 +351,17 @@ The following implementation-specific options are available:\n\
343351"\
344352-X showrefcount: output the total reference count and number of used\n\
345353 memory blocks when the program finishes or after each statement in\n\
346- the interactive interpreter; only works on debug builds\n"
354+ the interactive interpreter; only works on debug builds\n\
355+ -X thread_inherit_context=[0|1]: enable (1) or disable (0) threads inheriting\n\
356+ context vars by default; enabled by default in the free-threaded\n\
357+ build and disabled otherwise; also PYTHON_THREAD_INHERIT_CONTEXT\n\
358+ "
347359#ifdef Py_GIL_DISABLED
348360"-X tlbc=[0|1]: enable (1) or disable (0) thread-local bytecode. Also\n\
349361 PYTHON_TLBC\n"
350362#endif
351363"\
352- -X thread_inherit_context=[0|1]: enable (1) or disable (0) threads inheriting\n\
353- context vars by default; enabled by default in the free-threaded\n\
354- build and disabled otherwise; also PYTHON_THREAD_INHERIT_CONTEXT\n\
355- -X context_aware_warnings=[0|1]: if true (1) then the warnings module will\n\
356- use a context variables; if false (0) then the warnings module will\n\
357- use module globals, which is not concurrent-safe; set to true for\n\
358- free-threaded builds and false otherwise; also\n\
359- PYTHON_CONTEXT_AWARE_WARNINGS\n\
360- -X pathconfig_warnings=[0|1]: if true (1) then path configuration is allowed\n\
361- to log warnings into stderr; if false (0) suppress these warnings;\n\
362- set to true by default; also PYTHON_PATHCONFIG_WARNINGS\n\
363- -X tracemalloc[=N]: trace Python memory allocations; N sets a traceback limit\n \
364+ - X tracemalloc [= N ]: trace Python memory allocations ; N sets a traceback limit \n \
364365 of N frames (default : 1 ); also PYTHONTRACEMALLOC = N \n \
365366- X utf8 [= 0 |1 ]: enable (1 ) or disable (0 ) UTF - 8 mode ; also PYTHONUTF8 \n \
366367- X warn_default_encoding : enable opt - in EncodingWarning for 'encoding=None' ;\n \
0 commit comments