8000 gh-105407: Remove unused imports in the stdlib by vstinner · Pull Request #105411 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-105407: Remove unused imports in the stdlib #105411

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
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Lib/configparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@
import os
import re
import sys
import warnings

__all__ = ("NoSectionError", "DuplicateOptionError", "DuplicateSectionError",
"NoOptionError", "InterpolationError", "InterpolationDepthError",
Expand Down
2 changes: 0 additions & 2 deletions Lib/importlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
# Fully bootstrapped at this point, import whatever you like, circular
# dependencies and startup overhead minimisation permitting :)

import warnings


# Public API #########################################################

Expand Down
1 change: 0 additions & 1 deletion Lib/importlib/metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import functools
import itertools
import posixpath
import contextlib
import collections
import inspect

Expand Down
1 change: 0 additions & 1 deletion Lib/turtle.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
import time
import inspect
import sys
import warnings

from os.path import isfile, split, join
from copy import deepcopy
Expand Down
1 change: 0 additions & 1 deletion Lib/unittest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import sys
import argparse
import os
import warnings

from . import loader, runner
from .signals import installHandler
Expand Down
0