@@ -137,18 +137,11 @@ static const char usage_envvars[] =
137
137
" The default module search path uses %s.\n"
138
138
"PYTHONPLATLIBDIR: override sys.platlibdir.\n"
139
139
"PYTHONCASEOK : ignore case in 'import' statements (Windows).\n"
140
- "PYTHONUTF8 : if set to 1, enable the UTF-8 mode.\n"
141
140
"PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n"
142
- "PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.\n"
143
141
"PYTHONHASHSEED : if this variable is set to 'random', a random value is used\n"
144
142
" to seed the hashes of str and bytes objects. It can also be\n"
145
143
" set to an integer in the range [0,4294967295] to get hash\n"
146
144
" values with a predictable seed.\n"
147
- "PYTHONINTMAXSTRDIGITS: limits the maximum digit characters in an int value\n"
148
- " when converting from a string and when converting an int\n"
149
- " back to a str. A value of 0 disables the limit.\n"
150
- " Conversions to or from bases 2, 4, 8, 16, and 32 are never\n"
151
- " limited.\n"
152
145
"PYTHONMALLOC : set the Python memory allocators and/or install debug hooks\n"
153
146
" on Python memory allocators. Use PYTHONMALLOC=debug to\n"
154
147
" install debug hooks.\n"
@@ -159,28 +152,36 @@ static const char usage_envvars[] =
159
152
"PYTHONBREAKPOINT: if this variable is set to 0, it disables the default\n"
160
153
" debugger. It can be set to the callable of your debugger of\n"
161
154
" choice.\n"
162
- "PYTHONDEVMODE : enable the development mode.\n"
163
- "PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files.\n"
164
- "PYTHONWARNDEFAULTENCODING: enable opt-in EncodingWarning for 'encoding=None'.\n"
165
- "PYTHONNODEBUGRANGES: if this variable is set, it disables the inclusion of\n"
166
- " the tables mapping extra location information (end line,\n"
167
- " start column offset and end column offset) to every\n"
168
- " instruction in code objects. This is useful when smaller\n"
169
- " code objects and pyc files are desired as well as\n"
170
- " suppressing the extra visual location indicators when the\n"
171
- " interpreter displays tracebacks.\n"
172
155
"\n"
173
156
"These variables have equivalent command-line options (see --help for details):\n"
174
157
"PYTHONDEBUG : enable parser debug mode (-d)\n"
158
+ "PYTHONDEVMODE : enable the development mode (-X dev)\n"
175
159
"PYTHONDONTWRITEBYTECODE: don't write .pyc files (-B)\n"
160
+ "PYTHONFAULTHANDLER: dump the Python traceback on fatal errors (-X faulthandler)\n"
176
161
"PYTHONINSPECT : inspect interactively after running script (-i)\n"
177
- "PYTHONINTMAXSTRDIGITS: limit max digit characters in an int value\n"
162
+ "PYTHONINTMAXSTRDIGITS: limits the maximum digit characters in an int value\n"
163
+ " when converting from a string and when converting an int\n"
164
+ " back to a str. A value of 0 disables the limit.\n"
165
+ " Conversions to or from bases 2, 4, 8, 16, and 32 are never\n"
166
+ " limited.\n"
178
167
" (-X int_max_str_digits=number)\n"
168
+ "PYTHONNODEBUGRANGES: if this variable is set, it disables the inclusion of\n"
169
+ " the tables mapping extra location information (end line,\n"
170
+ " start column offset and end column offset) to every\n"
171
+ " instruction in code objects. This is useful when smaller\n"
172
+ " code objects and pyc files are desired as well as\n"
173
+ " suppressing the extra visual location indicators when the\n"
174
+ " interpreter displays tracebacks. (-X no_debug_ranges)\n"
179
175
"PYTHONNOUSERSITE: disable user site directory (-s)\n"
180
176
"PYTHONOPTIMIZE : enable level 1 optimizations (-O)\n"
177
+ "PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files\n"
178
+ " (-X pycache_prefix)\n"
181
179
"PYTHONSAFEPATH : don't prepend a potentially unsafe path to sys.path.\n"
182
180
"PYTHONUNBUFFERED: disable stdout/stderr buffering (-u)\n"
181
+ "PYTHONUTF8 : if set to 1, enable the UTF-8 mode (-X utf8)\n"
183
182
"PYTHONVERBOSE : trace import statements (-v)\n"
183
+ "PYTHONWARNDEFAULTENCODING: enable opt-in EncodingWarning for 'encoding=None'\n"
184
+ " (-X warn_default_encoding)\n"
184
185
"PYTHONWARNINGS=arg: warning control (-W arg)\n"
185
186
;
186
187
0 commit comments