commit | d9e1abf8d36da19f074f16046c4a9b5fe54cc083 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Fri Aug 24 01:34:06 2018 -0400 |
committer | GitHub <noreply@github.com> | Fri Aug 24 01:34:06 2018 -0400 |
tree | 2d863b4d8a3e82637ac862d73670d57ae7ab8ed5 | |
parent | a59036365b304d43bba0f050fa9a7d76100e0ae1 [diff] |
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>