1. 10 Haz, 2006 1 kayıt (commit)
  2. 25 Mar, 2006 2 kayıt (commit)
  3. 24 Mar, 2006 1 kayıt (commit)
  4. 12 Tem, 2004 2 kayıt (commit)
    • Tim Peters's avatar
    • Tim Peters's avatar
      Bug #788520: Queue class has logic error when non-blocking · 5af0e414
      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.
      5af0e414
  5. 29 Ock, 2004 1 kayıt (commit)
  6. 01 Tem, 2003 1 kayıt (commit)
  7. 30 Ara, 2002 1 kayıt (commit)
  8. 15 Eki, 2002 1 kayıt (commit)
  9. 30 Haz, 2002 1 kayıt (commit)
  10. 19 Nis, 2002 1 kayıt (commit)
  11. 18 Şub, 2001 1 kayıt (commit)
  12. 20 Ock, 2001 1 kayıt (commit)
    • Skip Montanaro's avatar
      added __all__ lists to a number of Python modules · e99d5ea2
      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.
      e99d5ea2
  13. 15 Ock, 2001 1 kayıt (commit)
  14. 28 Haz, 2000 1 kayıt (commit)
  15. 02 Şub, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Mass patch by Ka-Ping Yee: · 4acc25bd
      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).
      4acc25bd
  16. 09 Eyl, 1999 1 kayıt (commit)
  17. 08 Şub, 1999 1 kayıt (commit)
    • Guido van Rossum's avatar
      Tim Peters: · 9e1721fa
      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.
      9e1721fa
  18. 29 Nis, 1998 1 kayıt (commit)
  19. 09 Nis, 1998 1 kayıt (commit)
  20. 26 Mar, 1998 1 kayıt (commit)
  21. 20 Kas, 1997 1 kayıt (commit)
  22. 29 Ara, 1993 1 kayıt (commit)
  23. 17 Ara, 1993 1 kayıt (commit)
  24. 25 Agu, 1992 1 kayıt (commit)