Blocked revisions 75651,75653,75658,75660,75664,75666,75672,75720,75730-75731,75739 via svnmerge

........
  r75651 | mark.dickinson | 2009-10-24 13:13:30 +0100 (Sat, 24 Oct 2009) | 7 lines

  Issue #7117: Prepare for backport of py3k float repr.
  Add the Python/dtoa.c file containing the main algorithms;
  add corresponding include file and include in Python.h;
  include license information for Python/dtoa.c;
  add dtoa.c and dtoa.h to Makefile.
........
  r75653 | mark.dickinson | 2009-10-24 13:17:24 +0100 (Sat, 24 Oct 2009) | 1 line

  Temporary define to avoid build failure
........
  r75658 | mark.dickinson | 2009-10-24 14:28:38 +0100 (Sat, 24 Oct 2009) | 8 lines

  Issue #7117 (backport py3k float repr) continued:
   - add double endianness detection to configure script
   - add configure-time check to see whether we can use inline
     assembly to get and set x87 control word in configure script
   - add functions to get and set x87 control word in Python/pymath.c
   - add pyport.h logic to determine whether it's safe to use the
     short float repr or not
........
  r75660 | mark.dickinson | 2009-10-24 14:31:41 +0100 (Sat, 24 Oct 2009) | 1 line

  Remove temporary define from r75653
........
  r75664 | mark.dickinson | 2009-10-24 14:44:16 +0100 (Sat, 24 Oct 2009) | 1 line

  Configure check for double rounding should take BASECFLAGS into account
........
  r75666 | mark.dickinson | 2009-10-24 15:01:08 +0100 (Sat, 24 Oct 2009) | 4 lines

  Issue #7117 (backport py3k float repr) continued:
  Add sys.float_repr_style attribute ('short' if short float
  repr is in used;  'legacy' otherwise).
........
  r75672 | mark.dickinson | 2009-10-24 16:54:35 +0100 (Sat, 24 Oct 2009) | 4 lines

  Issue #7117:  temporarily disable the short float repr while the
  pieces are being assembled.  To re-enable, define the preprocessor
  symbol PY_SHORT_FLOAT_REPR
........
  r75720 | mark.dickinson | 2009-10-26 15:39:50 +0000 (Mon, 26 Oct 2009) | 3 lines

  Issue #7117 (backport py3k float repr) continued:
  Backport pystrtod.c from py3k.
........
  r75730 | mark.dickinson | 2009-10-26 21:09:09 +0000 (Mon, 26 Oct 2009) | 2 lines

  Issue #7117:  Backport missing pystrtod.h declarations from py3k.
........
  r75731 | mark.dickinson | 2009-10-26 21:11:20 +0000 (Mon, 26 Oct 2009) | 4 lines

  Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
  floatobject.c.  Also, remove limitation on length of unicode inputs to
  float().
........
  r75739 | mark.dickinson | 2009-10-26 22:28:14 +0000 (Mon, 26 Oct 2009) | 5 lines

  Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
  complexobject.c.  Also remove length restriction on unicode inputs to
  the complex constructor.
........
This commit is contained in:
Mark Dickinson 2009-10-27 18:50:50 +00:00
parent 8d03956606
commit 55a01488cd

Diff Content Not Available