From: Alexander Belopolsky Date: Wed, 28 Sep 2016 00:27:55 +0000 (-0400) Subject: Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12. X-Git-Tag: v3.6.0b2~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3fd248c771e1a8bf337a4a307dacf1e85106611;p=python 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. --- e3fd248c771e1a8bf337a4a307dacf1e85106611