]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126180: Remove getopt and optparse deprecation notices (GH-126227)
authorAlyssa Coghlan <ncoghlan@gmail.com>
Mon, 23 Dec 2024 04:17:19 +0000 (14:17 +1000)
committerGitHub <noreply@github.com>
Mon, 23 Dec 2024 04:17:19 +0000 (14:17 +1000)
commit831b6de6d725c697f2f61fd35c4448cd8a9354ff
tree5ec451f169378b3d7659dd2f11ea2abd41d8328f
parent9d3a8f494985e8bbef698c467099370e233fcbd4
gh-126180: Remove getopt and optparse deprecation notices (GH-126227)

* Remove getopt and optparse deprecation notices
* Add new docs sections for command line app helper libraries
* Add guidance on choosing a CLI parsing library to the optparse docs
* Link to the new guidance from the argparse and getopt docs
* Reword intro in docs section for superseded stdlib modules
* Reframe the optparse->argparse guide as a migration guide
  rather than as an upgrade guide

---------

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
12 files changed:
Doc/howto/argparse-optparse.rst
Doc/howto/argparse.rst
Doc/library/allos.rst
Doc/library/argparse.rst
Doc/library/cmdlinelibs.rst [new file with mode: 0644]
Doc/library/filesys.rst
Doc/library/getopt.rst
Doc/library/index.rst
Doc/library/optparse.rst
Doc/library/superseded.rst
Doc/whatsnew/3.13.rst
Misc/NEWS.d/next/Library/2024-10-31-14-31-36.gh-issue-126225.vTxGXm.rst [new file with mode: 0644]