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 iritkatriel
Recipients fviard, iritkatriel, urnenfeld, vinay.sajip, yselivanov
Date 2021-12-05.22:46:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> 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:56iritkatrielsetrecipients: + iritkatriel, vinay.sajip, fviard, yselivanov, urnenfeld
2021-12-05 22:46:55iritkatrielsetmessageid: <>
2021-12-05 22:46:55iritkatriellinkissue25668 messages
2021-12-05 22:46:55iritkatrielcreate