summaryrefslogtreecommitdiffstats
path: root/Lib/stringold.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-02-08 18:34:01 (GMT)
committerGuido van Rossum <guido@python.org>1999-02-08 18:34:01 (GMT)
commit9e1721fa797ea4ecab64977563967fffeae8f5f7 (patch)
tree30f2605589ff493f5fd5b748d89172e2f7905d8f /Lib/stringold.py
parent68de0641ce97d820999b6ce8d67aa9b08823b8bf (diff)
downloadcpython-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 'Lib/stringold.py')
0 files changed, 0 insertions, 0 deletions