]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35065: Remove `StreamReaderProtocol._untrack_reader` (#10212)
authorVincent Michel <vxgmichel@gmail.com>
Thu, 8 Nov 2018 12:21:47 +0000 (13:21 +0100)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 8 Nov 2018 12:21:47 +0000 (14:21 +0200)
commitfd512d76456b65c529a5bc58d8cfe73e4a10de7a
tree0a3f0c1943f446a886837ea1234021b4e1a9203c
parent5d95312fb8eb1684879b9fb8c5c928089326d0df
bpo-35065: Remove `StreamReaderProtocol._untrack_reader` (#10212)

The call to `_untrack_reader` is performed too soon, causing the protocol
to forget about the reader before `connection_lost` can run and feed the
EOF to the reader. See bpo-35065.
Lib/asyncio/streams.py
Lib/asyncio/subprocess.py
Lib/test/test_asyncio/test_streams.py
Misc/NEWS.d/next/Library/2018-10-29-10-18-31.bpo-35065.CulMN8.rst [new file with mode: 0644]