diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-03-30 06:47:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-30 06:47:07 (GMT) |
commit | 918403cfc3304d27e80fb792357f40bb3ba69c4e (patch) | |
tree | 7c8a004d82a24b715b3c3b1f61a474d77c9ef0f7 /Python/traceback.c | |
parent | 762bf40438a572a398e500c74e38f9894ea20a45 (diff) | |
download | cpython-918403cfc3304d27e80fb792357f40bb3ba69c4e.zip cpython-918403cfc3304d27e80fb792357f40bb3ba69c4e.tar.gz cpython-918403cfc3304d27e80fb792357f40bb3ba69c4e.tar.bz2 |
bpo-29816: Shift operation now has less opportunity to raise OverflowError. (#680)
ValueError always is raised rather than OverflowError for negative counts.
Shifting zero with non-negative count always returns zero.
Diffstat (limited to 'Python/traceback.c')
0 files changed, 0 insertions, 0 deletions