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
This commit is contained in:
Mark Dickinson 2009-10-24 15:54:35 +00:00
parent 1733c9362b
commit f325407038
1 changed files with 7 additions and 0 deletions

View File

@ -561,6 +561,13 @@ extern "C" {
#define PY_NO_SHORT_FLOAT_REPR #define PY_NO_SHORT_FLOAT_REPR
#endif #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) /* Py_DEPRECATED(version)
* Declare a variable, type, or function deprecated. * Declare a variable, type, or function deprecated.