Content-Length: 299172 | pFad | https://github.com/python/cpython/pull/131534

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

[3.12] gh-70647: update docs to mention the datetime 1900 year default 2/29 issue#131534

Merged
gpshead merged 2 commits intopython:3.12from
gpshead:gh-70647-backport-3.12
Mar 21, 2025
Merged

[3.12] gh-70647: update docs to mention the datetime 1900 year default 2/29 issue#131534
gpshead merged 2 commits intopython:3.12from
gpshead:gh-70647-backport-3.12

Conversation

@gpshead
Copy link
Member

@gpshead gpshead commented Mar 21, 2025

gpshead 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.
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news awaiting core review labels Mar 21, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Mar 21, 2025
@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 merged commit 3eb7a90 into python:3.12 Mar 21, 2025
26 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Mar 21, 2025
@gpshead gpshead deleted the gh-70647-backport-3.12 branch March 21, 2025 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/131534

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy