https://github.com/python/cpython/commit/0bf2f073194520645abd768f7debc234011e248e
commit: 0bf2f073194520645abd768f7debc234011e248e
branch: main
author: Timofei <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2026-07-08T14:54:24+05:30
summary:
gh-150358: Remove unused _complete_fut attribute from asyncio.StreamWriter
(#150359)
files:
M Lib/asyncio/streams.py
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py
index a28c11e928f806..d6076465f79366 100644
--- a/Lib/asyncio/streams.py
+++ b/Lib/asyncio/streams.py
@@ -321,8 +321,6 @@ def __init__(self, transport, protocol, reader, loop):
assert reader is None or isinstance(reader, StreamReader)
self._reader = reader
self._loop = loop
- self._complete_fut = self._loop.create_future()
- self._complete_fut.set_result(None)
def __repr__(self):
info = [self.__class__.__name__, f'transport={self._transport!r}']
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]