From: Alexander Belopolsky Date: Wed, 28 Sep 2016 00:28:57 +0000 (-0400) Subject: Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12. X-Git-Tag: v3.7.0a1~2371 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e7b4e8c18b82774d273c4990330f0e870d8a492;p=thirdparty%2FPython%2Fcpython.git 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. --- 4e7b4e8c18b82774d273c4990330f0e870d8a492