]> granicus.if.org Git - python/commit
Issue #9041: raised exception is misleading
authorMeador Inge <meadori@gmail.com>
Mon, 28 May 2012 18:52:59 +0000 (13:52 -0500)
committerMeador Inge <meadori@gmail.com>
Mon, 28 May 2012 18:52:59 +0000 (13:52 -0500)
commitfe7aa49f24743f834bcf123fcd9ea5cc7a123209
treedc71e0f747867b88e6207536c638578ccdf7222a
parentd9d276b0dcd5b8108d5b906f83e53b95a7ac686d
Issue #9041: raised exception is misleading

An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has been
fixed.
Lib/ctypes/test/test_numbers.py
Misc/NEWS
Modules/_ctypes/cfield.c