Skip to content

Commit 9476ebc

Browse files
committed
Restore the NEWS entry (dropped by the merge) and cover the time fields
1 parent aed8e2d commit 9476ebc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Fix the pure-Python implementations of :meth:`datetime.date.fromisoformat`,
2+
:meth:`datetime.time.fromisoformat` and :meth:`datetime.datetime.fromisoformat`
3+
silently accepting some malformed ISO 8601 strings, such as non-ASCII digits or
4+
a sign in a fixed-width field (for example ``'2020+12'`` or ``'20201212T0102٣٤'``).
5+
Each field is now required to be exactly *N* ASCII digits, matching the C
6+
implementation.

0 commit comments

Comments
 (0)