]> granicus.if.org Git - python/commit
bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 28 May 2018 16:04:09 +0000 (09:04 -0700)
committerYury Selivanov <yury@magic.io>
Mon, 28 May 2018 16:04:09 +0000 (12:04 -0400)
commit1f21ae710d83a37c872355612b58958cef4d5f95
treebe3ee424127e334e124dc39c7d90f878d1425a6d
parent51d0a2c8ddcb9f58d71ff0a62be4e31a1af3f139
bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149) (GH-7153)

Fixed bug where calling write_eof() on a _SelectorSocketTransport after
it's already closed raises AttributeError.
(cherry picked from commit 23f587e395e41bd5e116312b036183f42bc4159b)

Co-authored-by: twisteroid ambassador <twisteroidambassador@users.noreply.github.com>
Lib/asyncio/selector_events.py
Lib/test/test_asyncio/test_selector_events.py
Misc/NEWS.d/next/Library/2018-05-28-18-40-26.bpo-31467.s4Fad3.rst [new file with mode: 0644]