]> granicus.if.org Git - python/commit
bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149)
authortwisteroid ambassador <twisteroidambassador@users.noreply.github.com>
Mon, 28 May 2018 15:16:45 +0000 (23:16 +0800)
committerYury Selivanov <yury@magic.io>
Mon, 28 May 2018 15:16:45 +0000 (11:16 -0400)
commit23f587e395e41bd5e116312b036183f42bc4159b
tree2a6453563194a9a1cba255b08a2c9a2d27810da0
parent35230d08e09de4e2e52658d5cb09e5b0ca965418
bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149)

Fixed bug where calling write_eof() on a _SelectorSocketTransport after
it's already closed raises AttributeError.
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]