[Python-checkins] [python/cpython] 918403: bpo-29816: Shift operation now has less opportunit...
noreply at github.com
Thu Mar 30 02:47:08 EDT 2017
Author: Serhiy Storchaka <storchaka at gmail.com>
Date: 2017-03-30 (Thu, 30 Mar 2017)
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.
More information about the Python-checkins