]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix the error handling in bytesio_sizeof(). (GH-10459)
authorZackery Spytz <zspytz@gmail.com>
Sat, 1 Jun 2019 21:07:46 +0000 (15:07 -0600)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 1 Jun 2019 21:07:45 +0000 (00:07 +0300)
commit36dcaab7fde5d2e54cdeff5b705b5adcb27726dd
tree5dc6d17c0fc5aeb830943b4188f9b796fb9f8060
parentbdbad71b9def0b86433de12cecca022eee91bd9f
Fix the error handling in bytesio_sizeof(). (GH-10459)

bytesio_sizeof() must check if an error has occurred in _PySys_GetSizeOf().
Modules/_io/bytesio.c