Alexander Belopolsky added the comment:

I am attaching the proposed reimplementation of itermonthdays2() and 
itermonthdays().  It does not use itermonthdates() and is not that complicated. 
 It passes test_calendar, but I did not test it further than that.

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.

----------
Added file: http://bugs.python.org/file44834/issue28253.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28253>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to