https://github.com/python/cpython/commit/19ac28bd08fdb16795e6f82ea7bfac73e8f3791b commit: 19ac28bd08fdb16795e6f82ea7bfac73e8f3791b branch: main author: Serhiy Storchaka <[email protected]> committer: serhiy-storchaka <[email protected]> date: 2024-03-14T12:09:19+02:00 summary:
gh-90300: Fix undocumented envvars in the Python CLI help (GH-116765) files: M Python/initconfig.c diff --git a/Python/initconfig.c b/Python/initconfig.c index f365bee89a5f3b..bbd611f7f7a48c 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -310,15 +310,18 @@ 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" #ifdef Py_DEBUG "PYTHON_PRESITE=pkg.mod: import this module before site.py is run (-X presite)\n" #endif +"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" #ifdef Py_STATS "PYTHONSTATS : turns on statistics gathering (-X pystats)\n" #endif +"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" _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
