[issue28253] calendar.prcal(9999) output has a problem

Xiang Zhang report at bugs.python.org
Tue Sep 27 00:07:16 EDT 2016


Xiang Zhang added the comment:

Patch LGTM. 

> I would rather not mess up with itermonthdates(), particularly in a bugfix release.  We can postpone the discussion of a better way to handle date over/underflow in itermonthdates() until 3.7.

Before finally find a better way, can we at least make the two extreme cases behaviours consistent? Both emitting an exception or a shorter list.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28253>
_______________________________________


More information about the Python-bugs-list mailing list