mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
d5f1139c79
Moves the validation for invalid years in the C implementation of the `datetime` module into a common location between `fromisoformat` and `fromisocalendar`, which improves the error message and fixes a failed assertion when parsing invalid ISO 8601 years using one of the "ISO weeks" formats. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Source files for standard library extension modules, and former extension modules that are now builtin modules.