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

getopt doesn't seem deprecated #10211

Closed
aaronliu0130 opened this issue Feb 1, 2025 · 2 comments · Fixed by #10213
Closed

getopt doesn't seem deprecated #10211

aaronliu0130 opened this issue Feb 1, 2025 · 2 comments · Fixed by #10213
Labels
False Positive 🦟 A message is emitted but nothing is wrong with the code Good first issue Friendly and approachable by new contributors Needs PR This issue is accepted, sufficiently specified and now needs an implementation

Comments

@aaronliu0130
Copy link
Contributor

Bug description

# pylint: disable=unused-import
import getopt

Configuration

Command used

pylint a.py

Pylint output

************* Module a
a.py:2:0: W4901: Deprecated module 'getopt' (deprecated-module)

Expected behavior

Nothing. I get that we should be migrating away from getopt anyhow, but getopt doesn't seem to actually be within any of 3.13's deprecations.

Pylint version

Since 3.3.0

OS / Environment

No response

Additional dependencies

@aaronliu0130 aaronliu0130 added the Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling label Feb 1, 2025
@jacobtylerwalls
Copy link
Member

getopt was very recently undeprecated. Would you like to help out by preparing a PR? If you grep the source, you'll see the line that needs removing.

@jacobtylerwalls jacobtylerwalls added False Positive 🦟 A message is emitted but nothing is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation Good first issue Friendly and approachable by new contributors and removed Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling labels Feb 1, 2025
@aaronliu0130
Copy link
Contributor Author

getopt was very recently undeprecated.

Wow, that's very interesting timing.

Would you like to help out by preparing a PR?

Sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
False Positive 🦟 A message is emitted but nothing is wrong with the code Good first issue Friendly and approachable by new contributors Needs PR This issue is accepted, sufficiently specified and now needs an implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants