Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 24, 2018

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 7ecae3c)

Co-authored-by: Alexey Izbyshev izbyshev@ispras.ru

https://bugs.python.org/issue34468

…n in range_repr() (pythonGH-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 7ecae3c)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
@miss-islington
Copy link
Contributor Author

@izbyshev and @benjaminp: Backport status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit d9e1abf into python:3.7 Aug 24, 2018
@miss-islington miss-islington deleted the backport-7ecae3c-3.7 branch August 24, 2018 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants