Author belopolsky
Recipients belopolsky,, rhettinger, serhiy.storchaka, xiang.zhang
Date 2016-09-28.03:01:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The Calendar.itermonthdates() method is defined as follows:

"Return an iterator for one month. The iterator will yield values and will always iterate through complete weeks, so it will yield dates outside the specified month."

However, for the two months at the extremes of range, 0001-01 and 9999-12, the dates outside the specified month may not be representable as instances.

The current implementation is inconsistent: itermonthdates(1, 1) may raise an OverflowError (see #26650), while itermonthdates(9999, 12) may yield an incomplete week (see #28253.)

This issue supersedes #26650 and #28253.
Date User Action Args
2016-09-28 03:01:58belopolskysetrecipients: + belopolsky, rhettinger, serhiy.storchaka, xiang.zhang,
2016-09-28 03:01:58belopolskysetmessageid: <>
2016-09-28 03:01:58belopolskylinkissue28292 messages
2016-09-28 03:01:57belopolskycreate