Skip to content

gh-106535: Document PEP 387 Soft Deprecation #106536

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 1 commit into from
Jul 7, 2023

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.

None yet

4 participants