◐ Shell
clean mode source ↗

[3.12] gh-70647: update docs to mention the datetime 1900 year default 2/29 issue by gpshead · Pull Request #131534 · python/cpython

added 2 commits

March 21, 2025 04:17
…datetime.

Every four years people encounter this because it just isn't obvious.
This moves the footnote up to a note with a code example.

We'd love to change the default year value for datetime but doing
that could have other consequences for existing code.  This documented
workaround *always* works.

@gpshead gpshead changed the title gh-70647: [3.12] update docs to mention the datetime 1900 year default 2/29 issue [3.12] gh-70647: update docs to mention the datetime 1900 year default 2/29 issue

Mar 21, 2025

@gpshead gpshead deleted the gh-70647-backport-3.12 branch

March 21, 2025 04:50