1. 19 May, 2012 4 commits
  2. 18 May, 2012 21 commits
  3. 17 May, 2012 9 commits
  4. 16 May, 2012 6 commits
    • Stefan Krah's avatar
      e47bd22a
    • Antoine Pitrou's avatar
      Issue #14780: urllib.request.urlopen() now has a `cadefault` argument to use... · 01308a47
      Antoine Pitrou authored
      Issue #14780: urllib.request.urlopen() now has a `cadefault` argument to use the default certificate store.
      Initial patch by James Oakley.
      01308a47
    • Stefan Krah's avatar
    • Stefan Krah's avatar
      Fix Visual Studio warning. · 386032ae
      Stefan Krah authored
      386032ae
    • Stefan Krah's avatar
      Changes in _mpd_qexp(): · ff270cf6
      Stefan Krah authored
      ```--------------------
        1) Reduce the number of iterations in the Horner scheme for operands with
           a negative adjusted exponent. Previously the number was overestimated
           quite generously.
      
        2) The function _mpd_get_exp_iterations() now has an ACL2 proof and
           is rewritten accordingly.
      
        3) The proof relies on abs(op) > 9 * 10**(-prec-1), so operands without
           that property are now handled by the new function _mpd_qexp_check_one().
      
        4) The error analysis for the evaluation of the truncated Taylor series
           in Hull&Abrham's paper relies on the fact that the reduced operand
           'r' has fewer than context.prec digits.
      
           Since the operands may have more than context.prec digits, a new ACL2
           proof covers the case that r.digits > context.prec. To facilitate the
           proof, the Horner step now uses fma instead of rounding twice in
           multiply/add.
      
      
      Changes in mpd_qexp():
      ```
      
      -------------------
      
        1) Fix a bound in the correct rounding loop that was too optimistic. In
           practice results were always correctly rounded, because it is unlikely
           that the error in _mpd_qexp() ever reaches the theoretical maximum.
      ff270cf6
    • Hynek Schlawack's avatar
      #14692 Fix json docs to reflect changes in json.load · d775c572
      Hynek Schlawack authored
      The behaviour of the parse_constant callback changed insofar that 'null',
      'true', 'false' don't trigger its call anymore.
      
      Patch by Serhiy Storchaka
      d775c572