◐ Shell
clean mode source ↗

gh-126883: Add check that timezone fields are in range for `datetime.fromisoformat` by donbarbos · Pull Request #127242 · python/cpython

added 2 commits

November 25, 2024 06:21

erlend-aasland

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>

pganssle

Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>

pganssle

Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request

Jul 12, 2025
…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>

taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request

Aug 4, 2025
…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>