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 serhiy.storchaka
Recipients berker.peksag, rhettinger, serhiy.storchaka
Date 2014-04-03.10:12:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396519957.12.0.873699619742.issue21137@psf.upfronthosting.co.za>
In-reply-to
Content
The repr of threading._RLock contains owner and count, but not lock/unlock status. The repr of locks from _dummy_thread also should contain lock/unlock status. And it would be nice to have the open/closed status in the repr of other synchronization primitives: Condition, Semaphore, etc. 

As for tests, I think assertRegex() will produce more useful error report.
History
Date User Action Args
2014-04-03 10:12:37serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, berker.peksag
2014-04-03 10:12:37serhiy.storchakasetmessageid: <1396519957.12.0.873699619742.issue21137@psf.upfronthosting.co.za>
2014-04-03 10:12:37serhiy.storchakalinkissue21137 messages
2014-04-03 10:12:36serhiy.storchakacreate