Message407753
> Please tell me what is unusual for you with this testcase?
Grabbing a lock in __str__/__repr__ strikes me as unusual and a recipe for problems.
You don't really know when those functions are called - from the debugger, from exception handlers, etc.. Even if the logging module protected you from the deadlock you found, you won't be safe from similar situations with other libraries that use locks. |
|
Date |
User |
Action |
Args |
2021-12-05 22:46:56 | iritkatriel | set | recipients:
+ iritkatriel, vinay.sajip, fviard, yselivanov, urnenfeld |
2021-12-05 22:46:55 | iritkatriel | set | messageid: <1638744415.97.0.836496154292.issue25668@roundup.psfhosted.org> |
2021-12-05 22:46:55 | iritkatriel | link | issue25668 messages |
2021-12-05 22:46:55 | iritkatriel | create | |
|