redbaron <[EMAIL PROTECTED]> writes: > while qresult.qsize(): > result = qresult.get() #this code blocks! > doWithResult(result)
That is unreliable for the reason Antoon explained, and as is
documented in the manual for the Queue module. Write instead
something like (untested):
while True:
try:
result = qresult.get_nowait()
except Empty:
break
doWithResult(result)
--
http://mail.python.org/mailman/listinfo/python-list
