summaryrefslogtreecommitdiffstats
path: root/Lib/Queue.py
Commit message (Collapse)AuthorAgeFilesLines
* Make the maxsize constructor argument default to 0 (an unlimited queue size).Guido van Rossum1999-09-091-1/+1
|
* Tim Peters:Guido van Rossum1999-02-081-42/+40
| | | | | | | | | | | | | | + 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.
* Replace all calls to acquire_lock() and release_lock() with acquire()Guido van Rossum1998-04-291-25/+25
| | | | and release() instead.
* Clarify that put *blocks* when the queue is full. Add some blankGuido van Rossum1998-04-091-1/+6
| | | | lines to doc strings.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-85/+85
|
* (Queue.Empty): When class based exceptions are in force, derive thisBarry Warsaw1997-11-201-116/+130
| | | | | | | | class from the standard base exception Exception. Otherwise define Queue.Empty as a string exception. (Queue): 8-space to 4-space indentation conversion. Also, basically recast all method comments into docstrings.
* Some minute changes.Guido van Rossum1993-12-291-0/+1
|
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-3/+1
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* New module implementing a multi-everything queue.Guido van Rossum1992-08-251-0/+122