Skip to content

Multiple unused imports in the source code #106200

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

Closed
sobolevn opened this issue Jun 28, 2023 · 0 comments
Closed

Multiple unused imports in the source code #106200

sobolevn opened this issue Jun 28, 2023 · 0 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@sobolevn
Copy link
Member

sobolevn commented Jun 28, 2023

Found by python/core-workflow#505

Affected:

Lib/poplib.py:454:5: F811 redefinition of unused 'sys' from line 19
Lib/test/test_capi/test_misc.py:1826:9: F811 redefinition of unused 'json' from line 9
Lib/test/test_capi/test_misc.py:1905:9: F811 redefinition of unused 'json' from line 9
Lib/test/test_tokenize.py:12:1: F811 redefinition of unused 'os_helper' from line 9
Tools/cases_generator/lexer.py:253:5: F811 redefinition of unused 'sys' from line 6

PR is ready.

Linked PRs

@sobolevn sobolevn added the type-bug An unexpected behavior, bug, or error label Jun 28, 2023
@sobolevn sobolevn self-assigned this Jun 28, 2023
@erlend-aasland erlend-aasland added the stdlib Python modules in the Lib dir label Jun 28, 2023
sobolevn added a commit to sobolevn/cpython that referenced this issue Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants