New submission from sss:

The lock.py file prints

DEADLOCK HERE
_locked:  False
_waiters: deque([<Future cancelled>])

I think the problem is that acquire() will block because of the cancelled 
future in _waiters, but release() has already ran so no one will wake it up.

----------
components: asyncio
files: lock.py
messages: 270944
nosy: gvanrossum, haypo, sss, yselivanov
priority: normal
severity: normal
status: open
title: asyncio.Lock deadlock after cancellation
versions: Python 3.5
Added file: http://bugs.python.org/file43820/lock.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27585>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to