Serhiy Storchaka added the comment:

Yes, the current documentation is an impossibility (unless we remove all date 
limits that is much harder issue). Raisin OverflowError will make the 
implementation of itermonthdays2() and itermonthdays() more complex. Yielding 
dummy instances or None requires rewriting user code (less with a dummy 
instance if we are lucky). I agree that in long perspective yielding None looks 
better.

----------

_______________________________________
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