diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-11-20 18:41:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-20 18:41:09 (GMT) |
commit | 3ec0f495163da3b7a15deb2805cec48aed432f58 (patch) | |
tree | 8a8cf87e228bfa33fa0781dd64f3ace0d0cb655d /Parser/tokenizer.h | |
parent | 97f1efb6062188645a470daaa91e3669d739c75f (diff) | |
download | cpython-3ec0f495163da3b7a15deb2805cec48aed432f58.zip cpython-3ec0f495163da3b7a15deb2805cec48aed432f58.tar.gz cpython-3ec0f495163da3b7a15deb2805cec48aed432f58.tar.bz2 |
bpo-35021: Fix assertion failures in _datetimemodule.c. (GH-10039)
Fixes assertion failures in _datetimemodule.c
introduced in the previous fix (see bpo-31752).
Rather of trying to handle an int subclass as exact int,
let it to use overridden special methods, but check the
result of divmod().
Diffstat (limited to 'Parser/tokenizer.h')
0 files changed, 0 insertions, 0 deletions