diff options
author | Alexey Izbyshev <izbyshev@ispras.ru> | 2018-08-24 07:39:45 +0300 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2018-08-23 21:39:45 -0700 |
commit | 7ecae3ca0bda3cacf3b0125bae0bc718a17cc071 (patch) | |
tree | fd98197f690982b912bab8acc40ee4046357d8aa /Python/fileutils.c | |
parent | 2b824b2538c4a5f9f520c5de8a1eae5a0c181a94 (diff) | |
download | cpython-git-7ecae3ca0bda3cacf3b0125bae0bc718a17cc071.tar.gz |
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.
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions