SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

gh-126883: Add check that timezone fields are in range for `datetime.fromisoformat` (#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>
S
Semyon Moroz committed
71c42b778dfc0831734bb7bc6121ffd44beae1d3
Parent: 8d490b3
Committed by GitHub <noreply@github.com> on 5/19/2025, 6:07:11 PM