]> granicus.if.org Git - python/commit
Fix waiter cancellation in asyncio.Lock (#1031) (#2037)
authorYury Selivanov <yury@magic.io>
Fri, 9 Jun 2017 21:07:48 +0000 (17:07 -0400)
committerGitHub <noreply@github.com>
Fri, 9 Jun 2017 21:07:48 +0000 (17:07 -0400)
commitfa7f519113fd32f432f9f52a956bbcdc542dce93
tree566f78459461f67737b425f96947294ee41a330a
parente89f95bfd0881a9b80c3b1430d154a77bdf5a824
Fix waiter cancellation in asyncio.Lock (#1031) (#2037)

Avoid a deadlock when the waiter who is about to take the lock is
cancelled

Issue #27585
Lib/asyncio/locks.py
Lib/test/test_asyncio/test_locks.py
Misc/NEWS