34 Commits (284fa08eb783a48f98eabda25aaaebefb5937cce)

Author SHA1 Message Date
Georg Brandl fc9ea97a18 Move the previously local import of threading to module level. 17 years ago
Benjamin Peterson 0fbcf69455 give the threading API PEP 8 names 18 years ago
Georg Brandl a6168f9e0a Queue renaming reversal part 3: move module into place and 18 years ago
Georg Brandl 6153ab3fee Queue renaming reversal part 2: move module. 18 years ago
Alexandre Vassalotti 30ece44f2e Added stub for the Queue module to be renamed in 3.0. 18 years ago
Raymond Hettinger 9e1bc982ff Add queues will alternative fetch orders (priority based and stack based). 18 years ago
Raymond Hettinger f59e962b49 Refactor if/elif chain for clarity and speed. Remove dependency on subclasses having to implement _empty and _full. 18 years ago
Raymond Hettinger 1c305dbf97 Fix nit in comment. 19 years ago
Raymond Hettinger a3c77677ca ... and the number of the counting shall be three. 19 years ago
Skip Montanaro 86116e2b75 document the class, not its initializer 20 years ago
Raymond Hettinger c4e94b90a8 Don't decrement below zero. And add more tests. 20 years ago
Tim Peters e33901eb2b Whitespace normalization. 20 years ago
Raymond Hettinger fd3fcf0b35 SF Patch #1455676: Simplify using Queues with daemon consumer threads 20 years ago
Tim Peters 71ed2201e2 Simplified the new get/get_nowait/put/put_nowait implementations a bit. 22 years ago
Tim Peters 5af0e41482 Bug #788520: Queue class has logic error when non-blocking 22 years ago
Raymond Hettinger 756b3f3c15 * Move collections.deque() in from the sandbox 22 years ago
Brett Cannon b42bb5a88a Add __all__ . 23 years ago
Guido van Rossum a0934246d3 Use the dummy_thread module in Queue.py and tempfile.py. 23 years ago
Martin v. Löwis 77ac429eff Patch #572628: Optional timeouts for put and get. 24 years ago
Raymond Hettinger 46ac8eb3c8 Code modernization. Replace v=s[i]; del s[i] with single lookup v=s.pop(i) 24 years ago
Mark Hammond 3b959dbcaf Fix bug 544473 - "Queue module can deadlock". 24 years ago
Skip Montanaro 78349072f7 removed __all__ from several modules 25 years ago
Skip Montanaro e99d5ea25b added __all__ lists to a number of Python modules 25 years ago
Tim Peters b8c941771a Variant of Skip's patch 103246 (Remove unneeded string exception compat from Queue). 25 years ago
Jeremy Hylton a05e293a21 typos fixed by Rob Hooft 26 years ago
Guido van Rossum 4acc25bd39 Mass patch by Ka-Ping Yee: 26 years ago
Guido van Rossum a41c691371 Make the maxsize constructor argument default to 0 (an unlimited queue size). 27 years ago
Guido van Rossum 9e1721fa79 Tim Peters: 27 years ago
Guido van Rossum 7e6d18c1c0 Replace all calls to acquire_lock() and release_lock() with acquire() 28 years ago
Guido van Rossum c09e6b1c0a Clarify that put *blocks* when the queue is full. Add some blank 28 years ago
Guido van Rossum 45e2fbc2e7 Mass check-in after untabifying all files that need it. 28 years ago
Barry Warsaw 3d96d522ec (Queue.Empty): When class based exceptions are in force, derive this 29 years ago
Guido van Rossum dd8cb446e1 Some minute changes. 33 years ago
Guido van Rossum 7bc817d5ba * Mass change: get rid of all init() methods, in favor of __init__() 33 years ago
Guido van Rossum 9022fceae8 New module implementing a multi-everything queue. 34 years ago