]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-13312: Avoid int underflow in time year. (GH-8912)
authorGregory P. Smith <greg@krypto.org>
Sat, 25 Aug 2018 01:08:50 +0000 (18:08 -0700)
committerGitHub <noreply@github.com>
Sat, 25 Aug 2018 01:08:50 +0000 (18:08 -0700)
commit76be0fffff8b7dbe649ad4821144461800ffb0d0
tree9ef8e6646a08ddf8ae63a2600945b3c47f3ab79b
parenteb746dbae8b320758ee08f811316d7f283435cc0
bpo-13312: Avoid int underflow in time year. (GH-8912)

Avoids an integer underflow in the time module's year handling code.
Lib/test/test_time.py
Misc/NEWS.d/next/Library/2018-08-24-17-31-27.bpo-13312.6hA5La.rst [new file with mode: 0644]
Modules/timemodule.c