]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix waiter cancellation in asyncio.Lock (#1031) (#2038)
authorYury Selivanov <yury@magic.io>
Fri, 9 Jun 2017 21:08:23 +0000 (17:08 -0400)
committerGitHub <noreply@github.com>
Fri, 9 Jun 2017 21:08:23 +0000 (17:08 -0400)
commitd913d1c31733eff5969835e46ae13e2d156dbb1c
tree946c31193becaf4f136a9e8cb0c3e74e862388c2
parent3fc2fa8cb909cb58325f56deb5cd500d278e4102
Fix waiter cancellation in asyncio.Lock (#1031) (#2038)

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