1. 09 Şub, 2007 1 kayıt (commit)
    • Guido van Rossum's avatar
      Fix most trivially-findable print statements. · be19ed77
      Guido van Rossum yazdı
      There's one major and one minor category still unfixed:
      doctests are the major category (and I hope to be able to augment the
      refactoring tool to refactor bona fide doctests soon);
      other code generating print statements in strings is the minor category.
      
      (Oh, and I don't know if the compiler package works.)
      be19ed77
  2. 24 Agu, 2006 1 kayıt (commit)
    • Guido van Rossum's avatar
      Make built-in zip() equal to itertools.izip(). · 801f0d78
      Guido van Rossum yazdı
      I mea, *really* equal -- for now, the implementation just imports
      itertools. :-)
      The only other changes necessary were various unit tests that were
      assuming zip() returns a real list.  No "real" code made this assumption.
      801f0d78
  3. 15 Nis, 2006 1 kayıt (commit)
  4. 24 Eyl, 2005 1 kayıt (commit)
  5. 17 Tem, 2005 1 kayıt (commit)
  6. 12 Tem, 2005 1 kayıt (commit)
    • Michael W. Hudson's avatar
      Fix: · 0edc7a03
      Michael W. Hudson yazdı
      [ 1229429 ] missing Py_DECREF in PyObject_CallMethod
      
      Add a test in test_enumerate, which is a bit random, but suffices
      (reversed_new calls PyObject_CallMethod under some circumstances).
      0edc7a03
  7. 29 Eyl, 2004 1 kayıt (commit)
  8. 27 Eyl, 2004 1 kayıt (commit)
  9. 10 Mar, 2004 2 kayıt (commit)
    • Raymond Hettinger's avatar
      Tidied up the implementations of reversed (including the custom ones · ef9bf403
      Raymond Hettinger yazdı
      for xrange and list objects).
      
      * list.__reversed__ now checks the length of the sequence object before
        calling PyList_GET_ITEM() because the mutable could have changed length.
      
      * all three implementations are now tranparent with respect to length and
        maintain the invariant len(it) == len(list(it)) even when the underlying
        sequence mutates.
      
      * __builtin__.reversed() now frees the underlying sequence as soon
        as the iterator is exhausted.
      
      * the code paths were rearranged so that the most common paths
        do not require a jump.
      ef9bf403
    • Raymond Hettinger's avatar
      Eliminate the double reverse option. It's only use case · d2c36261
      Raymond Hettinger yazdı
      was academic and it was potentially confusing to use.
      d2c36261
  10. 10 Şub, 2004 1 kayıt (commit)
  11. 08 Şub, 2004 1 kayıt (commit)
  12. 16 Kas, 2003 1 kayıt (commit)
    • Raymond Hettinger's avatar
      * Migrate set() and frozenset() from the sandbox. · a690a996
      Raymond Hettinger yazdı
      * Install the unittests, docs, newsitem, include file, and makefile update.
      * Exercise the new functions whereever sets.py was being used.
      
      Includes the docs for libfuncs.tex.  Separate docs for the types are
      forthcoming.
      a690a996
  13. 06 Kas, 2003 1 kayıt (commit)
  14. 29 May, 2003 1 kayıt (commit)
  15. 28 May, 2003 1 kayıt (commit)
  16. 01 May, 2003 1 kayıt (commit)
  17. 23 Tem, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      Get rid of relative imports in all unittests. Now anything that · 04f357cf
      Barry Warsaw yazdı
      imports e.g. test_support must do so using an absolute package name
      such as "import test.test_support" or "from test import test_support".
      
      This also updates the README in Lib/test, and gets rid of the
      duplicate data dirctory in Lib/test/data (replaced by
      Lib/email/test/data).
      
      Now Tim and Jack can have at it. :)
      04f357cf
  18. 20 Haz, 2002 1 kayıt (commit)
  19. 26 Nis, 2002 1 kayıt (commit)