summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-13 14:28:41 (GMT)
committerGitHub <noreply@github.com>2022-06-13 14:28:41 (GMT)
commit259dd71c32a42708a2800c72898e2664a33fda9c (patch)
tree5c9a1e367ccc37526054a30867a14db9ad45430a /Lib/asyncio
parent65ac273280fa909f42dd78f3da634e6669e2b63d (diff)
downloadcpython-259dd71c32a42708a2800c72898e2664a33fda9c.zip
cpython-259dd71c32a42708a2800c72898e2664a33fda9c.tar.gz
cpython-259dd71c32a42708a2800c72898e2664a33fda9c.tar.bz2
gh-84623: Remove unused imports in stdlib (#93773)
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/base_futures.py1
-rw-r--r--Lib/asyncio/coroutines.py1
-rw-r--r--Lib/asyncio/locks.py1
-rw-r--r--Lib/asyncio/runners.py1
-rw-r--r--Lib/asyncio/streams.py1
5 files changed, 0 insertions, 5 deletions
diff --git a/Lib/asyncio/base_futures.py b/Lib/asyncio/base_futures.py
index cd811a7..7987963 100644
--- a/Lib/asyncio/base_futures.py
+++ b/Lib/asyncio/base_futures.py
@@ -1,7 +1,6 @@
__all__ = ()
import reprlib
-from _thread import get_ident
from . import format_helpers
diff --git a/Lib/asyncio/coroutines.py b/Lib/asyncio/coroutines.py
index 0e4b489..7fda0e4 100644
--- a/Lib/asyncio/coroutines.py
+++ b/Lib/asyncio/coroutines.py
@@ -4,7 +4,6 @@ import collections.abc
import inspect
import os
import sys
-import traceback
import types
diff --git a/Lib/asyncio/locks.py b/Lib/asyncio/locks.py
index e711302..42177f1 100644
--- a/Lib/asyncio/locks.py
+++ b/Lib/asyncio/locks.py
@@ -8,7 +8,6 @@ import enum
from . import exceptions
from . import mixins
-from . import tasks
class _ContextManagerMixin:
async def __aenter__(self):
diff --git a/Lib/asyncio/runners.py b/Lib/asyncio/runners.py
index 065691b..f524c3b 100644
--- a/Lib/asyncio/runners.py
+++ b/Lib/asyncio/runners.py
@@ -5,7 +5,6 @@ import enum
import functools
import threading
import signal
-import sys
from . import coroutines
from . import events
from . import exceptions
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py
index a568c4e..9a16903 100644
--- a/Lib/asyncio/streams.py
+++ b/Lib/asyncio/streams.py
@@ -4,7 +4,6 @@ __all__ = (
import socket
import sys
-import warnings
import weakref
if hasattr(socket, 'AF_UNIX'):