@@ -259,18 +259,11 @@ static const char usage_envvars[] =
259
259
" The default module search path uses %s.\n"
260
260
"PYTHONPLATLIBDIR: override sys.platlibdir.\n"
261
261
"PYTHONCASEOK : ignore case in 'import' statements (Windows).\n"
262
- "PYTHONUTF8 : if set to 1, enable the UTF-8 mode.\n"
263
262
"PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n"
264
- "PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.\n"
265
263
"PYTHONHASHSEED : if this variable is set to 'random', a random value is used\n"
266
264
" to seed the hashes of str and bytes objects. It can also be\n"
267
265
" set to an integer in the range [0,4294967295] to get hash\n"
268
266
" values with a predictable seed.\n"
269
- "PYTHONINTMAXSTRDIGITS: limits the maximum digit characters in an int value\n"
270
- " when converting from a string and when converting an int\n"
271
- " back to a str. A value of 0 disables the limit.\n"
272
- " Conversions to or from bases 2, 4, 8, 16, and 32 are never\n"
273
- " limited.\n"
274
267
"PYTHONMALLOC : set the Python memory allocators and/or install debug hooks\n"
275
268
" on Python memory allocators. Use PYTHONMALLOC=debug to\n"
276
269
" install debug hooks.\n"
@@ -281,47 +274,56 @@ static const char usage_envvars[] =
281
274
"PYTHONBREAKPOINT: if this variable is set to 0, it disables the default\n"
282
275
" debugger. It can be set to the callable of your debugger of\n"
283
276
" choice.\n"
284
- "PYTHON_CPU_COUNT: Overrides the return value of os.process_cpu_count(),\n"
285
- " os.cpu_count(), and multiprocessing.cpu_count() if set to\n"
286
- " a positive integer.\n"
287
- #ifdef Py_GIL_DISABLED
288
- "PYTHON_GIL : When set to 0, disables the GIL.\n"
289
- #endif
290
- "PYTHONDEVMODE : enable the development mode .\n "
291
- " PYTHONPYCACHEPREFIX : root directory for bytecode cache (pyc ) files .\n "
292
- "PYTHONWARNDEFAULTENCODING: enable opt-in EncodingWarning for 'encoding=None'.\n"
293
- "PYTHONNODEBUGRANGES: if this variable is set, it disables the inclusion of\n"
294
- " the tables mapping extra location information (end line,\n"
295
- " start column offset and end column offset) to every\n"
296
- " instruction in code objects. This is useful when smaller\n"
297
- " code objects and pyc files are desired as well as\n"
298
- " suppressing the extra visual location indicators when the\n"
299
- " interpreter displays tracebacks.\n"
300
- "PYTHON_FROZEN_MODULES: if this variable is set, it determines whether or not\n"
301
- " frozen modules should be used. The default is \"on\" (or\n"
302
- " \"off\" if you are running a local build).\n"
303
277
"PYTHON_COLORS : if this variable is set to 1, the interpreter will colorize\n"
304
278
" various kinds of output. Setting it to 0 deactivates\n"
305
279
" this behavior.\n"
306
280
"PYTHON_HISTORY : the location of a .python_history file.\n"
307
281
"\n"
308
282
"These variables have equivalent command-line options (see --help for details):\n"
283
+ "PYTHON_CPU_COUNT: Overrides the return value of os.process_cpu_count(),\n"
284
+ " os.cpu_count(), and multiprocessing.cpu_count() if set to\n"
285
+ " a positive integer. (-X cpu_count)\n"
309
286
"PYTHONDEBUG : enable parser debug mode (-d)\n"
287
+ "PYTHONDEVMODE : enable the development mode (-X dev)\n"
310
288
"PYTHONDONTWRITEBYTECODE: don't write .pyc files (-B)\n"
289
+ "PYTHONFAULTHANDLER: dump the Python traceback on fatal errors (-X faulthandler)\n"
290
+ "PYTHON_FROZEN_MODULES: if this variable is set, it determines whether or not\n"
291
+ " frozen modules should be used. The default is \"on\" (or\n"
292
+ " \"off\" if you are running a local build).\n"
293
+ " (-X frozen_modules)\n"
294
+ #ifdef Py_GIL_DISABLED
295
+ "PYTHON_GIL : when set to 0, disables the GIL (-X gil)\n"
296
+ #endif
311
297
"PYTHONINSPECT : inspect interactively after running script (- i )\n "
312
- "PYTHONINTMAXSTRDIGITS: limit max digit characters in an int value\n"
298
+ "PYTHONINTMAXSTRDIGITS : limits the maximum digit characters in an int value \n "
299
+ " when converting from a string and when converting an int \n "
300
+ " back to a str . A value of 0 disables the limit .\n "
301
+ " Conversions to or from bases 2, 4, 8, 16, and 32 are never\n"
302
+ " limited.\n"
313
303
" (-X int_max_str_digits=number)\n"
304
+ "PYTHONNODEBUGRANGES: if this variable is set, it disables the inclusion of\n"
305
+ " the tables mapping extra location information (end line,\n"
306
+ " start column offset and end column offset) to every\n"
307
+ " instruction in code objects. This is useful when smaller\n"
308
+ " code objects and pyc files are desired as well as\n"
309
+ " suppressing the extra visual location indicators when the\n"
310
+ " interpreter displays tracebacks. (-X no_debug_ranges)\n"
314
311
"PYTHONNOUSERSITE: disable user site directory (-s)\n"
315
312
"PYTHONOPTIMIZE : enable level 1 optimizations (-O)\n"
316
313
#ifdef Py_DEBUG
317
- "PYTHON_PRESITE=pkg.mod: import this module before site.py is run\n"
314
+ "PYTHON_PRESITE=pkg.mod: import this module before site.py is run (-X presite) \n"
318
315
#endif
316
+ "PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files\n"
317
+ " (-X pycache_prefix)\n"
319
318
"PYTHONSAFEPATH : don't prepend a potentially unsafe path to sys.path.\n"
320
319
#ifdef Py_STATS
321
- "PYTHONSTATS : turns on statistics gathering \n "
320
+ "PYTHONSTATS : turns on statistics gathering (-X pystats) \n"
322
321
#endif
323
322
"PYTHONUNBUFFERED: disable stdout/stderr buffering (-u)\n"
323
+ "PYTHONUTF8 : if set to 1, enable the UTF-8 mode (-X utf8)\n"
324
324
"PYTHONVERBOSE : trace import statements (-v)\n"
325
+ "PYTHONWARNDEFAULTENCODING: enable opt-in EncodingWarning for 'encoding=None'\n"
326
+ " (-X warn_default_encoding)\n"
325
327
"PYTHONWARNINGS=arg: warning control (-W arg)\n"
326
328
;
327
329
0 commit comments