]> 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 00:28:57 +0000 (20:28 -0400)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Wed, 28 Sep 2016 00:28:57 +0000 (20:28 -0400)
commit4e7b4e8c18b82774d273c4990330f0e870d8a492
treea89e44e991bbd216c028dc94b6c622d1557050e1
parent39704fcddb5b7f84a6442bff3a888e0c763fcf51
parente3fd248c771e1a8bf337a4a307dacf1e85106611
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.