commit | 386cd1e3c950b038fefefbf5ad887fd7f3215dc8 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Tue Jan 15 02:01:20 2008 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Tue Jan 15 02:01:20 2008 +0000 |
tree | cfe938b184856e4e94c9dc4f3519c371a943fd3d | |
parent | 62fe8a8e1cda9b4568453bee7e514aae06dfafd1 [diff] [blame] |
long(float('nan')) raises an OverflowError as discussed on the mailing list a week ago
diff --git a/Misc/NEWS b/Misc/NEWS index 8a77060..c59efa1 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,9 @@ 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.