summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2004-02-19 19:35:22 (GMT)
committerMichael W. Hudson <mwh@python.net>2004-02-19 19:35:22 (GMT)
commitd3b33b5f6f6f1b09c1ec7832329c8307edcb82cf (patch)
tree4c5d78f77d1f89ed0441f526a52c749169665cf5 /Misc
parentbbca8da3ca5191d68c4cd8777b8ba8632c0cff44 (diff)
downloadcpython-d3b33b5f6f6f1b09c1ec7832329c8307edcb82cf.zip
cpython-d3b33b5f6f6f1b09c1ec7832329c8307edcb82cf.tar.gz
cpython-d3b33b5f6f6f1b09c1ec7832329c8307edcb82cf.tar.bz2
"Fix" (for certain configurations of the planets, including
recent gcc on Linux/x86) [ 899109 ] 1==float('nan') by implementing rich comparisons for floats. Seems to make comparisons involving NaNs somewhat less surprising when the underlying C compiler actually implements C99 semantics.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3fdef4b..2d02ed1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 2.4 alpha 1?
Core and builtins
-----------------
+- Implemented rich comparisons for floats, which seems to make
+ comparisons involving NaNs somewhat less surprising when the
+ underlying C compiler actually implements C99 semantics.
+
- Optimized list.extend() to save memory and no longer create
intermediate sequences. Also, extend() now pre-allocates the
needed memory whenever the length of the iterable is known in