]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-145990: Sort `python --help-xoptions` by option name (GH-145993)
authorGregory P. Smith <68491+gpshead@users.noreply.github.com>
Sun, 15 Mar 2026 22:17:07 +0000 (15:17 -0700)
committerGitHub <noreply@github.com>
Sun, 15 Mar 2026 22:17:07 +0000 (15:17 -0700)
commit36805f6e4482eebbcaa65f31cbb8770678f308c5
tree7bd640293c322ea770ebc75fa34fbe7d6c5371aa
parente0a8a6da90597a924b300debe045cdb4628ee1f3
[3.14] gh-145990: Sort `python --help-xoptions` by option name (GH-145993)

* Sort --help-xoptions alphabetically by name.
* add a sorting regression test in test_help_xoptions

manual backport of GH-145991
Lib/test/test_cmd_line.py
Misc/NEWS.d/next/Core_and_Builtins/2026-03-15-20-47-34.gh-issue-145990.14BUzw.rst [new file with mode: 0644]
Python/initconfig.c