]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-145990: sort --help-env first section by name (others and xoptions already...
authorGregory P. Smith <68491+gpshead@users.noreply.github.com>
Sun, 15 Mar 2026 22:35:53 +0000 (15:35 -0700)
committerGitHub <noreply@github.com>
Sun, 15 Mar 2026 22:35:53 +0000 (22:35 +0000)
commit102cd617639cef4acff964c0372e14685d660ecf
treecb8bfef9dd9c7ef6e86ecb89f4d1fbe252e6d6ee
parent84694020832e2752a4dc96dfe2f726c114a8b47b
[3.13] gh-145990: sort --help-env first section by name (others and xoptions already sorted) (GH-146003)

* sort `--help-env` sections by environment variable name
  Only needed in the first section, in 3.13 the second section was already sorted.
* regression test for --help-env & --help-xoptions sort order

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