1. 25 Şub, 2006 1 kayıt (commit)
    • Guido van Rossum's avatar
      - Patch 1433928: · 1968ad32
      Guido van Rossum yazdı
        - The copy module now "copies" function objects (as atomic objects).
        - dict.__getitem__ now looks for a __missing__ hook before raising
          KeyError.
        - Added a new type, defaultdict, to the collections module.
          This uses the new __missing__ hook behavior added to dict (see above).
      1968ad32
  2. 16 Ock, 2005 1 kayıt (commit)
  3. 27 May, 2004 1 kayıt (commit)
  4. 04 Mar, 2004 1 kayıt (commit)
  5. 21 Ara, 2003 1 kayıt (commit)
  6. 04 Ara, 2003 1 kayıt (commit)
  7. 06 Mar, 2003 1 kayıt (commit)
  8. 31 Ock, 2003 1 kayıt (commit)
  9. 22 Ock, 2003 1 kayıt (commit)
    • Raymond Hettinger's avatar
      SF patch #667730: More DictMixin · 51f3f1b7
      Raymond Hettinger yazdı
      Sebastien Keim pointed out that iterkeys and __contains__ require
      their own definitions so their behavior will update when the
      underlying method is subclassed.
      51f3f1b7
  10. 27 Kas, 2002 1 kayıt (commit)
  11. 22 Kas, 2002 1 kayıt (commit)
    • Raymond Hettinger's avatar
      Implement dict() style constructor. · 54405456
      Raymond Hettinger yazdı
      Already supported dict() and dict(mapping).
      Now supports dict(itemsequence) and
      Just van Rossum's new syntax for dict(keywordargs).
      
      Also, added related unittests.
      
      The docs already promise dict-like behavior
      so no update is needed there.
      54405456
  12. 18 Kas, 2002 1 kayıt (commit)
    • Raymond Hettinger's avatar
      Improve DictMixin. · 8ddc176e
      Raymond Hettinger yazdı
      Replaced docstring with comments.  Prevents subclass contamination.
      Added the missing __cmp__() method and a test for __cmp__().
      Used try/except style in preference to has_key() followed by a look-up.
      Used iteritem() where possible to save creating a long key list and
         to save redundant lookups.
      Expanded .update() to look for the most helpful methods first and gradually
         work down to a mininum expected interface.
      Expanded documentation to be more clear on how to use the class.
      8ddc176e
  13. 15 Kas, 2002 1 kayıt (commit)
  14. 13 Nis, 2002 1 kayıt (commit)
  15. 05 Kas, 2001 1 kayıt (commit)
  16. 07 Agu, 2001 1 kayıt (commit)
  17. 18 Haz, 2001 1 kayıt (commit)
  18. 03 May, 2001 1 kayıt (commit)
  19. 21 Nis, 2001 1 kayıt (commit)
  20. 18 Şub, 2001 1 kayıt (commit)
  21. 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
  22. 12 Ara, 2000 1 kayıt (commit)
  23. 08 Agu, 2000 1 kayıt (commit)
  24. 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
  25. 26 Mar, 1999 1 kayıt (commit)
  26. 26 Mar, 1998 1 kayıt (commit)
  27. 06 Eki, 1997 1 kayıt (commit)
  28. 03 Haz, 1997 2 kayıt (commit)
  29. 30 Kas, 1993 1 kayıt (commit)
    • Guido van Rossum's avatar
      * test_*.py: new lambda syntax (also affects tests for filter, map, · ae3b3a33
      Guido van Rossum yazdı
        reduce)
      * ftplib.py: added default callback for retrlines; added dir() method
      * ftplib.py: don't return self in self.connect(); added hack so that if
        'CDUP' is not understood, 'CWD ..' is tried.
      * ftplib.py: second method called init() should have been called
        connect(); if __init__ sees more than one argument, it will also try to
        login().
      ae3b3a33