The tragic tale of the deadlocking Python queue
Terry Reedy
tjreedy at udel.edu
Thu Aug 17 11:11:00 EDT 2017
On 8/17/2017 4:31 AM, breamoreboy at gmail.com wrote:
> I found it interesting, possibly some of you may feel the same way so here it is https://codewithoutrules.com/2017/08/16/concurrency-python/
The intro ends with "Weep when you read the response of Python’s
maintainers!", referring to https://bugs.python.org/issue14976. The
issue was originally about signals, threads, and Queue's, which Itamar
admits "don't interact well". The solution to that was to document
"Don't do this.".
Followup: When Itamar posted, yesterday, a clear demonstration that
there is a bug in other, more reasonable code, the response has been to
reopen the issue, with a plan to rewrite in C using (somewhat
ironically) the (somewhat hated) GIL as a lock.
--
Terry Jan Reedy
More information about the Python-list
mailing list