diff options
author | Guido van Rossum <guido@python.org> | 1999-02-08 18:34:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-02-08 18:34:01 (GMT) |
commit | 9e1721fa797ea4ecab64977563967fffeae8f5f7 (patch) | |
tree | 30f2605589ff493f5fd5b748d89172e2f7905d8f /Modules | |
parent | 68de0641ce97d820999b6ce8d67aa9b08823b8bf (diff) | |
download | cpython-9e1721fa797ea4ecab64977563967fffeae8f5f7.zip cpython-9e1721fa797ea4ecab64977563967fffeae8f5f7.tar.gz cpython-9e1721fa797ea4ecab64977563967fffeae8f5f7.tar.bz2 |
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.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions