]> granicus.if.org Git - python/commit
bpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462)
authorVictor Stinner <vstinner@redhat.com>
Tue, 8 Jan 2019 01:46:59 +0000 (02:46 +0100)
committerGitHub <noreply@github.com>
Tue, 8 Jan 2019 01:46:59 +0000 (02:46 +0100)
commit80fda712c83f5dd9560d42bf2aa65a72b18b7759
tree35b06401c85bb0f2dbb3fc514a6aa7e0854f8a12
parentfbf50683b3a2301097d5cd48bc68b530c1e1720f
bpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462)

bpo-32622, bpo-35682: Fix asyncio.ProactorEventLoop.sendfile(): don't
attempt to set the result of an internal future if it's already done.

Fix asyncio _ProactorBasePipeTransport._force_close(): don't set the
result of _empty_waiter if it's already done.
Lib/asyncio/proactor_events.py
Misc/NEWS.d/next/Library/2019-01-08-01-54-02.bpo-35682.KDM9lk.rst [new file with mode: 0644]