]> granicus.if.org Git - python/commit
Fix SF bug# 676155, RuntimeWarning with tp_compare
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 28 Jan 2003 19:21:24 +0000 (19:21 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 28 Jan 2003 19:21:24 +0000 (19:21 +0000)
commitabcb0c03ade3cee52b71362f57b16af3e00c743b
treea4afc16116d2e0d08a0ea162932cb635b550bde0
parent54fb192508130fa17df5b252c63d125218907035
Fix SF bug# 676155, RuntimeWarning with tp_compare

Check return value of PyLong_AsDouble(), it can return an error.
Lib/test/test_builtin.py
Lib/test/test_long.py
Misc/NEWS
Objects/floatobject.c