Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Jul 7, 2023

Mark the optparse module as soft deprecated.
@vstinnervstinner merged commit d524b6f into python:mainJul 7, 2023
@vstinnervstinner deleted the soft_deprecation branch July 7, 2023 22:03
Comment on lines +14 to +16
The :mod:`optparse` module is :term:`soft deprecated` and will not be
developed further; development will continue with the :mod:`argparse`
module.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This claim remains in blatant contradiction with the conclusion of #53580 that “argparse is very difficult to change without risk of breaking many existing tools that depend on argparse working exactly the way it does now”.

If argparse has become too difficult to change, even to fix known parsing bugs, then either argparse should be soft-deprecated for the same reason as optparse, or optparse should be un-soft-deprecated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the optparse soft deprecation should be reversed because of how argparse is.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@vstinner@andersk@AraHaan@bedevere-bot