summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-08-24 05:45:40 (GMT)
committerGitHub <noreply@github.com>2018-08-24 05:45:40 (GMT)
commit902f1618388280eeeb3957b273f0ccb3df938723 (patch)
tree62553c681923ab29411a40948b3a588bb79d8c61 /Python/errors.c
parent7d470f3f24d0c091cf1da4f13695c6bb3200a713 (diff)
downloadcpython-902f1618388280eeeb3957b273f0ccb3df938723.zip
cpython-902f1618388280eeeb3957b273f0ccb3df938723.tar.gz
cpython-902f1618388280eeeb3957b273f0ccb3df938723.tar.bz2
closes bpo-34468: Objects/rangeobject.c: Fix an always-false condition in range_repr() (GH-8880)
Also, propagate the error from PyNumber_AsSsize_t() because we don't care only about OverflowError which is not reported if the second argument is NULL. Reported by Svace static analyzer. (cherry picked from commit 7ecae3ca0bda3cacf3b0125bae0bc718a17cc071) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions