Message367674
| Author | Delgan |
|---|---|
| Recipients | Delgan, pitrou |
| Date | 2020-04-29.16:37:49 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1588178269.72.0.276416187738.issue40399@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Yeah, I just wanted to illustrate the issue with a more realistic example. The thread is often abstracted away by a class or a library. Conclusion: do not abstract it away. :) I've noticed that the mere fact of using "sys.stderr.write()", without even involving a queue, could cause the problem. Out of curiosity: my understanding of "sys.stderr" being a "TextIOWrapper" implies it's not thread-safe. Therefore, do you have any idea of which lock is involved in this issue? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-04-29 16:37:49 | Delgan | set | recipients: + Delgan, pitrou |
| 2020-04-29 16:37:49 | Delgan | set | messageid: <1588178269.72.0.276416187738.issue40399@roundup.psfhosted.org> |
| 2020-04-29 16:37:49 | Delgan | link | issue40399 messages |
| 2020-04-29 16:37:49 | Delgan | create | |