]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145990: Sort `python --help-xoptions` by option name (GH-145991)
authorGregory P. Smith <68491+gpshead@users.noreply.github.com>
Sun, 15 Mar 2026 22:02:14 +0000 (15:02 -0700)
committerGitHub <noreply@github.com>
Sun, 15 Mar 2026 22:02:14 +0000 (22:02 +0000)
commitb062f391cfb407b02041737914b4a1f4fb1da87b
tree2ffaadbdbb3be8d7e218ab94ebc0a003944b6b0f
parentf7cb789dc5ac009fa13c20527de19fb34e0e6ab8
gh-145990: Sort `python --help-xoptions` by option name (GH-145991)

* Sort --help-xoptions alphabetically by name.
* add a sorting regression test in test_help_xoptions
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