]> granicus.if.org Git - python/commit
Tim Peters:
authorGuido van Rossum <guido@python.org>
Mon, 8 Feb 1999 18:34:01 +0000 (18:34 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 8 Feb 1999 18:34:01 +0000 (18:34 +0000)
commit9e1721fa797ea4ecab64977563967fffeae8f5f7
tree30f2605589ff493f5fd5b748d89172e2f7905d8f
parent68de0641ce97d820999b6ce8d67aa9b08823b8bf
Tim Peters:

+ Implements a put_nowait method.
+ Adds a corresponding Queue.Full exception.
+ Simplifies the implementation by adding optional "block" args to get() and
put(), and makes the old get_nowait() and new put_nowait() one-line
redirections to get() and put().
+ Uses (much) simpler logic for the nowait cases.
+ Regularizes the doc strings to something closer to "Guido style" <wink>.
+ Converts two stray tabs into spaces.
+ Removes confusing verbiage about the queue "not being available" from the
docstrings -- never knew what that meant as a user, and after digging into
the implementation still didn't know what it was trying to say.
Lib/Queue.py