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 Sudharsan R
Recipients Sudharsan R, rhettinger
Date 2016-05-04.19:50:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462391425.57.0.279592729306.issue26958@psf.upfronthosting.co.za>
In-reply-to
Content
Just add on to it..
q=queue.Queue()
with q.not_full:
	q.put_nowait(1)

this will hang. So if we acquire the not_full while computing size, all puts will wait. Same is the case for q.empty() and q.not_empty method and condition respectively.
History
Date User Action Args
2016-05-04 19:50:25Sudharsan Rsetrecipients: + Sudharsan R, rhettinger
2016-05-04 19:50:25Sudharsan Rsetmessageid: <1462391425.57.0.279592729306.issue26958@psf.upfronthosting.co.za>
2016-05-04 19:50:25Sudharsan Rlinkissue26958 messages
2016-05-04 19:50:25Sudharsan Rcreate