SIGN IN SIGN UP

gh-127260: Improve error consistency in both `fromisoformat` implementations (#130134)

In the Python implementation, "Z" was allowed where only "+" or "-" should be allowed in time zone specifiers. In the C implementation, ":" was allowed as a separator between the whole and fractional portion of times (seconds). These have both been forbidden and the error messages harmonized.
D
donBarbos committed
427dd10250f94d79bad7927d6ea231950c395bd6
Parent: 46ac85e
Committed by GitHub <noreply@github.com> on 2/18/2025, 3:49:28 PM