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

Tim Peters report at bugs.python.org
Sat Sep 2 17:43:23 EDT 2017


Tim Peters added the comment:

[Guido]
> Why was task management ever added?

Raymond published a "joinable" queue class as a recipe here:

http://code.activestate.com/recipes/475160-taskqueue/

and later folded it into the standard Python queue.  So the usual answer applies:  "it was easy to add and sometimes useful, so it seemed like a good idea at the time" ;-)

----------

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


More information about the Python-bugs-list mailing list