[Python-checkins] r75672 - python/trunk/Include/pyport.h

mark.dickinson python-checkins at python.org
Sat Oct 24 17:54:35 CEST 2009


Author: mark.dickinson
Date: Sat Oct 24 17:54:35 2009
New Revision: 75672

Log:
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


Modified:
   python/trunk/Include/pyport.h

Modified: python/trunk/Include/pyport.h
==============================================================================
--- python/trunk/Include/pyport.h	(original)
+++ python/trunk/Include/pyport.h	Sat Oct 24 17:54:35 2009
@@ -561,6 +561,13 @@
 #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 at gmail.com). */
+#ifndef PY_SHORT_FLOAT_REPR
+#define PY_NO_SHORT_FLOAT_REPR
+#endif
 
 /* Py_DEPRECATED(version)
  * Declare a variable, type, or function deprecated.


More information about the Python-checkins mailing list