[Python-checkins] python/dist/src/Misc NEWS,1.1142,1.1143
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Thu Sep 23 21:11:34 CEST 2004
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21226/Misc
Modified Files:
NEWS
Log Message:
Introduced a Py_IS_NAN macro, which probably works on the major platforms
today. pyconfig.h can override it if not, and can also override
Py_IS_INFINITY now. Py_IS_NAN and Py_IS_INFINITY are overridden now
for Microsoft compilers, using efficient MS-specific spellings.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1142
retrieving revision 1.1143
diff -u -d -r1.1142 -r1.1143
--- NEWS 23 Sep 2004 08:06:37 -0000 1.1142
+++ NEWS 23 Sep 2004 19:11:22 -0000 1.1143
@@ -74,7 +74,11 @@
Build
-----
-...
+- pyport.h now defines a Py_IS_NAN macro. It works as-is when the
+ platform C computes true for ``x != x`` if and only if X is a NaN.
+ Other platforms can override the default definition with a platform-
+ specific spelling in that platform's pyconfig.h. You can also override
+ pyport.h's default Py_IS_INFINITY definition now.
C API
-----
More information about the Python-checkins
mailing list