1. 22 Mar, 2002 3 kayıt (commit)
    • Andrew M. Kuchling's avatar
    • Tim Peters's avatar
      SF bug 533198: Complex power underflow raises exception. · bab22bed
      Tim Peters yazdı
      Konrad was too kind.  Not only did it raise an exception, the specific
      exception it raised made no sense.  These are old bugs in complex_pow()
      and friends:
      
      1. Raising 0 to a negative power isn't a range error, it's a domain
         error, so changed c_pow() to set errno to EDOM in that case instead
         of ERANGE.
      
      2. Changed complex_pow() to:
      
      A. Used the Py_ADJUST_ERANGE2 macro to try to clear errno of a spurious
         ERANGE error due to underflow in the libm pow() called by c_pow().
      
      B. Produced different exceptions depending on the errno value:
         i) For errno==EDOM, raise ZeroDivisionError instead of ValueError.
            This is for consistency with the non-complex cases 0.0**-2 and
            0**-2 and 0L**-2.
         ii) For errno==ERANGE, raise OverflowError.
      
      Bugfix candidate.
      bab22bed
    • Andrew M. Kuchling's avatar
      [Bug #532115] netrc module was broken · 366a1df7
      Andrew M. Kuchling yazdı
         * 'macdef' (macro definition) wasn't parsed correctly
         * account value not reset for a subsequent 'default' line
         * typo: 'whitepace' -> 'whitespace'
      
      Bugfix candidate.
      366a1df7
  2. 21 Mar, 2002 12 kayıt (commit)
  3. 20 Mar, 2002 7 kayıt (commit)
  4. 19 Mar, 2002 5 kayıt (commit)
  5. 18 Mar, 2002 13 kayıt (commit)