1. 19 Kas, 2007 3 kayıt (commit)
  2. 15 Kas, 2007 1 kayıt (commit)
  3. 13 Kas, 2007 2 kayıt (commit)
    • Amaury Forgeot d'Arc's avatar
      Backport for issue1265 (pdb bug with "with" statement). · c572dc37
      Amaury Forgeot d'Arc yazdı
      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.
      
      And the problem can be reproduced in 2.5 with pure python code.
      c572dc37
    • Guido van Rossum's avatar
      News about list_repeat() fix. · f5ccd459
      Guido van Rossum yazdı
      f5ccd459
  4. 12 Kas, 2007 4 kayıt (commit)
  5. 09 Kas, 2007 1 kayıt (commit)
  6. 07 Kas, 2007 3 kayıt (commit)
  7. 06 Kas, 2007 1 kayıt (commit)
    • Gregory P. Smith's avatar
      Backport r58868: · a1e5387e
      Gregory P. Smith yazdı
        Fixes Issue 1385: The hmac module now computes the correct hmac when using
        hashes with a block size other than 64 bytes (such as sha384 and sha512).
      a1e5387e
  8. 04 Kas, 2007 1 kayıt (commit)
  9. 02 Kas, 2007 1 kayıt (commit)
    • Georg Brandl's avatar
      Backport r58709 from trunk: · 1dcb9c93
      Georg Brandl yazdı
      Backport fixes for the code that decodes octal escapes (and for PyString
      also hex escapes) -- this was reaching beyond the end of the input string
      buffer, even though it is not supposed to be \0-terminated.
      This has no visible effect but is clearly the correct thing to do.
      (In 3.0 it had a visible effect after removing ob_sstate from PyString.)
      Also fixes #1098.
      1dcb9c93
  10. 01 Kas, 2007 2 kayıt (commit)
    • Gregory P. Smith's avatar
      Backport r58757, r58758, r58759. · 2c3e0d94
      Gregory P. Smith yazdı
      Undoes incorrect dbtables fix and errant strdup introduced as
      described below:
      
      r58757 | gregory.p.smith | 2007-11-01 14:08:14 -0700 (Thu, 01 Nov 2007) | 4 lines
      
      Fix bug introduced in revision 58385.  Database keys could no longer
      have NULL bytes in them.  Replace the errant strdup with a
      malloc+memcpy.  Adds a unit test for the correct behavior.
      
      r58758 | gregory.p.smith | 2007-11-01 14:15:36 -0700 (Thu, 01 Nov 2007) | 3 lines
      
      Undo revision 58533 58534 fixes.  Those were a workaround for
      a problem introduced by 58385.
      
      r58759 | gregory.p.smith | 2007-11-01 14:17:47 -0700 (Thu, 01 Nov 2007) | 2 lines
      
      false "fix" undone as correct problem was found and fixed.
      2c3e0d94
    • Georg Brandl's avatar
  11. 31 Eki, 2007 2 kayıt (commit)
  12. 25 Eki, 2007 1 kayıt (commit)
  13. 24 Eki, 2007 3 kayıt (commit)
  14. 23 Eki, 2007 2 kayıt (commit)
  15. 19 Eki, 2007 3 kayıt (commit)
  16. 18 Eki, 2007 1 kayıt (commit)
    • Gregory P. Smith's avatar
      Backport 58532, 58533, 58534: · 0dcc3cc9
      Gregory P. Smith yazdı
       - Fix bsddb.dbtables: Don't randomly corrupt newly inserted rows by
         picking a rowid string with null bytes in it.  Such rows could not
         later be deleted, modified or individually selected.  Existing
         bsdTableDb databases created with such rows are out of luck.
       - Use mkdtemp for the test_dbtables test database environment and
         clean it up afterwards using shutil.rmtree.
      0dcc3cc9
  17. 13 Eki, 2007 2 kayıt (commit)
  18. 12 Eki, 2007 5 kayıt (commit)
  19. 09 Eki, 2007 1 kayıt (commit)
  20. 06 Eki, 2007 1 kayıt (commit)