Uh oh!
There was an error while loading. Please reload this page.
gh-126883: Add check that timezone fields are in range for datetime.fromisoformat - #127242
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
pganssle
commented
Nov 25, 2024
I haven't had a chance for a through review yet, but I'm in favor of the general approach and a casual glance looks good. Can you add a news blurb (credit yourself appropriately unless you don't want that for some reason), and if you aren't already in ACKS please add yourself there (again unless you don't want to be acknowledged for some reason). |
donbarbos
commented
Nov 26, 2024
donbarbos
commented
Feb 3, 2025
@erlend-aasland maybe you have free time to review and merge it |
erlend-aasland
left a comment
There was a problem hiding this comment.
Can you please remove any unneeded style changes?
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
donbarbos
commented
Apr 18, 2025
cc @pganssle@erlend-aasland |
pganssle
left a comment
There was a problem hiding this comment.
Some minor nits, but overall looks good!
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.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
pganssle
commented
May 19, 2025
Thanks @donbarbos, great work on this and sorry for the long delay. |
donbarbos
commented
May 19, 2025
thank you everyone for review |
…etime.fromisoformat` (python#127242) It was previously possible to specify things like `+00:90:00` which would be equivalent to `+01:30:00`, but is not a valid ISO8601 string. --------- Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
…etime.fromisoformat` (python#127242) It was previously possible to specify things like `+00:90:00` which would be equivalent to `+01:30:00`, but is not a valid ISO8601 string. --------- Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
CimplementationPythonimplementationAlso error output for the
time.fromisoformatfunction was fixed as indatetime.fromisoformatin Python implementationdatetime.fromisoformat()parses offset minutes outside 00-59 range #126883