bpo-40443: Remove unused imports in the stdlib (GH-19803)
This commit is contained in:
parent
3209cbd99b
commit
90549676e0
|
@ -19,7 +19,6 @@ import sys
|
|||
import threading
|
||||
|
||||
from . import format_helpers
|
||||
from . import exceptions
|
||||
|
||||
|
||||
class Handle:
|
||||
|
|
|
@ -5,7 +5,6 @@ try:
|
|||
except ImportError: # pragma: no cover
|
||||
ssl = None
|
||||
|
||||
from . import base_events
|
||||
from . import constants
|
||||
from . import protocols
|
||||
from . import transports
|
||||
|
|
|
@ -12,7 +12,6 @@ __author__ = "Nadeem Vawda <nadeem.vawda@gmail.com>"
|
|||
from builtins import open as _builtin_open
|
||||
import io
|
||||
import os
|
||||
import warnings
|
||||
import _compression
|
||||
from threading import RLock
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@ Process #1..n:
|
|||
|
||||
__author__ = 'Brian Quinlan (brian@sweetapp.com)'
|
||||
|
||||
import atexit
|
||||
import os
|
||||
from concurrent.futures import _base
|
||||
import queue
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
__author__ = 'Brian Quinlan (brian@sweetapp.com)'
|
||||
|
||||
import atexit
|
||||
from concurrent.futures import _base
|
||||
import itertools
|
||||
import queue
|
||||
|
|
|
@ -3,7 +3,6 @@ import os
|
|||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import sysconfig
|
||||
import unittest
|
||||
import test.support
|
||||
from ctypes.util import find_library
|
||||
|
|
|
@ -7,8 +7,6 @@ import marshal
|
|||
import os
|
||||
import io
|
||||
import sys
|
||||
import types
|
||||
import warnings
|
||||
|
||||
|
||||
LOAD_CONST = dis.opmap['LOAD_CONST']
|
||||
|
|
|
@ -51,7 +51,6 @@ __all__ = [
|
|||
|
||||
import binascii
|
||||
import codecs
|
||||
import contextlib
|
||||
import datetime
|
||||
import enum
|
||||
from io import BytesIO
|
||||
|
@ -59,7 +58,6 @@ import itertools
|
|||
import os
|
||||
import re
|
||||
import struct
|
||||
from warnings import warn
|
||||
from xml.parsers.expat import ParserCreate
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
"""Implementation of the DOM Level 3 'LS-Load' feature."""
|
||||
|
||||
import copy
|
||||
import warnings
|
||||
import xml.dom
|
||||
|
||||
from xml.dom.NodeFilter import NodeFilter
|
||||
|
|
|
@ -4,7 +4,6 @@ Read and write ZIP files.
|
|||
XXX references to utf-8 need further investigation.
|
||||
"""
|
||||
import binascii
|
||||
import functools
|
||||
import importlib.util
|
||||
import io
|
||||
import itertools
|
||||
|
|
Loading…
Reference in New Issue