diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-15 02:01:20 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-15 02:01:20 (GMT) |
commit | 386cd1e3c950b038fefefbf5ad887fd7f3215dc8 (patch) | |
tree | cfe938b184856e4e94c9dc4f3519c371a943fd3d /Misc | |
parent | 62fe8a8e1cda9b4568453bee7e514aae06dfafd1 (diff) | |
download | cpython-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')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |