Message375795
See attached file. The summary is that I start a Process, which starts a Thread, which puts some values on a Queue which was originally created by the parent process and passed down. Usually this works but occasionally the parent process doesn't see the items on the queue: queue.get() times out and queue.empty() is True, although queue.qsize() is accurate.
I can reproduce this on master:
Python 3.10.0a0 (heads/master:802726a, Aug 22 2020, 12:56:09)
[GCC 7.5.0] on linux
as well as other versions I have installed which I've selected. On 3.6 it seems like the problem is even worse and some of my comments don't apply.
I've tested the script on Ubuntu 18.04.4, but the general problem seems to also happen on OSX although I can't confirm that now. |
|
Date |
User |
Action |
Args |
2020-08-22 11:42:15 | alexmojaki | set | recipients:
+ alexmojaki |
2020-08-22 11:42:15 | alexmojaki | set | messageid: <1598096535.13.0.114988714243.issue41614@roundup.psfhosted.org> |
2020-08-22 11:42:15 | alexmojaki | link | issue41614 messages |
2020-08-22 11:42:14 | alexmojaki | create | |
|