]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix the error handling in bytesio_sizeof(). (GH-10459)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 1 Jun 2019 21:58:33 +0000 (14:58 -0700)
committerGitHub <noreply@github.com>
Sat, 1 Jun 2019 21:58:33 +0000 (14:58 -0700)
commitfefdc009906c5ea8fb57383817b3c42d3b0634ad
tree8d1da63702893782d4426bea5135611fd0dbe149
parentfc914dd5e03db9188b6d28d1c48574dc78ee4325
Fix the error handling in bytesio_sizeof(). (GH-10459)

bytesio_sizeof() must check if an error has occurred in _PySys_GetSizeOf().
(cherry picked from commit 36dcaab7fde5d2e54cdeff5b705b5adcb27726dd)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Modules/_io/bytesio.c