消息 [396542]
Yes, I think it should at least be documented.
But then it practically says: "Do not use print in your library because it might be used in a threading context" This sounds unacceptable to me.
It would be great to "just make it work".
> I debugged it a bit and I think the race may be between your print statement and the util._flush_std_streams()
Why would print deadlock with a flush? |
|
| 日期 |
用户 |
动作 |
参数 |
| 2021-06-26 06:59:56 | moi90 | 修改 | recipients:
+ moi90, pitrou, davin, iritkatriel |
| 2021-06-26 06:59:56 | moi90 | 修改 | messageid: <1624690796.64.0.349673904917.issue41539@roundup.psfhosted.org> |
| 2021-06-26 06:59:56 | moi90 | 链接 | issue41539 messages |
| 2021-06-26 06:59:56 | moi90 | 创建 | |
|