]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-70647: Remove support for `%d` (and deprecate for `%e`) without year in `strptime... main
authorStan Ulbrych <stan@python.org>
Wed, 15 Apr 2026 00:15:27 +0000 (01:15 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Apr 2026 00:15:27 +0000 (17:15 -0700)
commitd0e7c6acc936a171d05ba239497ba82d741ac8dd
tree700ce73eb7893f6242625342255610f651ddf2de
parent94d42bf5c2b95417d6187a57fef94570ba017e33
GH-70647: Remove support for `%d` (and deprecate for `%e`) without year in `strptime()` (GH-144570)

* Add deprecation for %e with no year
* schedule `%e` for 3.17, and remove `%d` now
Doc/deprecations/pending-removal-in-3.17.rst
Doc/library/datetime.rst
Doc/whatsnew/3.15.rst
Lib/_strptime.py
Lib/test/datetimetester.py
Lib/test/test_strptime.py
Lib/test/test_time.py
Misc/NEWS.d/next/Library/2026-02-07-12-54-20.gh-issue-70647.Bja_Lk.rst [new file with mode: 0644]