]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #7117: temporarily disable the short float repr while the
authorMark Dickinson <dickinsm@gmail.com>
Sat, 24 Oct 2009 15:54:35 +0000 (15:54 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 24 Oct 2009 15:54:35 +0000 (15:54 +0000)
pieces are being assembled.  To re-enable, define the preprocessor
symbol PY_SHORT_FLOAT_REPR

Include/pyport.h

index 62d4524b783f7bff2adeae41febb8364ccca3ce5..83101323754fcf2c3bd77529b759b5164679663c 100644 (file)
@@ -561,6 +561,13 @@ extern "C" {
 #define PY_NO_SHORT_FLOAT_REPR
 #endif
 
+/* temporarily disable the new float repr while the pieces are being
+   assembled, unless PY_SHORT_FLOAT_REPR is defined.  These 7 lines
+   should be gone by 01/01/10.  If they're still here, please complain
+   to Mark Dickinson (dickinsm@gmail.com). */
+#ifndef PY_SHORT_FLOAT_REPR
+#define PY_NO_SHORT_FLOAT_REPR
+#endif
 
 /* Py_DEPRECATED(version)
  * Declare a variable, type, or function deprecated.