summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-10 15:46:50 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-10 15:46:50 (GMT)
commit4015f62e39452db0aa651edcd54b00f4e80e6bb5 (patch)
treef9d290763c2e993c0465d51a5f70387ff0598ccf /Misc
parent6a743d3694fb5138f5eab393c172c3b6789b0383 (diff)
downloadcpython-4015f62e39452db0aa651edcd54b00f4e80e6bb5.zip
cpython-4015f62e39452db0aa651edcd54b00f4e80e6bb5.tar.gz
cpython-4015f62e39452db0aa651edcd54b00f4e80e6bb5.tar.bz2
Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError for
negative arguments. Previously, it raised TypeError. Thanks Lisandro Dalcin.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 48d312e..648a888 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -153,6 +153,7 @@ Simon Cross
Drew Csillag
John Cugini
Tom Culliton
+Lisandro Dalcin
Andrew Dalke
Lars Damerow
Eric Daniel
diff --git a/Misc/NEWS b/Misc/NEWS
index c2d8429..536712a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -482,6 +482,9 @@ Build
C-API
-----
+- Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError
+ for negative arguments. Previously, it raised TypeError.
+
- Issue #4720: The format for PyArg_ParseTupleAndKeywords can begin with '|'.
- Issue #3632: from the gdb debugger, the 'pyo' macro can now be called when