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

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


  Branch: refs/heads/bpo-27585-3.5
  Home:   https://github.com/python/cpython
  Commit: 7e1cc8ce730fafa3f02ad0d11e0692b62ab4ba3b
      https://github.com/python/cpython/commit/7e1cc8ce730fafa3f02ad0d11e0692b62ab4ba3b
  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