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 aod
Recipients aod
Date 2013-05-15.20:41:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368650472.41.0.00471316865127.issue17985@psf.upfronthosting.co.za>
In-reply-to
Content
The problem is that Queue.empty() is True even if Queue.qsize()>0!


#!/usr/bin/python

from multiprocessing import Queue

numbers=Queue()
for i in range (0,10):
    numbers.put(i)

if numbers.qsize()>0 and numbers.empty():
    print "BUG?!"
History
Date User Action Args
2013-05-15 20:41:12aodsetrecipients: + aod
2013-05-15 20:41:12aodsetmessageid: <1368650472.41.0.00471316865127.issue17985@psf.upfronthosting.co.za>
2013-05-15 20:41:12aodlinkissue17985 messages
2013-05-15 20:41:12aodcreate