]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145990: sort `--help-env` sections by environment variable name (GH-145997)
authorGregory P. Smith <68491+gpshead@users.noreply.github.com>
Sun, 15 Mar 2026 22:22:57 +0000 (15:22 -0700)
committerGitHub <noreply@github.com>
Sun, 15 Mar 2026 22:22:57 +0000 (15:22 -0700)
commit83edae33a5591c52fa45df38da2616af470f290a
tree156730cec4112bf39cdb769af780c3b05d65e5f4
parentb062f391cfb407b02041737914b4a1f4fb1da87b
gh-145990: sort `--help-env` sections by environment variable name (GH-145997)

* sort --help-env alphabetically by name.
* add a sorting regression test in test_help_env.
Lib/test/test_cmd_line.py
Misc/NEWS.d/next/Core_and_Builtins/2026-03-15-21-45-35.gh-issue-145990.tmXwRB.rst [new file with mode: 0644]
Python/initconfig.c