From f32540703815825d5d81051bd40d5b343ccee1e9 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sat, 24 Oct 2009 15:54:35 +0000 Subject: 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 --- Include/pyport.h | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- cgit v0.12