1. 09 Mar, 2002 4 commits
    • Martin v. Löwis's avatar
    • Jeremy Hylton's avatar
      Fix SF bug 525520. · 3921ff67
      Jeremy Hylton authored
      Don't automatically add a Host: header if the headers passed to
      request() already has a Host key.
      3921ff67
    • Tim Peters's avatar
      SF bug 525705: [2.2] underflow raise OverflowException. · dc5a5087
      Tim Peters authored
      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.
      dc5a5087
    • Tim Peters's avatar
      Docstring for filter(): Someone on the Tutor list reasonably complained · d50e544b
      Tim Peters authored
      that it didn't tell enough of the truth.
      Bugfix candidate (I guess -- it helps and it's harmless).
      d50e544b
  2. 08 Mar, 2002 21 commits
  3. 07 Mar, 2002 4 commits
  4. 06 Mar, 2002 4 commits
    • Michael W. Hudson's avatar
      Test for · 02b28ec3
      Michael W. Hudson authored
      [ 526039 ] devious code can crash structseqs
      
      Bugfix candidate.
      02b28ec3
    • Michael W. Hudson's avatar
      Special support for pickling os.stat and os.stat_vfs results portably · 0e02530a
      Michael W. Hudson authored
      (the types come from different modules on different platforms).
      
      Added tests for pickling these types.
      
      May be a bugfix candidate.
      0e02530a
    • Michael W. Hudson's avatar
      Apply (my) patch: · ce358e30
      Michael W. Hudson authored
      [ 526072 ] pickling os.stat results round II
      
      structseq's constructors can now take "invisible" fields in a dict.
      Gave the constructors better error messages.
      their __reduce__ method puts these fields in a dict.
      
      (this is all in aid of getting os.stat_result's to pickle portably)
      
      Also fixes
      
      [ 526039 ] devious code can crash structseqs
      
      Thought needed about how much of this counts as a bugfix.  Certainly
      #526039 needs to be fixed.
      ce358e30
    • Fred Drake's avatar
      Added missing version annotation for dict(). · da8a6dd0
      Fred Drake authored
      da8a6dd0
  5. 05 Mar, 2002 7 commits