Skip to content
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

Document PEP 387 Soft Deprecation #106535

Closed
vstinner opened this issue Jul 7, 2023 · 1 comment
Closed

Document PEP 387 Soft Deprecation #106535

vstinner opened this issue Jul 7, 2023 · 1 comment
Labels
docs Documentation in the Doc dir

Comments

@vstinner
Copy link
Member

vstinner commented Jul 7, 2023

@vstinner vstinner added the docs Documentation in the Doc dir label Jul 7, 2023
vstinner added a commit to vstinner/cpython that referenced this issue Jul 7, 2023
vstinner added a commit to vstinner/cpython that referenced this issue Jul 7, 2023
Mark the optparse module as soft deprecated.
vstinner added a commit that referenced this issue Jul 7, 2023
Mark the optparse module as soft deprecated.
vstinner added a commit to vstinner/cpython that referenced this issue Jul 7, 2023
The getopt module exists since the initial revision of the Python
source code (1990). The optparse module was added to Python 2.3. When
Python 2.7 added the 3rd argparse module, the optparse module was
soft deprecated. Soft deprecate the getopt module.
vstinner added a commit that referenced this issue Jul 8, 2023
The getopt module exists since the initial revision of the Python
source code (1990). The optparse module was added to Python 2.3. When
Python 2.7 added the 3rd argparse module, the optparse module was
soft deprecated. Soft deprecate the getopt module.
@ncoghlan
Copy link
Contributor

Note that PEP 389 specifically stated that getopt was not deprecated: https://peps.python.org/pep-0389/#updates-to-getopt-documentation

Follow-up on this in #126225

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
Projects
None yet
Development

No branches or pull requests

2 participants