]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-126180: Remove getopt and optparse deprecation notices (GH-128191)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Dec 2024 04:40:59 +0000 (05:40 +0100)
committerGitHub <noreply@github.com>
Mon, 23 Dec 2024 04:40:59 +0000 (04:40 +0000)
commit6f3c2c8d04e4981bdc3aec54e14236119c1aedcc
tree7840f45157fa1823f061cdff1552248e7616c3cf
parent09d15aa9a87f69867e69f00d0e9671d70a4a49c5
[3.13] gh-126180: Remove getopt and optparse deprecation notices (GH-128191)

* 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

---------
(cherry picked from commit 831b6de6d725c697f2f61fd35c4448cd8a9354ff)

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
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]