1. 25 Ock, 2009 1 kayıt (commit)
  2. 20 Ock, 2009 1 kayıt (commit)
  3. 09 Ock, 2009 1 kayıt (commit)
  4. 17 Ara, 2008 1 kayıt (commit)
  5. 10 Ara, 2008 1 kayıt (commit)
  6. 08 Ara, 2008 1 kayıt (commit)
  7. 03 Ara, 2008 1 kayıt (commit)
  8. 25 Tem, 2008 1 kayıt (commit)
  9. 16 Tem, 2008 1 kayıt (commit)
  10. 05 Tem, 2008 1 kayıt (commit)
  11. 01 Tem, 2008 2 kayıt (commit)
  12. 09 Haz, 2008 1 kayıt (commit)
  13. 26 May, 2008 1 kayıt (commit)
  14. 27 Nis, 2008 2 kayıt (commit)
  15. 25 Mar, 2008 1 kayıt (commit)
  16. 18 Mar, 2008 3 kayıt (commit)
  17. 07 Mar, 2008 1 kayıt (commit)
  18. 03 Mar, 2008 1 kayıt (commit)
  19. 27 Ock, 2008 1 kayıt (commit)
  20. 23 Ock, 2008 1 kayıt (commit)
  21. 19 Ara, 2007 1 kayıt (commit)
  22. 18 Ara, 2007 2 kayıt (commit)
    • Raymond Hettinger's avatar
      Give meaning to the oparg for BUILD_MAP: estimated size of the dictionary. · fd7ed407
      Raymond Hettinger yazdı
      Allows dictionaries to be pre-sized (upto 255 elements) saving time lost
      to re-sizes with their attendant mallocs and re-insertions.
      
      Has zero effect on small dictionaries (5 elements or fewer), a slight
      benefit for dicts upto 22 elements (because they had to resize once
      anyway), and more benefit for dicts upto 255 elements (saving multiple
      resizes during the build-up and reducing the number of collisions on
      the first insertions).  Beyond 255 elements, there is no addional benefit.
      fd7ed407
    • Raymond Hettinger's avatar
      Speed-up dictionary constructor by about 10%. · effde12f
      Raymond Hettinger yazdı
      New opcode, STORE_MAP saves the compiler from awkward stack manipulations
      and specializes for dicts using PyDict_SetItem instead of PyObject_SetItem.
      
      Old disassembly:
                    0 BUILD_MAP                0
                    3 DUP_TOP
                    4 LOAD_CONST               1 (1)
                    7 ROT_TWO
                    8 LOAD_CONST               2 ('x')
                   11 STORE_SUBSCR
                   12 DUP_TOP
                   13 LOAD_CONST               3 (2)
                   16 ROT_TWO
                   17 LOAD_CONST               4 ('y')
                   20 STORE_SUBSCR
      
      New disassembly:
                    0 BUILD_MAP                0
                    3 LOAD_CONST               1 (1)
                    6 LOAD_CONST               2 ('x')
                    9 STORE_MAP
                   10 LOAD_CONST               3 (2)
                   13 LOAD_CONST               4 ('y')
                   16 STORE_MAP
      effde12f
  23. 14 Ara, 2007 1 kayıt (commit)
  24. 05 Ara, 2007 1 kayıt (commit)
  25. 13 Kas, 2007 1 kayıt (commit)
    • Amaury Forgeot d'Arc's avatar
      Merge from py3k branch: · 0d75f091
      Amaury Forgeot d'Arc yazdı
      Correction for issue1265 (pdb bug with "with" statement).
      
      When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx
      is called with a GeneratorExit exception set.  This leads to funny results
      if the sys.settrace function itself makes use of generators.
      A visible effect is that the settrace function is reset to None.
      Another is that the eventual "finally" block of the generator is not called.
      
      It is necessary to save/restore the exception around the call to the trace
      function.
      
      This happens a lot with py3k: isinstance() of an ABCMeta instance runs
          def __instancecheck__(cls, instance):
              """Override for isinstance(instance, cls)."""
              return any(cls.__subclasscheck__(c)
                         for c in {instance.__class__, type(instance)})
      which lets an opened generator expression each time it returns True.
      
      Backport candidate, even if the case is less frequent in 2.5.
      0d75f091
  26. 07 Kas, 2007 1 kayıt (commit)
  27. 20 Eyl, 2007 1 kayıt (commit)
  28. 19 Eyl, 2007 1 kayıt (commit)
  29. 21 Tem, 2007 1 kayıt (commit)
  30. 21 May, 2007 1 kayıt (commit)
  31. 11 May, 2007 1 kayıt (commit)
  32. 13 Nis, 2007 1 kayıt (commit)
  33. 21 Mar, 2007 1 kayıt (commit)
  34. 05 Mar, 2007 1 kayıt (commit)
  35. 26 Şub, 2007 1 kayıt (commit)