]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Wed, 28 Sep 2016 02:45:20 +0000 (22:45 -0400)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Wed, 28 Sep 2016 02:45:20 +0000 (22:45 -0400)
commit8cab419624cba0df59fb2d61261a59230ef4578c
treee6da7918b064fca89d7c5345ebd1e704fd682f9c
parent36beb5ec135142b1e800577be49238bf767f4a79
Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.

Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.
Lib/calendar.py
Lib/test/test_calendar.py
Misc/NEWS