Mike> The real concern is that qsize() > 0 doesn't guarantee that a
Mike> subsequent .get() will not block, nor that qsize() < maxsize
Mike> guarantee that .put() will not block. Incidentally, I find this
Mike> warning much less confusion than the vague "Because of
Mike> multithreading semantics, this number is not reliable." in the
Mike> docs.
I checked in similar change to the trunk version of queue.rst for all three
methods. The qsize() description almost completely matches your text above.
The other two are a bit more cumbersome, but I didn't worry too much about
that since a future merge to the 3.0 branch will delete them anyway.
Thanks for the suggestion.
Skip
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com