summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-24 15:54:35 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-10-24 15:54:35 (GMT)
commitf32540703815825d5d81051bd40d5b343ccee1e9 (patch)
tree182f8d74c71b6ca3f5fbe0be8acc8a78c546eccb /Include
parent1733c9362b7520278120423550de28da44d15f33 (diff)
downloadcpython-f32540703815825d5d81051bd40d5b343ccee1e9.zip
cpython-f32540703815825d5d81051bd40d5b343ccee1e9.tar.gz
cpython-f32540703815825d5d81051bd40d5b343ccee1e9.tar.bz2
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
Diffstat (limited to 'Include')
-rw-r--r--Include/pyport.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 62d4524..8310132 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -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.