]> granicus.if.org Git - python/commit
bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 28 May 2018 20:25:03 +0000 (13:25 -0700)
committerYury Selivanov <yury@magic.io>
Mon, 28 May 2018 20:25:03 +0000 (16:25 -0400)
commit7e8819a589c7630db9d440826143ad0a1daf948e
tree99135802b4565b988e1e2e8cfb7ac44515682e57
parentc489a767af46f33e73d96a5746e46a7365814db2
bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149) (#7154)

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]