]> granicus.if.org Git - python/commit
[3.6] bpo-26669: Fix nan arg value error in pytime.c (GH-3085) (GH-3467)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 9 Sep 2017 04:53:04 +0000 (21:53 -0700)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 9 Sep 2017 04:53:04 +0000 (21:53 -0700)
commita4baf1c543bca261c27e98ba296e42665f3cb872
tree954fbc81fb080d4234f2fcee258803346a43d180
parent3892799668dbf2b123a52780fd1d78f8880fdeb7
[3.6] bpo-26669: Fix nan arg value error in pytime.c (GH-3085) (GH-3467)

* Modify NaN check function and error message
* Fix pytime.c when arg is nan
* fix whitespace
(cherry picked from commit 829dacce4fca60fc3c3367980e75e21dfcdbe6be)
Lib/test/test_time.py
Python/pytime.c