summaryrefslogtreecommitdiff
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-24 15:54:35 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-10-24 15:54:35 +0000
commit39475396365aa3a220765052509ffe0b5e90d8bd (patch)
tree184d02f08020816e31937542a1e7425d672aff94 /Include/pyport.h
parent21ea31d454c9e568dc34b467f61a7d691a7164d9 (diff)
downloadcpython-39475396365aa3a220765052509ffe0b5e90d8bd.tar.gz
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/pyport.h')
-rw-r--r--Include/pyport.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 62d4524b78..8310132375 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.