1. 10 Eki, 2006 8 kayıt (commit)
  2. 09 Eki, 2006 8 kayıt (commit)
    • Tim Peters's avatar
      Backport rev 51262 from trunk -- squashes a compiler warning on Windows · 0af9b879
      Tim Peters yazdı
      about truly wrong code.
      
      Checkin comment from 51262:
      
      Can't return NULL from a void function.  If there is a memory error,
      about the best we can do is call PyErr_WriteUnraisable and go on.
      We won't be able to do the call below either, so verify delstr is valid.
      0af9b879
    • Tim Peters's avatar
      Move fetching of encoding test files from the end of the · 99887e14
      Tim Peters yazdı
      Windows builbot's "build" step to the start of its "test"
      step.
      
      This is poke-and-hope.  The hope is that compilation failures
      on Windows will become visible to the buildbot (bsddb has
      apparently been failing to compile in 2.4 on Windows "for
      some time" now, but the buildbots haven't noticed that).
      99887e14
    • Tim Peters's avatar
      Backport of the pieces of trunk rev 46589 relevant to · 2b37ea40
      Tim Peters yazdı
      fixing an unlikely crash bug in dict resizing, SF
      bug 1456209.
      
      The rest of rev 46589 changes whether Python suppresses
      exceptions during some dict-related comparisons.  While I
      think that's a good idea, it does change visible behavior at
      times, and there was already some complaining about that on
      the trunk.  Not a good idea for backporting.  The part of
      46589 checked in here can at worst stop segfaults, and I doubt
      anyone will gripe about that ;-)
      2b37ea40
    • Martin v. Löwis's avatar
      Backport r45505, r45573, r45576 · b8f82e6f
      Martin v. Löwis yazdı
      - reset errno before calling confstr - use confstr() doc to simplify
        checks afterwards
      - Correct implementation and documentation of os.confstr.  Add a simple
        test case.  I've yet to figure out how to provoke a None return I can test.
      - Address issues brought up by MvL on python-checkins.
        I tested this with valgrind on amd64.
      
        The man pages I found for diff architectures are inconsistent on this.
        I'm not entirely sure this change is correct for all architectures
        either.
      
        Perhaps we should just over-allocate and not worry about it?
      
      The change to return None instead of "" in case of unconfigured
      values has not been backported.
      b8f82e6f
    • Andrew M. Kuchling's avatar
      [Partial backport of r45947 | neal.norwitz] · 2fafa251
      Andrew M. Kuchling yazdı
      Fix problems found by Coverity.
      
      longobject.c: also fix an ssize_t problem
        <a> could have been NULL, so hoist the size calc to not use <a>.
      
      [The ssize_t change isn't needed for 2.4.  The other changes in this revision
       are to modules not present in 2.4. --amk]
      2fafa251
    • Andrew M. Kuchling's avatar
      [Partial backport of r45947 | neal.norwitz] · cebdc5e3
      Andrew M. Kuchling yazdı
      Fix problems found by Coverity.
      
      _ssl.c: under fail: self is DECREF'd, but it would have been NULL.
      
      _csv.c: I'm not sure if lineterminator could have been anything other than
      a string.  However, other string method calls are checked, so check this
      one too.
      cebdc5e3
    • Andrew M. Kuchling's avatar
      [Backport r42951 | guido.van.rossum] · e0235ae1
      Andrew M. Kuchling yazdı
      Fix three nits found by Coverity, adding null checks and comments.
      
      [This commit only makes two changes.  One change in the original patch
       is just adding a comment, and another adds a 'base != NULL' check to
       silence Coverity, but a comment adds that that base is never going to
       be NULL.  I didn't backport that change. --amk]
      e0235ae1
    • Andrew M. Kuchling's avatar
  3. 08 Eki, 2006 5 kayıt (commit)
  4. 06 Eki, 2006 6 kayıt (commit)
  5. 05 Eki, 2006 13 kayıt (commit)