- 10 Haz, 2006 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 25 Mar, 2006 2 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Tim Peters yazdı
-
- 24 Mar, 2006 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Adds join() and task_done() methods to track when all enqueued tasks have been gotten and fully processed by daemon consumer threads.
-
- 12 Tem, 2004 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Tim Peters yazdı
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.
-
- 29 Ock, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming
-
- 01 Tem, 2003 1 kayıt (commit)
-
-
Brett Cannon yazdı
-
- 30 Ara, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
tempfile.py already contained code to let it run without threads present; for Queue.py this is considered a useful feature too.
-
- 15 Eki, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 30 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 19 Nis, 2002 1 kayıt (commit)
-
-
Mark Hammond yazdı
Use try/finally to ensure all Queue locks remain stable. Includes test case. Bugfix candidate.
-
- 18 Şub, 2001 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 20 Ock, 2001 1 kayıt (commit)
-
-
Skip Montanaro yazdı
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.
-
- 15 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 28 Haz, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 02 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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).
-
- 09 Eyl, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 08 Şub, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
+ 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.
-
- 29 Nis, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
and release() instead.
-
- 09 Nis, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
lines to doc strings.
-
- 26 Mar, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 20 Kas, 1997 1 kayıt (commit)
-
-
Barry Warsaw yazdı
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.
-
- 29 Ara, 1993 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 17 Ara, 1993 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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)
-
- 25 Agu, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-