[Python-checkins] r71597 - in python/branches/py3k-short-float-repr: Makefile.pre.in Python/marshal.c

mark.dickinson python-checkins at python.org
Tue Apr 14 10:02:08 CEST 2009


Author: mark.dickinson
Date: Tue Apr 14 10:02:08 2009
New Revision: 71597

Log:
Add dtoa.h to Makefile.pre.in;  fix indentation issue in marshal.c


Modified:
   python/branches/py3k-short-float-repr/Makefile.pre.in
   python/branches/py3k-short-float-repr/Python/marshal.c

Modified: python/branches/py3k-short-float-repr/Makefile.pre.in
==============================================================================
--- python/branches/py3k-short-float-repr/Makefile.pre.in	(original)
+++ python/branches/py3k-short-float-repr/Makefile.pre.in	Tue Apr 14 10:02:08 2009
@@ -622,6 +622,7 @@
 		Include/complexobject.h \
 		Include/descrobject.h \
 		Include/dictobject.h \
+		Include/dtoa.h \
 		Include/enumobject.h \
 		Include/errcode.h \
 		Include/eval.h \

Modified: python/branches/py3k-short-float-repr/Python/marshal.c
==============================================================================
--- python/branches/py3k-short-float-repr/Python/marshal.c	(original)
+++ python/branches/py3k-short-float-repr/Python/marshal.c	Tue Apr 14 10:02:08 2009
@@ -707,7 +707,7 @@
 			buf[n] = '\0';
 			retval = NULL;
 			PyFPE_START_PROTECT("atof", break;)
-				c.real = PyOS_ascii_atof(buf);
+			c.real = PyOS_ascii_atof(buf);
 			PyFPE_END_PROTECT(c)
 			n = r_byte(p);
 			if (n == EOF || r_string(buf, (int)n, p) != n) {
@@ -718,7 +718,7 @@
 			}
 			buf[n] = '\0';
 			PyFPE_START_PROTECT("atof", break)
-				c.imag = PyOS_ascii_atof(buf);
+			c.imag = PyOS_ascii_atof(buf);
 			PyFPE_END_PROTECT(c)
 			retval = PyComplex_FromCComplex(c);
 			break;


More information about the Python-checkins mailing list