[issue21009] Potential deadlock in concurrent futures when garbage collection occurs during Queue.get

Patrik Dufresne report at bugs.python.org
Tue Sep 6 14:33:57 EDT 2016


Patrik Dufresne added the comment:

I've encounter this issue. To easily avoid this issue, I've change `queue.put(None)` to `queue.put(None, block=False)` to work around this.

----------
nosy: +Patrik Dufresne

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21009>
_______________________________________


More information about the Python-bugs-list mailing list