Message215436
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. |
|
Date |
User |
Action |
Args |
2014-04-03 10:12:37 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, berker.peksag |
2014-04-03 10:12:37 | serhiy.storchaka | set | messageid: <1396519957.12.0.873699619742.issue21137@psf.upfronthosting.co.za> |
2014-04-03 10:12:37 | serhiy.storchaka | link | issue21137 messages |
2014-04-03 10:12:36 | serhiy.storchaka | create | |
|