[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

Serhiy Storchaka report at bugs.python.org
Fri Aug 18 07:08:52 EDT 2017


Serhiy Storchaka added the comment:

Are all changes are necessary for this issue or some of them are just an optimization? The patch changes the semantic of public attribute unfinished_tasks. Seems that old unfinished_tasks is new unfinished_tasks + _qsize().

----------

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


More information about the Python-bugs-list mailing list