Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jul 7, 2023

Mark the optparse module as soft deprecated.
@vstinner vstinner force-pushed the soft_deprecation branch from 15ee31f to 73aa89c Compare July 7, 2023 21:31
@vstinner vstinner merged commit d524b6f into python:main Jul 7, 2023
@vstinner vstinner 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants