]> granicus.if.org Git - python/commitdiff
Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Wed, 28 Sep 2016 00:27:55 +0000 (20:27 -0400)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Wed, 28 Sep 2016 00:27:55 +0000 (20:27 -0400)
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.

1  2 
Lib/calendar.py
Lib/test/test_calendar.py

diff --cc Lib/calendar.py
Simple merge
Simple merge