summaryrefslogtreecommitdiff
path: root/Lib/queue.py
AgeCommit message (Collapse)AuthorLines
2018-01-16bpo-14976: Reentrant simple queue (#3346)Antoine Pitrou-4/+82
Add a queue.SimpleQueue class, an unbounded FIFO queue with a reentrant C implementation of put().
2017-09-07bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou-4/+1
* Remove Setup.config * Always define WITH_THREAD for compatibility.
2014-09-02Issue #22043: time.monotonic() is now always availableVictor Stinner-4/+1
threading.Lock.acquire(), threading.RLock.acquire() and socket operations now use a monotonic clock, instead of the system clock, when a timeout is used.
2013-08-10Issue #18676: Change 'positive' to 'non-negative' in queue.py put and getTerry Jan Reedy-4/+4
docstrings and ValueError messages. Patch by Zhongyue Luo
2012-04-29Issue #14428, #14397: Implement the PEP 418Victor Stinner-1/+4
* Rename time.steady() to time.monotonic() * On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of QueryPerformanceCounter() * time.monotonic() uses CLOCK_HIGHRES if available * Add time.get_clock_info(), time.perf_counter() and time.process_time() functions
2012-03-15Issue #14222: Use the new time.steady() function instead of time.time() forVictor Stinner-1/+1
timeout in queue and threading modules to not be affected of system time update.
2012-01-09Fix nasty typoRaymond Hettinger-1/+1
2012-01-09Make the docstring style consistent.Raymond Hettinger-24/+23
2012-01-09Improve clarity with keyword argument for block. Move nowait methods together.Raymond Hettinger-9/+9
2012-01-09Minor code clean-ups and beautifications.Raymond Hettinger-17/+17
2012-01-07Simplify the code using with-statements.Raymond Hettinger-28/+14
2010-10-31Issue 10110: Let Queue.put recognize a full queue when the maxsize ↵Raymond Hettinger-5/+5
parameter has been reduced.
2009-03-21port the queue change r70405Benjamin Peterson-8/+8
2009-03-06Document the suggested alternative to emtpy() and full().Raymond Hettinger-2/+19
2008-06-11Merged revisions 64125 via svnmerge fromBenjamin Peterson-1/+1
svn+ssh://pythondev@svn.python.org/python/trunk ........ r64125 | benjamin.peterson | 2008-06-11 12:27:50 -0500 (Wed, 11 Jun 2008) | 2 lines give the threading API PEP 8 names ........
2008-05-11Rename Queue module to queue.Alexandre Vassalotti-0/+244
Updated documentation to use new name. Merged revisions 63077 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63077 | alexandre.vassalotti | 2008-05-11 15:39:48 -0400 (Sun, 11 May 2008) | 3 lines Added stub for the Queue module to be renamed in 3.0. Use the 3.0 module name to avoid spurious warnings. ........