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 sbt
Recipients aod, sbt
Date 2013-05-15.21:19:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368652740.56.0.406673401326.issue17985@psf.upfronthosting.co.za>
In-reply-to
Content
From the docs:

 qsize()
    Return the approximate size of the queue. Because of
    multithreading/multiprocessing semantics, this number
    is not reliable.

Adding a short sleep before calling qsize() and empty() should make things appear to work.

But really, there are no good reasons for using qsize() except for debugging.  The same applies to queue.Queue.
History
Date User Action Args
2013-05-15 21:19:00sbtsetrecipients: + sbt, aod
2013-05-15 21:19:00sbtsetmessageid: <1368652740.56.0.406673401326.issue17985@psf.upfronthosting.co.za>
2013-05-15 21:19:00sbtlinkissue17985 messages
2013-05-15 21:19:00sbtcreate