[Python-checkins] [python/cpython] b8023a: Fix waiter cancellation in asyncio.Lock (#1031)

GitHub noreply at github.com
Fri Jun 9 16:37:49 EDT 2017


  Branch: refs/heads/bpo-27585-3.6
  Home:   https://github.com/python/cpython
  Commit: b8023a36bc9a9bd1362b12e7bc213f8724d720e0
      https://github.com/python/cpython/commit/b8023a36bc9a9bd1362b12e7bc213f8724d720e0
  Author: Mathieu Sornay <msornay at users.noreply.github.com>
  Date:   2017-06-09 (Fri, 09 Jun 2017)

  Changed paths:
    M Lib/asyncio/locks.py
    M Lib/test/test_asyncio/test_locks.py
    M Misc/NEWS

  Log Message:
  -----------
  Fix waiter cancellation in asyncio.Lock (#1031)

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

Issue #27585




More information about the Python-checkins mailing list