[issue35406] calendar.nextmonth and calendar.prevmonth functions doesn't check if the month is valid
Serhiy Storchaka
report at bugs.python.org
Tue Dec 4 08:41:12 EST 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
nextmonth() is not a public API. You should not use it.
If you want to make IllegalMonthError be always raised instead of IndexError for out of range month values, this is a different issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35406>
_______________________________________
More information about the Python-bugs-list
mailing list