diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-03-14 12:50:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 12:50:39 (GMT) |
commit | fc4d5fdffe3d9829b118232f35ccee61a27392ee (patch) | |
tree | c128b488dbec8c1e6ae601aecade1707bb22e268 /Python | |
parent | c4a22ad89978ee5c12a178b95203c38502215975 (diff) | |
download | cpython-fc4d5fdffe3d9829b118232f35ccee61a27392ee.zip cpython-fc4d5fdffe3d9829b118232f35ccee61a27392ee.tar.gz cpython-fc4d5fdffe3d9829b118232f35ccee61a27392ee.tar.bz2 |
[3.12] gh-90300: Fix undocumented envvars in the Python CLI help (GH-116765) (GH-116797)
(cherry picked from commit 19ac28bd08fdb16795e6f82ea7bfac73e8f3791b)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/initconfig.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c index 8eb3bba..387dc1f 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -179,9 +179,12 @@ static const char usage_envvars[] = " interpreter displays tracebacks. (-X no_debug_ranges)\n" "PYTHONNOUSERSITE: disable user site directory (-s)\n" "PYTHONOPTIMIZE : enable level 1 optimizations (-O)\n" +"PYTHONPERFSUPPORT: support the Linux \"perf\" profiler (-X perf)\n" +"PYTHONPROFILEIMPORTTIME: show how long each import takes (-X importtime)\n" "PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files\n" " (-X pycache_prefix)\n" "PYTHONSAFEPATH : don't prepend a potentially unsafe path to sys.path.\n" +"PYTHONTRACEMALLOC: trace Python memory allocations (-X tracemalloc)\n" "PYTHONUNBUFFERED: disable stdout/stderr buffering (-u)\n" "PYTHONUTF8 : if set to 1, enable the UTF-8 mode (-X utf8)\n" "PYTHONVERBOSE : trace import statements (-v)\n" |