Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-129483: Make TestLocalTimeDisambiguation's time format locale independent#142193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
gkirchou commented Dec 2, 2025 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as resolved.
This comment was marked as resolved.
StanFromIreland left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO making the tests locale independent would be a better solution than this (i.e. just replace %c with our desired order).
This comment was marked as resolved.
This comment was marked as resolved.
gkirchou commented Dec 3, 2025
Addressed |
TestLocalTimeDisambiguation's time format locale independent
StanFromIreland left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
python-cla-botbot commented Dec 3, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
vstinner left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
8392095 into python:mainUh oh!
There was an error while loading. Please reload this page.
pganssle commented Dec 4, 2025
This is failing in 3.13, right? So we should backport it? Anyone know how far back it is causing issues? |
…ale independent (pythonGH-142193) * Change to update %c to the exact time format. --------- (cherry picked from commit 8392095) Co-authored-by: Kir Chou <[email protected]> Co-authored-by: Kir Chou <[email protected]>
GH-142258 is a backport of this pull request to the 3.14 branch. |
…ale independent (pythonGH-142193) * Change to update %c to the exact time format. --------- (cherry picked from commit 8392095) Co-authored-by: Kir Chou <[email protected]> Co-authored-by: Kir Chou <[email protected]>
GH-142259 is a backport of this pull request to the 3.13 branch. |
vstinner commented Dec 4, 2025
Right, the issue was reported on Python 3.13.1. We should backport the change to 3.13 and 3.14 branches. Other branches no longer accept bugfixes. |
…cale independent (GH-142193) (#142259) gh-129483: Make `TestLocalTimeDisambiguation`'s time format locale independent (GH-142193) * Change to update %c to the exact time format. --------- (cherry picked from commit 8392095) Co-authored-by: Kir Chou <[email protected]> Co-authored-by: Kir Chou <[email protected]>
…cale independent (GH-142193) (#142258) gh-129483: Make `TestLocalTimeDisambiguation`'s time format locale independent (GH-142193) * Change to update %c to the exact time format. --------- (cherry picked from commit 8392095) Co-authored-by: Kir Chou <[email protected]> Co-authored-by: Kir Chou <[email protected]>
bedevere-bot commented Dec 4, 2025
|
…ale independent (python#142193) * Change to update %c to the exact time format. --------- Co-authored-by: Kir Chou <[email protected]>
Test with: