Message244896
| Author |
serhiy.storchaka |
| Recipients |
berker.peksag, brett.cannon, pitrou, rhettinger, serhiy.storchaka |
| Date |
2015年06月06日.10:21:42 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1433586102.76.0.662503832113.issue24391@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Proposed patch adds makes reprs of threading objects Semaphore, BoundedSemaphore, Event, and Barrier expose their public states. This will help for debugging.
Examples:
<Semaphore: 10 at 0xb710ec8c>
<BoundedSemaphore: 7/10 at 0xb6ff1d6c>
<unset Event at 0xb710ec8c>
<set Event at 0xb710ec8c>
<Barrier: 0/10 at 0xb6ff1d6c>
<Barrier: 3/10 at 0xb6ff1d6c>
<broken Barrier: 3/10 at 0xb6ff1d6c> |
|