bb8114cbe633d8d66a595099d6680c8cf7f8abe5 |
|
11-Aug-2013 |
Terry Jan Reedy <tjreedy@udel.edu> |
Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get docstrings and ValueError messages. Patch by Zhongyue Luo
/external/python/cpython2/Lib/Queue.py
|
fc9ea97a18c2c25045b4cc993932702b30df239c |
|
15-Mar-2009 |
Georg Brandl <georg@python.org> |
Move the previously local import of threading to module level. This is cleaner and avoids lockups in obscure cases where a Queue is instantiated while the import lock is already held by another thread. OKed by Tim Peters.
/external/python/cpython2/Lib/Queue.py
|
0fbcf6945584b1b2a7564680de50c062fc4dce1c |
|
11-Jun-2008 |
Benjamin Peterson <benjamin@python.org> |
give the threading API PEP 8 names
/external/python/cpython2/Lib/Queue.py
|
a6168f9e0a0ff77910e783df36f5dd4b5dfa7372 |
|
25-May-2008 |
Georg Brandl <georg@python.org> |
Queue renaming reversal part 3: move module into place and change imports and other references. Closes #2925.
/external/python/cpython2/Lib/Queue.py
|
f4e83deddaeaab237d2626986702d0c819d7f4c3 |
|
12-May-2008 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Moved the Queue module stub in lib-old.
/external/python/cpython2/Lib/Queue.py
|
30ece44f2e5397e8501380349fd5278e6f64f555 |
|
11-May-2008 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Added stub for the Queue module to be renamed in 3.0. Use the 3.0 module name to avoid spurious warnings.
/external/python/cpython2/Lib/Queue.py
|
9e1bc982ffa454dc3002ec9cb1f01d2d0ce5f255 |
|
17-Jan-2008 |
Raymond Hettinger <python@rcn.com> |
Add queues will alternative fetch orders (priority based and stack based).
/external/python/cpython2/Lib/Queue.py
|
f59e962b494905796d5f0e74e7a97274c04ff19f |
|
15-Jan-2008 |
Raymond Hettinger <python@rcn.com> |
Refactor if/elif chain for clarity and speed. Remove dependency on subclasses having to implement _empty and _full.
/external/python/cpython2/Lib/Queue.py
|
a3c77677caf9724ac2a9ba1183d3e594d78dfc5c |
|
23-Nov-2006 |
Raymond Hettinger <python@rcn.com> |
... and the number of the counting shall be three.
/external/python/cpython2/Lib/Queue.py
|
86116e2b75ca86363105b9788bcab1309098ff6c |
|
10-Jun-2006 |
Skip Montanaro <skip@pobox.com> |
document the class, not its initializer
/external/python/cpython2/Lib/Queue.py
|
c4e94b90a84a1127078bdb9f63707eb71fedece3 |
|
25-Mar-2006 |
Raymond Hettinger <python@rcn.com> |
Don't decrement below zero. And add more tests.
/external/python/cpython2/Lib/Queue.py
|
e33901eb2b196149eab06f2943256e07b494fbb1 |
|
25-Mar-2006 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/Queue.py
|
fd3fcf0b35a479c3df4999d9bad2337a5e3af140 |
|
24-Mar-2006 |
Raymond Hettinger <python@rcn.com> |
SF Patch #1455676: Simplify using Queues with daemon consumer threads Adds join() and task_done() methods to track when all enqueued tasks have been gotten and fully processed by daemon consumer threads.
/external/python/cpython2/Lib/Queue.py
|
71ed2201e247d54f498e0b905cb8564dbe02088a |
|
12-Jul-2004 |
Tim Peters <tim.peters@gmail.com> |
Simplified the new get/get_nowait/put/put_nowait implementations a bit.
/external/python/cpython2/Lib/Queue.py
|
5af0e414822e0e5da17566e1156005df520d1ae0 |
|
12-Jul-2004 |
Tim Peters <tim.peters@gmail.com> |
Bug #788520: Queue class has logic error when non-blocking I don't agree it had a bug (see the report), so this is *not* a candidate for backporting, but the docs were confusing and the Queue implementation was old enough to vote. Rewrote put/put_nowait/get/get_nowait from scratch, to use a pair of Conditions (not_full and not_empty), sharing a common mutex. The code is 1/4 the size now, and 6.25x easier to understand. For blocking with timeout, we also get to reuse (indirectly) the tedious timeout code from threading.Condition. The Full and Empty exceptions raised by non-blocking calls are now easy (instead of nearly impossible) to explain truthfully: Full is raised if and only if the Queue truly is full when the non-blocking put call checks the queue size, and similarly for Empty versus non-blocking get. What I don't know is whether the new implementation is slower (or faster) than the old one. I don't really care. Anyone who cares a lot is encouraged to check that.
/external/python/cpython2/Lib/Queue.py
|
756b3f3c15bd314ffa25299ca25465ae21e62a30 |
|
29-Jan-2004 |
Raymond Hettinger <python@rcn.com> |
* Move collections.deque() in from the sandbox * Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming
/external/python/cpython2/Lib/Queue.py
|
b42bb5a88a646433d81461ebfe94db7cec57b585 |
|
01-Jul-2003 |
Brett Cannon <bcannon@gmail.com> |
Add __all__ .
/external/python/cpython2/Lib/Queue.py
|
a0934246d3ee4061e93805d056759f3f40ec45de |
|
30-Dec-2002 |
Guido van Rossum <guido@python.org> |
Use the dummy_thread module in Queue.py and tempfile.py. tempfile.py already contained code to let it run without threads present; for Queue.py this is considered a useful feature too.
/external/python/cpython2/Lib/Queue.py
|
77ac429eff2e2398c250b79fb59cd36ffba6916e |
|
15-Oct-2002 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #572628: Optional timeouts for put and get.
/external/python/cpython2/Lib/Queue.py
|
46ac8eb3c899b498299a2f8fbcdd4ed3f32addba |
|
30-Jun-2002 |
Raymond Hettinger <python@rcn.com> |
Code modernization. Replace v=s[i]; del s[i] with single lookup v=s.pop(i)
/external/python/cpython2/Lib/Queue.py
|
3b959dbcaffe7fce27b21cde42b7d77a8ac29191 |
|
19-Apr-2002 |
Mark Hammond <mhammond@skippinet.com.au> |
Fix bug 544473 - "Queue module can deadlock". Use try/finally to ensure all Queue locks remain stable. Includes test case. Bugfix candidate.
/external/python/cpython2/Lib/Queue.py
|
78349072f7c8f2d3da6f552665f9f381930c3c42 |
|
18-Feb-2001 |
Skip Montanaro <skip@pobox.com> |
removed __all__ from several modules
/external/python/cpython2/Lib/Queue.py
|
e99d5ea25ba994491c773d9b5872332334ccd1c5 |
|
20-Jan-2001 |
Skip Montanaro <skip@pobox.com> |
added __all__ lists to a number of Python modules added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
/external/python/cpython2/Lib/Queue.py
|
b8c941771a5f92d68cefb1fec1636947e8a99f4e |
|
15-Jan-2001 |
Tim Peters <tim.peters@gmail.com> |
Variant of Skip's patch 103246 (Remove unneeded string exception compat from Queue).
/external/python/cpython2/Lib/Queue.py
|
a05e293a219f0fbaf4301fa7a292b9578a523675 |
|
28-Jun-2000 |
Jeremy Hylton <jeremy@alum.mit.edu> |
typos fixed by Rob Hooft
/external/python/cpython2/Lib/Queue.py
|
4acc25bd392216c4f867a10ca8081e7c8a739676 |
|
02-Feb-2000 |
Guido van Rossum <guido@python.org> |
Mass patch by Ka-Ping Yee: 1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old).
/external/python/cpython2/Lib/Queue.py
|
a41c691371db36bc4868f08b71d617a78280b240 |
|
09-Sep-1999 |
Guido van Rossum <guido@python.org> |
Make the maxsize constructor argument default to 0 (an unlimited queue size).
/external/python/cpython2/Lib/Queue.py
|
9e1721fa797ea4ecab64977563967fffeae8f5f7 |
|
08-Feb-1999 |
Guido van Rossum <guido@python.org> |
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.
/external/python/cpython2/Lib/Queue.py
|
7e6d18c1c0694d41108ba5324441afe1b8096f46 |
|
29-Apr-1998 |
Guido van Rossum <guido@python.org> |
Replace all calls to acquire_lock() and release_lock() with acquire() and release() instead.
/external/python/cpython2/Lib/Queue.py
|
c09e6b1c0ab8ea6e0f2cc77e87a602e909385c43 |
|
09-Apr-1998 |
Guido van Rossum <guido@python.org> |
Clarify that put *blocks* when the queue is full. Add some blank lines to doc strings.
/external/python/cpython2/Lib/Queue.py
|
45e2fbc2e70ef28b1f0327207f33dab3a4e825c5 |
|
26-Mar-1998 |
Guido van Rossum <guido@python.org> |
Mass check-in after untabifying all files that need it.
/external/python/cpython2/Lib/Queue.py
|
3d96d522ecc6adfc77fe3f1f6a47f11655c9a304 |
|
20-Nov-1997 |
Barry Warsaw <barry@python.org> |
(Queue.Empty): When class based exceptions are in force, derive this 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.
/external/python/cpython2/Lib/Queue.py
|
dd8cb446e19cb24131227bd66aa690b34e64a75a |
|
29-Dec-1993 |
Guido van Rossum <guido@python.org> |
Some minute changes.
/external/python/cpython2/Lib/Queue.py
|
7bc817d5ba917528e8bd07ec461c635291e7b06a |
|
17-Dec-1993 |
Guido van Rossum <guido@python.org> |
* Mass change: get rid of all init() methods, in favor of __init__() 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)
/external/python/cpython2/Lib/Queue.py
|
9022fceae814a3099d8678c662e541f0caeb0026 |
|
25-Aug-1992 |
Guido van Rossum <guido@python.org> |
New module implementing a multi-everything queue.
/external/python/cpython2/Lib/Queue.py
|