8000 gh-126180: Remove getopt and optparse deprecation notices by ncoghlan · Pull Request #126227 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-126180: Remove getopt and optparse deprecation notices #126227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move getopt back to the superseded section
  • Loading branch information
ncoghlan committed Oct 31, 2024
commit 4e50c74ba908c12f36b0e4ce78e21b72fb57b3fe
1 change: 0 additions & 1 deletion Doc/library/cmdlinelibs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Here's an overview:

argparse.rst
optparse.rst
getopt.rst
getpass.rst
fileinput.rst
curses.rst
Expand Down
20 changes: 16 additions & 4 deletions Doc/library/superseded.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,20 @@
Superseded Modules
******************

The modules described in this chapter are deprecated or :term:`soft deprecated` and only kept for
backwards compatibility. They have been superseded by other modules.
The modules described in this chapter have been superseded by other modules
for most use cases, and are retained primarily to preserve backwards compatibility.

With the removal of various obsolete modules through :pep:`594`, there are currently no modules
in this category.
Modules may appear in this chapter because they only cover a limited subset of
a problem space, and a more generally applicable solution is available elsewhere
in the standard library (for example, :mod:`getopt`).

Alternatively, modules may appear in this chapter because they are deprecated
outright, and awaiting removal in a future release, or they are
:term:`soft deprecated` and their use is actively discouraged in new projects.
With the removal of various obsolete modules through :pep:`594`, there are
currently no modules in this latter category.

.. toctree::
:maxdepth: 1

getopt.rst
Loading
0