1. 14 Mar, 2002 7 kayıt (commit)
  2. 13 Mar, 2002 4 kayıt (commit)
  3. 12 Mar, 2002 4 kayıt (commit)
  4. 11 Mar, 2002 16 kayıt (commit)
    • Fred Drake's avatar
      Documentation for PyObject_GetIter(), contributed by Greg Chapman · 8a944345
      Fred Drake yazdı
      (with only minor changes by Fred).
      This closes SF bug #498607.
      8a944345
    • Michael W. Hudson's avatar
      backport loewis' checkin of · 3ddf8e33
      Michael W. Hudson yazdı
          revision 1.66 of ftplib.py
      
      Access the exception argument to see whether it starts with '500'.
      Fixes #527855.
      3ddf8e33
    • Michael W. Hudson's avatar
      backport gvanrossum's checkin of · fd268a19
      Michael W. Hudson yazdı
          revision 1.117 of test_descr.py
      
      Bugfix candidate.
      Adapter from SF patch 528038; fixes SF bug 527816.
      
      The wrapper for __nonzero__ should be wrap_inquiry rather than
      wrap_unaryfunc, since the slot returns an int, not a PyObject *.
      fd268a19
    • Michael W. Hudson's avatar
      backport gvanrossum's checkin of · 095fbeb5
      Michael W. Hudson yazdı
          revision 2.128 of typeobject.c
      
      Bugfix candidate.
      Adapter from SF patch 528038; fixes SF bug 527816.
      
      The wrapper for __nonzero__ should be wrap_inquiry rather than
      wrap_unaryfunc, since the slot returns an int, not a PyObject *.
      095fbeb5
    • Michael W. Hudson's avatar
      I *think* this should go in. May be wrong -- please howl in protest · 98f5a893
      Michael W. Hudson yazdı
      if so.
      
      backport jhylton's checkin of
          revision 1.46 of httplib.py
      
      Fix SF bug 525520.
      
      Don't automatically add a Host: header if the headers passed to
      request() already has a Host key.
      98f5a893
    • Michael W. Hudson's avatar
      backport tim_one's checkin of · f97cf81f
      Michael W. Hudson yazdı
          revision 2.111 of floatobject.c
      
      SF bug 525705:  [2.2] underflow raise OverflowException.
      Another year in the quest to out-guess random C behavior.
      
      Added macros Py_ADJUST_ERANGE1(X) and Py_ADJUST_ERANGE2(X, Y).  The latter
      is useful for functions with complex results.  Two corrections to errno-
      after-libm-call are attempted:
      
      1. If the platform set errno to ERANGE due to underflow, clear errno.
         Some unknown subset of libm versions and link options do this.  It's
         allowed by C89, but I never figured anyone would do it.
      
      2. If the platform did not set errno but overflow occurred, force
         errno to ERANGE.  C89 required setting errno to ERANGE, but C99
         doesn't.  Some unknown subset of libm versions and link options do
         it the C99 way now.
      
      Bugfix candidate, but hold off until some Linux people actually try it,
      with and without -lieee.  I'll send a help plea to Python-Dev.
      f97cf81f
    • Michael W. Hudson's avatar
      backport tim_one's checkin of · b5c20424
      Michael W. Hudson yazdı
          revision 2.28 of cmathmodule.c
      
      SF bug 525705:  [2.2] underflow raise OverflowException.
      Another year in the quest to out-guess random C behavior.
      
      Added macros Py_ADJUST_ERANGE1(X) and Py_ADJUST_ERANGE2(X, Y).  The latter
      is useful for functions with complex results.  Two corrections to errno-
      after-libm-call are attempted:
      
      1. If the platform set errno to ERANGE due to underflow, clear errno.
         Some unknown subset of libm versions and link options do this.  It's
         allowed by C89, but I never figured anyone would do it.
      
      2. If the platform did not set errno but overflow occurred, force
         errno to ERANGE.  C89 required setting errno to ERANGE, but C99
         doesn't.  Some unknown subset of libm versions and link options do
         it the C99 way now.
      
      Bugfix candidate, but hold off until some Linux people actually try it,
      with and without -lieee.  I'll send a help plea to Python-Dev.
      b5c20424
    • Michael W. Hudson's avatar
      This has been declared to work. · 879e96f7
      Michael W. Hudson yazdı
      backport tim_one's checkin of
          revision 2.45 of pyport.h
      
      SF bug 525705:  [2.2] underflow raise OverflowException.
      Another year in the quest to out-guess random C behavior.
      
      Added macros Py_ADJUST_ERANGE1(X) and Py_ADJUST_ERANGE2(X, Y).  The latter
      is useful for functions with complex results.  Two corrections to errno-
      after-libm-call are attempted:
      
      1. If the platform set errno to ERANGE due to underflow, clear errno.
         Some unknown subset of libm versions and link options do this.  It's
         allowed by C89, but I never figured anyone would do it.
      
      2. If the platform did not set errno but overflow occurred, force
         errno to ERANGE.  C89 required setting errno to ERANGE, but C99
         doesn't.  Some unknown subset of libm versions and link options do
         it the C99 way now.
      
      Bugfix candidate, but hold off until some Linux people actually try it,
      with and without -lieee.  I'll send a help plea to Python-Dev.
      879e96f7
    • Michael W. Hudson's avatar
      backport tim_one's checkin of · db780071
      Michael W. Hudson yazdı
          revision 2.248 of bltinmodule.c
      
      Docstring for filter():  Someone on the Tutor list reasonably complained
      that it didn't tell enough of the truth.
      Bugfix candidate (I guess -- it helps and it's harmless).
      db780071
    • Michael W. Hudson's avatar
      backport jhylton's checkin of · 956c4202
      Michael W. Hudson yazdı
          revision 1.295 of configure.in
      
      Add fix for AIX as reported by srubben in SF bug #477487.
      
      Untested, of course.
      956c4202
    • Michael W. Hudson's avatar
      Probably should have merged the two checkins to this file (oh well). · 43efb9a1
      Michael W. Hudson yazdı
      backport jhylton's checkin of
          revision 2.98 of abstract.c
      
      Fix leak of NotImplemented in previous checkin to PyNumber_Add().
      
      If result == Py_NotImplemented, always DECREF it before assigning a
      new value to result.
      43efb9a1
    • Michael W. Hudson's avatar
      backport jhylton's checkin of · 244ca00b
      Michael W. Hudson yazdı
          revision 2.97 of abstract.c
      
      Fix for SF bug 516727: MyInt(2) + "3" -> NotImplemented
      
      PyNumber_Add() tries the nb_add slot first, then falls back to
      sq_concat.  However, it didn't check the return value of sq_concat.
      If sq_concat returns NotImplemented, raise the standard TypeError.
      244ca00b
    • Michael W. Hudson's avatar
      backport jhylton's checkin of · 7ac03032
      Michael W. Hudson yazdı
          revision 1.45 of httplib.py
      
      SF bug report #405939: wrong Host header with proxy
      
      In August, Greg said this looked good, so I'm going ahead with it.
      
      The fix is different from the one in the bug report.  Instead of using
      a regular expression to extract the host from the url, I use
      urlparse.urlsplit.
      
      Martin commented that the patch doesn't address URLs that have basic
      authentication username and password in the header.  I don't see any
      code anywhere in httplib that supports this feature, so I'm not going
      to address it for this fix.
      
      Bug fix candidate.
      7ac03032
    • Michael W. Hudson's avatar
      backport akuchling's checkin of · ade05ed7
      Michael W. Hudson yazdı
          revision 1.6 of libxmlrpclib.tex
      
      [Bug #486527] Note that the caller has to ensure there are no control
          characters in strings being passed via XML-RPC.
      Fix some typos.
      
      2.2.1 bugfix candidate.
      ade05ed7
    • Michael W. Hudson's avatar
      I presume most of the fixes currently hitting the tree should go into · 7742c3d4
      Michael W. Hudson yazdı
      2.2.1, but it would be nice if people remembered to comment on their
      fixes' applicability!
      
      backport akuchling's checkin of
          revision 1.26 of webchecker.py
      
      [Bug #512799] urllib.splittype() returns a 2-tuple.  (Reported by seb bacon)
      7742c3d4
    • Michael W. Hudson's avatar
      backport jhylton's checkin of · 8cdebb2e
      Michael W. Hudson yazdı
          revision 2.33 of cStringIO.c
      
      Fix SF bug #526518
      
      The doc string for cStringIO suggested that str() of a StringIO object
      was equivalent to getvalue().  This was never true, so repair the doc
      string.  (doctest would have helped here.)
      
      Bug fix candidate for any past versions.
      8cdebb2e
  5. 10 Mar, 2002 2 kayıt (commit)
    • Jack Jansen's avatar
      Backport of 1.22: · 63558c18
      Jack Jansen yazdı
      Use waste included with CW in stead of separate package.
      
      (But a truer log message would have been "updated to current version of waste",
      as in MachoPython we use a normal standalone separate Waste distribution).
      63558c18
    • Jack Jansen's avatar
      Backport of 1.9 (missed last time around): · 1ea301fd
      Jack Jansen yazdı
      Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
      MachoPython. Mainly making sure we don't call routines that don't exist
      and representing pathnames in a os.separator-neutral format.
      1ea301fd
  6. 08 Mar, 2002 7 kayıt (commit)
    • Fred Drake's avatar
      Add more explanation of how data_files is used (esp. where the files end up · d72eb611
      Fred Drake yazdı
      in the installation and how that location is determined).
      d72eb611
    • Michael W. Hudson's avatar
      backport jackjansen's checkin of · d2fa75d8
      Michael W. Hudson yazdı
          revision 1.294 of configure.in
          revision 1.285 of configure
      
      When testing for availability of pthreads without special compiler options
      or libraries also look for thread_detach. SGI has thread_create in libc
      but complete pthread support only in -lpthread. Fixes #522393.
      
      2.2.1 candidate.Killed by signal 2.
      d2fa75d8
    • Michael W. Hudson's avatar
      backport montanaro's checkin of · fcfa313f
      Michael W. Hudson yazdı
          revision 1.18 of BaseHTTPServer.py
      
      add Content-Type header to error responses
      this closes patch 502080
      fcfa313f
    • Michael W. Hudson's avatar
      backport montanaro's checkin of · 65a95473
      Michael W. Hudson yazdı
          revision 1.58 of pydoc.py
      
      add repr_str as alias for repr_string in both HTMLRepr and TextRepr classes
      - reflects the change in type("").__name__ between 2.1 and 2.2.  The
      __name__ field is used to find a method to call for particular types.
      65a95473
    • Michael W. Hudson's avatar
      backport tim_one's checkin of · 85717c76
      Michael W. Hudson yazdı
          revision 2.38 of mmapmodule.c
      
      SF bug 515943:  searching for data with \0 in mmap.
      mmap_find_method():  this obtained the string to find via s#, but it
      ignored its length, acting as if it were \0-terminated instead.
      
      Someone please run on Linux too (the extended test_mmap works on Windows).
      
      Bugfix candidate.
      85717c76
    • Michael W. Hudson's avatar
      backport tim_one's checkin of · db175266
      Michael W. Hudson yazdı
          revision 1.20 of test_mmap.py
      
      SF bug 515943:  searching for data with \0 in mmap.
      mmap_find_method():  this obtained the string to find via s#, but it
      ignored its length, acting as if it were \0-terminated instead.
      
      Someone please run on Linux too (the extended test_mmap works on Windows).
      
      Bugfix candidate.
      db175266
    • Fred Drake's avatar
      "Shortcut" should be "short-circuit". · b74a9623
      Fred Drake yazdı
      This closes SF bug #526277.
      b74a9623