[docs] [issue19376] document that strptime() does not support the Feb 29 if the format does not contain the year

Tal Einat report at bugs.python.org
Wed Oct 31 09:29:59 EDT 2018


Tal Einat <taleinat at gmail.com> added the comment:

> I think for starters we should document the behavior of strptime when no year, month or day are specified. As part of that documentation, we can add a footnote about Feb 29th.

This sounds good to me.

We could also improve the exception raised in the specific case of Feb 29th; IMO this should be a separate PR.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue19376>
_______________________________________


More information about the docs mailing list