bpo-40443: Remove unused imports in the stdlib (GH-19803)

This commit is contained in:
Victor Stinner 2020-04-30 11:26:33 +02:00 committed by GitHub
parent 3209cbd99b
commit 90549676e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 0 additions and 12 deletions

View File

@ -19,7 +19,6 @@ import sys
import threading
from . import format_helpers
from . import exceptions
class Handle:

View File

@ -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

View File

@ -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

View File

@ -45,7 +45,6 @@ Process #1..n:
__author__ = 'Brian Quinlan (brian@sweetapp.com)'
import atexit
import os
from concurrent.futures import _base
import queue

View File

@ -5,7 +5,6 @@
__author__ = 'Brian Quinlan (brian@sweetapp.com)'
import atexit
from concurrent.futures import _base
import itertools
import queue

View File

@ -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

View File

@ -7,8 +7,6 @@ import marshal
import os
import io
import sys
import types
import warnings
LOAD_CONST = dis.opmap['LOAD_CONST']

View File

@ -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

View File

@ -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

View File

@ -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