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 r.david.murray
Recipients Roberto Martínez, alexei.romanov, davin, r.david.murray, sbt
Date 2015-03-04.16:04:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425485073.44.0.0209949517391.issue23582@psf.upfronthosting.co.za>
In-reply-to
Content
This is the documented behavior.  "qsize: Return the approximate size of the queue. Note, qsize() > 0 doesn't guarantee that a subsequent get() will not block, nor will qsize() < maxsize guarantee that put() will not block."

It looks like what you want here is get with a timeout, not get_nowait.
History
Date User Action Args
2015-03-04 16:04:33r.david.murraysetrecipients: + r.david.murray, sbt, davin, alexei.romanov, Roberto Martínez
2015-03-04 16:04:33r.david.murraysetmessageid: <1425485073.44.0.0209949517391.issue23582@psf.upfronthosting.co.za>
2015-03-04 16:04:33r.david.murraylinkissue23582 messages
2015-03-04 16:04:33r.david.murraycreate