summaryrefslogtreecommitdiffstats
path: root/Python/crossinterp_exceptions.h
diff options
context:
space:
mode:
authorVlad4896 <166005126+Vlad4896@users.noreply.github.com>2024-04-09 17:53:00 (GMT)
committerGitHub <noreply@github.com>2024-04-09 17:53:00 (GMT)
commitd5f1139c79525b4e7e4e8ad8c3e5fb831bbc3f28 (patch)
tree4e47fb05321d1ed1dbf7db415f40d20538b8e78a /Python/crossinterp_exceptions.h
parenta25c02eaf01abc7ca79efdbcda986b9cc2787b6c (diff)
downloadcpython-d5f1139c79525b4e7e4e8ad8c3e5fb831bbc3f28.zip
cpython-d5f1139c79525b4e7e4e8ad8c3e5fb831bbc3f28.tar.gz
cpython-d5f1139c79525b4e7e4e8ad8c3e5fb831bbc3f28.tar.bz2
gh-117534: Add checking for input parameter in iso_to_ymd (#117543)
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>
Diffstat (limited to 'Python/crossinterp_exceptions.h')
0 files changed, 0 insertions, 0 deletions