13 Commits (511491ade0bb77febb176bc75f049797f0c71ed0)

Author SHA1 Message Date
Terry Jan Reedy 7608b607b1 Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get 13 years ago
Brett Cannon cd171c8e92 Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 13 years ago
Brett Cannon 0a140668fa Issue #18200: Update the stdlib (except tests) to use 13 years ago
Victor Stinner ec89539ccc Issue #14428, #14397: Implement the PEP 418 14 years ago
Victor Stinner 3d7c878fe3 Issue #14222: Use the new time.steady() function instead of time.time() for 14 years ago
Raymond Hettinger 7b7caa8ec6 Fix nasty typo 14 years ago
Raymond Hettinger 0c5e52f0bd Make the docstring style consistent. 14 years ago
Raymond Hettinger 61bd72924e Improve clarity with keyword argument for block. Move nowait methods together. 14 years ago
Raymond Hettinger 143f51ade5 Minor code clean-ups and beautifications. 14 years ago
Raymond Hettinger 7540427434 Simplify the code using with-statements. 14 years ago
Raymond Hettinger 189316a2e3 Issue 10110: Let Queue.put recognize a full queue when the maxsize parameter has been reduced. 15 years ago
Benjamin Peterson 0ed52455b7 port the queue change r70405 17 years ago
Raymond Hettinger 611eaf0e66 Document the suggested alternative to emtpy() and full(). 17 years ago
Benjamin Peterson 672b8031a8 Merged revisions 64125 via svnmerge from 18 years ago
Georg Brandl 6153ab3fee Queue renaming reversal part 2: move module. 18 years ago
Alexandre Vassalotti f260e443ac Rename Queue module to queue. 18 years ago
Alexandre Vassalotti 30ece44f2e Added stub for the Queue module to be renamed in 3.0. 18 years ago
Raymond Hettinger 35641461db Sync-up Queue.py with Py2.6 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 ae138cbfbb Refactor if/elif chain for clarity and speed 18 years ago
Raymond Hettinger da3caedc55 Remove Queue.empty() and Queue.full() in favor of using qsize() or trapping the Empty and Full exceptions. 18 years ago
Thomas Wouters 89f507fe8c Four months of trunk changes (including a few releases...) 19 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
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Skip Montanaro 86116e2b75 document the class, not its initializer 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 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