]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-145990: sort `--help-env` sections by environment variable name (GH-146001)
authorGregory P. Smith <68491+gpshead@users.noreply.github.com>
Sun, 15 Mar 2026 22:55:08 +0000 (15:55 -0700)
committerGitHub <noreply@github.com>
Sun, 15 Mar 2026 22:55:08 +0000 (22:55 +0000)
commitb8cb83703f08e6546ae45b39f74026e79c77f149
treea1033f657429711ffbefa9e1290301e5de073360
parent36805f6e4482eebbcaa65f31cbb8770678f308c5
[3.14] gh-145990: sort `--help-env` sections by environment variable name (GH-146001)

* sort --help-env alphabetically by name.
* add a sorting regression test in test_help_env.

manual backport of GH-145997
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