[issue30457] Allow retrieve the number of waiters pending for most of the asyncio lock primitives

pfreixes report at bugs.python.org
Wed Oct 11 02:31:23 EDT 2017


pfreixes <pfreixes at gmail.com> added the comment:

Not really, your code never removes the key from the events. If the cache is cleaned all further executions will keep forever in the `wait` statement. It is needed to create the Event again to perform at least one query to retrieve the cache value.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30457>
_______________________________________


More information about the Python-bugs-list mailing list