summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2008-01-19 19:12:01 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2008-01-19 19:12:01 (GMT)
commit2336bddd5dba559db950e8b5fa73257fc62d1fc3 (patch)
tree15256a53494c4a5c75d748a26402906177b3d523 /Misc
parent587c2bfedee6f6c5ee16b4e7eb5392d270a0c1a6 (diff)
downloadcpython-2336bddd5dba559db950e8b5fa73257fc62d1fc3.zip
cpython-2336bddd5dba559db950e8b5fa73257fc62d1fc3.tar.gz
cpython-2336bddd5dba559db950e8b5fa73257fc62d1fc3.tar.bz2
Fix Issue #1769: Now int('- 1') or int('+ 1') is not allowed
any more. Thanks Juan Jose Conti. Also added tests.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c59efa1..cb6288a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,8 @@ What's New in Python 3.0a3?
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.