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

GitHub noreply at github.com
Fri Jun 9 17:07:50 EDT 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: fa7f519113fd32f432f9f52a956bbcdc542dce93
      https://github.com/python/cpython/commit/fa7f519113fd32f432f9f52a956bbcdc542dce93
  Author: Yury Selivanov <yury at magic.io>
  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) (#2037)

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