]> granicus.if.org Git - python/commit
Fix _PyTime_MIN/MAX values (GH-15384) (GH-15426)
authorVictor Stinner <vstinner@redhat.com>
Fri, 23 Aug 2019 16:17:52 +0000 (17:17 +0100)
committerGitHub <noreply@github.com>
Fri, 23 Aug 2019 16:17:52 +0000 (17:17 +0100)
commit944aa01a81b17f844b77936d3ed6dd4e2d728841
tree9619ed12ac1eea7a1e5dbe76bf821ce97989df09
parentca9ae94a2aba35d94ac1ec081f9bcac3a13aebd3
Fix _PyTime_MIN/MAX values (GH-15384) (GH-15426)

_PyTime_t type is defined as int64_t, and so min/max are INT64_MIN/INT64_MAX,
not PY_LLONG_MIN/PY_LLONG_MAX.

(cherry picked from commit 8e76c456226438f2e4931ce7baf05ac8faae34a1)
Include/pytime.h