]> granicus.if.org Git - python/commit
Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError for
authorMark Dickinson <dickinsm@gmail.com>
Tue, 10 Feb 2009 15:46:50 +0000 (15:46 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 10 Feb 2009 15:46:50 +0000 (15:46 +0000)
commit4015f62e39452db0aa651edcd54b00f4e80e6bb5
treef9d290763c2e993c0465d51a5f70387ff0598ccf
parent6a743d3694fb5138f5eab393c172c3b6789b0383
Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError for
negative arguments.  Previously, it raised TypeError.

Thanks Lisandro Dalcin.
Doc/c-api/long.rst
Lib/test/test_struct.py
Misc/ACKS
Misc/NEWS
Modules/testcapi_long.h
Objects/longobject.c