commit | 2336bddd5dba559db950e8b5fa73257fc62d1fc3 | [log] [tgz] |
---|---|---|
author | Facundo Batista <facundobatista@gmail.com> | Sat Jan 19 19:12:01 2008 +0000 |
committer | Facundo Batista <facundobatista@gmail.com> | Sat Jan 19 19:12:01 2008 +0000 |
tree | 15256a53494c4a5c75d748a26402906177b3d523 | |
parent | 587c2bfedee6f6c5ee16b4e7eb5392d270a0c1a6 [diff] |
Fix Issue #1769: Now int('- 1') or int('+ 1') is not allowed any more. Thanks Juan Jose Conti. Also added tests.
diff --git a/Misc/NEWS b/Misc/NEWS index c59efa1..cb6288a 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,8 @@ Core and Builtins ----------------- +- Issue #1769: Now int("- 1") is not allowed any more. + - Object/longobject.c: long(float('nan')) raises an OverflowError instead of returning 0.