1. 25 Eyl, 2002 4 kayıt (commit)
    • Michael W. Hudson's avatar
      backport jhylton's checkin of · 916675bf
      Michael W. Hudson yazdı
          revision 1.32 of urllib2.py
      
      Fix from SF patch #527518: proxy config with user+pass authentication.
      
      Bug fix candidate.
      916675bf
    • Michael W. Hudson's avatar
      backport tim_one's checkin of · 85bcbc33
      Michael W. Hudson yazdı
          revision 2.36 of binascii.c
      
      Another stab at SF 576327: zipfile when sizeof(long) == 8
      binascii_crc32():  The previous patch forced this to return the same
      result across platforms.  This patch deals with that, on a 64-bit box,
      the *entry* value may have "unexpected" bits in the high four bytes.
      
      Bugfix candidate.
      
      --------
      
      More whitespace cleanup related conflict removal... sigh.
      85bcbc33
    • Michael W. Hudson's avatar
      backport tim_one's checkin of · f5cdacfa
      Michael W. Hudson yazdı
          revision 2.35 of binascii.c
      
      Fix for SF bug #576327: zipfile when sizeof(long) == 8
      binascii_crc32():  Make this return a signed 4-byte result across
      platforms.  The other way to make this platform-independent would be to
      make it return an unsigned unbounded int, but the evidence suggests
      other code out there treats it like a signed 4-byte int (e.g., existing
      code writing the result with struct.pack "l" format).
      
      Bugfix candidate.
      f5cdacfa
    • Fred Drake's avatar
  2. 24 Eyl, 2002 27 kayıt (commit)
  3. 23 Eyl, 2002 9 kayıt (commit)
    • Guido van Rossum's avatar
      Backported 1.39 and 1.40 from trunk: · 2992e132
      Guido van Rossum yazdı
      1.39:
      Fix SF bug 610610 (reported by Martijn Pieters, diagnosed by Neal Norwitz).
      
      The switch in Exception__str__ didn't clear the error if
      PySequence_Size() raised an exception.  Added a case -1 which clears
      the error and falls through to the default case.
      
      1.40:
      Two more cases of switch(PySequence_Size()) without checking for case -1.
      (Same problem as last checkin for SF bug 610610)
      Need to clear the error and proceed.
      2992e132
    • Guido van Rossum's avatar
      Backport from trunk: · 67c87194
      Guido van Rossum yazdı
      unicodeobject.c 2.169
      stringobject.c 2.189
      
      Fix warnings on 64-bit platforms about casts from pointers to ints.
      Two of these were real bugs.
      67c87194
    • Guido van Rossum's avatar
      Add the snake-farm crew. · f81d49f6
      Guido van Rossum yazdı
      f81d49f6
    • Guido van Rossum's avatar
      Backport 2.93 from trunk: · 1f4a01f7
      Guido van Rossum yazdı
      Insert an overflow check when the sequence repetition count is outside
      the range of ints.  The old code would pass random truncated bits to
      sq_repeat() on a 64-bit machine.
      1f4a01f7
    • Guido van Rossum's avatar
      Backport 1.51 and 1.54 from trunk. · fb3a921c
      Guido van Rossum yazdı
      1.51:
      Bug #556025: list(xrange(1e9)) --> seg fault
      
      Close the bug report again -- this time for Cygwin due to a newlib bug.
      See the following for the details:
      
      	http://sources.redhat.com/ml/newlib/2002/msg00369.html
      
      Note that this commit is only a documentation (i.e., comment) change.
      
      1.54:
      The list(xrange(sys.maxint / 4)) test blew up on 64-bit platforms.
      Because ob_size is a 32-bit int but sys.maxint is LONG_MAX which is a
      64-bit value, there's no way to make this test succeed on a 64-bit
      platform.  So just skip it when sys.maxint isn't 0x7fffffff.
      fb3a921c
    • Guido van Rossum's avatar
      Backport 2.57 from trunk: · d41f84fc
      Guido van Rossum yazdı
      (Most of) SF patch 601369 (Christos Georgiou): obmalloc,structmodule:
      64bit, big endian (issue 2 only).
      
      This adds a bunch of memcpy calls via a temporary variable to avoid
      alignment errors.  That's needed for some platforms.
      d41f84fc
    • Guido van Rossum's avatar
      Backport 1.56 and 1.68 from trunk: · a9858559
      Guido van Rossum yazdı
      1.56:
      Apply diff3.txt from SF patch http://www.python.org/sf/536241
      
      If a str or unicode method returns the original object,
      make sure that for str and unicode subclasses the original
      will not be returned.
      
      This should prevent SF bug http://www.python.org/sf/460020
      from reappearing.
      
      1.68:
      Fix SF bug 599128, submitted by Inyeol Lee: .replace() would do the
      wrong thing for a unicode subclass when there were zero string
      replacements.  The example given in the SF bug report was only one way
      to trigger this; replacing a string of length >= 2 that's not found is
      another.  The code would actually write outside allocated memory if
      replacement string was longer than the search string.
      a9858559
    • Guido van Rossum's avatar
      Backport 2.166 from trunk: · 1c4a4576
      Guido van Rossum yazdı
      Fix SF bug 599128, submitted by Inyeol Lee: .replace() would do the
      wrong thing for a unicode subclass when there were zero string
      replacements.  The example given in the SF bug report was only one way
      to trigger this; replacing a string of length >= 2 that's not found is
      another.  The code would actually write outside allocated memory if
      replacement string was longer than the search string.
      1c4a4576
    • Guido van Rossum's avatar
      Backport 1.96 from trunk (because I want Xenofarm to test 2.2.2): · 39a8654e
      Guido van Rossum yazdı
      Add a bunch of sys.stdout.flush() calls that will hopefully improve
      the usability of the output of the Xenofarm builds.
      39a8654e