Message215436
| 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: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 |
|