summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/proactor_events.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2024-03-12 00:31:49 (GMT)
committerGitHub <noreply@github.com>2024-03-12 00:31:49 (GMT)
commitba13215eb1ec20b6af10e3fcee7a725bd7a7f83e (patch)
tree19615f6a1d8d22a9fe494bcfbf2cfe5bb50bf1e9 /Lib/asyncio/proactor_events.py
parent2b67fc57f6e97c8389fe970ed232c1ad484113e1 (diff)
downloadcpython-ba13215eb1ec20b6af10e3fcee7a725bd7a7f83e.zip
cpython-ba13215eb1ec20b6af10e3fcee7a725bd7a7f83e.tar.gz
cpython-ba13215eb1ec20b6af10e3fcee7a725bd7a7f83e.tar.bz2
gh-113538: Revert "gh-113538: Add asycio.Server.{close,abort}_clients (#114432)" (#116632)
Revert "gh-113538: Add asycio.Server.{close,abort}_clients (#114432)" Reason: The new test doesn't always pass: https://github.com/python/cpython/pull/116423#issuecomment-1989425489 This reverts commit 1d0d49a7e86257ff95b4de0685e6997d7533993c.
Diffstat (limited to 'Lib/asyncio/proactor_events.py')
-rw-r--r--Lib/asyncio/proactor_events.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py
index 397a8cd..a512db6 100644
--- a/Lib/asyncio/proactor_events.py
+++ b/Lib/asyncio/proactor_events.py
@@ -63,7 +63,7 @@ class _ProactorBasePipeTransport(transports._FlowControlMixin,
self._called_connection_lost = False
self._eof_written = False
if self._server is not None:
- self._server._attach(self)
+ self._server._attach()
self._loop.call_soon(self._protocol.connection_made, self)
if waiter is not None:
# only wake up the waiter when connection_made() has been called
@@ -167,7 +167,7 @@ class _ProactorBasePipeTransport(transports._FlowControlMixin,
self._sock = None
server = self._server
if server is not None:
- server._detach(self)
+ server._detach()
self._server = None
self._called_connection_lost = True