]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix _PyTime_MIN/MAX values (GH-15384)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 23 Aug 2019 15:56:51 +0000 (08:56 -0700)
committerGitHub <noreply@github.com>
Fri, 23 Aug 2019 15:56:51 +0000 (08:56 -0700)
commit8fac472436cccaf936732273eeb11649e2d8355d
treec0065436570f84ee4229973e35a8740a81b03afc
parent1b1796df3a4292067a174faa11b1a852f79e98e3
Fix _PyTime_MIN/MAX values (GH-15384)

_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)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
Include/pytime.h