diff options
author | Semyon Moroz <donbarbos@proton.me> | 2025-05-19 18:07:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-19 14:07:11 -0400 |
commit | 71c42b778dfc0831734bb7bc6121ffd44beae1d3 (patch) | |
tree | de3a6f36c3138e7a99e5f0d04f75efde4ca9c5c9 /Python/optimizer_cases.c.h | |
parent | 8d490b368766ee7b28d2ccf47704b1d4b5f1ea23 (diff) | |
download | cpython-71c42b778dfc0831734bb7bc6121ffd44beae1d3.tar.gz cpython-71c42b778dfc0831734bb7bc6121ffd44beae1d3.zip |
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>
Diffstat (limited to 'Python/optimizer_cases.c.h')
0 files changed, 0 insertions, 0 deletions