]> granicus.if.org Git - python/commit
bpo-31373: remove overly strict float range checks (#3486)
authorBenjamin Peterson <benjamin@python.org>
Mon, 11 Sep 2017 06:50:46 +0000 (23:50 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Sep 2017 06:50:46 +0000 (23:50 -0700)
commit2bb69a5b4e7f96cb35d1b28aa7b7b3974b351f59
treeb7f672d07435aff1060d27f20867365e637b8df9
parent252033d50effa08046ac34fcc406bc99796ab88b
bpo-31373: remove overly strict float range checks (#3486)

This undoes a853a8ba7850381d49b284295dd6f0dc491dbe44 except for the pytime.c
parts. We want to continue to allow IEEE 754 doubles larger than FLT_MAX to be
rounded into finite floats. Tests were added to very this behavior.
Lib/test/test_float.py
Lib/test/test_getargs2.py
Objects/floatobject.c
Python/getargs.c