[issue26460] datetime.strptime without a year fails on Feb 29

Alexander Belopolsky report at bugs.python.org
Mon Mar 2 19:12:17 EST 2020


Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:

> On Mar 2, 2020, at 6:33 PM, Gregory P. Smith <report at bugs.python.org> wrote:
> 
> Change that default to any old year with a leap year (1904?)

In the 21st century, the year 2000 default makes much more sense than 1900. Luckily 2000 is also a leap year.

----------

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


More information about the Python-bugs-list mailing list