diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-10 15:46:50 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-10 15:46:50 (GMT) |
commit | 4015f62e39452db0aa651edcd54b00f4e80e6bb5 (patch) | |
tree | f9d290763c2e993c0465d51a5f70387ff0598ccf /Misc | |
parent | 6a743d3694fb5138f5eab393c172c3b6789b0383 (diff) | |
download | cpython-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/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -153,6 +153,7 @@ Simon Cross Drew Csillag John Cugini Tom Culliton +Lisandro Dalcin Andrew Dalke Lars Damerow Eric Daniel @@ -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 |