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, 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>
History
Date User Action Args
2015-06-06 10:21:42serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, rhettinger, pitrou, berker.peksag
2015-06-06 10:21:42serhiy.storchakasetmessageid: <1433586102.76.0.662503832113.issue24391@psf.upfronthosting.co.za>
2015-06-06 10:21:42serhiy.storchakalinkissue24391 messages
2015-06-06 10:21:42serhiy.storchakacreate