Uh oh!
There was an error while loading. Please reload this page.
gh-140715: Add %C format code support to strptime() - #145955
Conversation
| 'Op': mapping['p'], | ||
| 'W': mapping['U'].replace('U', 'W'), | ||
| }) | ||
| mapping['W'] = mapping['U'].replace('U', 'W') |
There was a problem hiding this comment.
I also brought this dictionary update into the update above it for greater stylistic consistency.
jyalim
commented
Mar 28, 2026
Tests and patchcheck re-verified before pushing merged main. Congrats on the promotion, @StanFromIreland! |
StanFromIreland
commented
Mar 29, 2026
Lint is failing in the CI. And, to be honest I don’t really see any benefit in running patchcheck, I would recommend you run pre-commit (lint) instead. I hope to review in a few days. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jyalim
commented
Mar 31, 2026
Thank you, @StanFromIreland, all requests were implemented! |
jyalim
commented
Apr 21, 2026
Keeping current with upstream. |
@StanFromIreland I think this is in a good place after the simplification from two months ago. |
Documentation build overview
291 files changed · |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jyalim
commented
May 23, 2026
Thank you, @StanFromIreland, that further strengthened the implementation. All changes have been made, as requested. |
jyalim
commented
Aug 8, 2026
Hi @StanFromIreland, this is ready for another round of review after the implemented changes from May 22. |
Incrementally builds C99+ datetime support with addition of
%C. Also adds tests (for%Cand for%ywith%C) and updates documentation.Continued effort from PR: #140647, #144819, #144896.
Documentation drops (0) footnote and notes that zero-padded century numbers are optional (for centuries 0 to 99).
Passed all tests.
Passed patchcheck.
Issue: #140715
str*timeto C11 format codes #140715📚 Documentation preview 📚: https://cpython-previews--145955.org.readthedocs.build/