summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-15 02:01:20 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-15 02:01:20 (GMT)
commit386cd1e3c950b038fefefbf5ad887fd7f3215dc8 (patch)
treecfe938b184856e4e94c9dc4f3519c371a943fd3d /Misc/NEWS
parent62fe8a8e1cda9b4568453bee7e514aae06dfafd1 (diff)
downloadcpython-386cd1e3c950b038fefefbf5ad887fd7f3215dc8.zip
cpython-386cd1e3c950b038fefefbf5ad887fd7f3215dc8.tar.gz
cpython-386cd1e3c950b038fefefbf5ad887fd7f3215dc8.tar.bz2
long(float('nan')) raises an OverflowError as discussed on the mailing list a week ago
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8a77060..c59efa1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 3.0a3?
Core and Builtins
-----------------
+- Object/longobject.c: long(float('nan')) raises an OverflowError instead
+ of returning 0.
+
- Issue #1762972: __file__ points to the source file instead of the pyc/pyo
file if the py file exists.