This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients Dennis Sweeney, asvetlov, bquinlan, kartiksubbarao, kulikjak, markao, pitrou, thomas-petazzoni, whitslack, yselivanov
Date 2021-11-29.10:47:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638182846.44.0.573798940037.issue43498@roundup.psfhosted.org>
In-reply-to
Content
Thanks for the report.

Atomic copy (`list(self.processes.values()`) should fix the bug, sure.

I doubt if writing a reliable test for this situation is possible; multithreading is hard.

I think we can accept a patch without a test but with an inline comment that describes why copy is crucial.
History
Date User Action Args
2021-11-29 10:47:26asvetlovsetrecipients: + asvetlov, bquinlan, pitrou, yselivanov, thomas-petazzoni, kulikjak, Dennis Sweeney, kartiksubbarao, whitslack, markao
2021-11-29 10:47:26asvetlovsetmessageid: <1638182846.44.0.573798940037.issue43498@roundup.psfhosted.org>
2021-11-29 10:47:26asvetlovlinkissue43498 messages
2021-11-29 10:47:26asvetlovcreate