[issue35210] Use bytes + memoryview + resize instead of bytesarray + array in io.RawIOBase.read

tzickel report at bugs.python.org
Sun Nov 11 02:42:53 EST 2018


tzickel <icebreak at yahoo.com> added the comment:

ahh, very interesting discussion. BTW, how is this code different than

https://github.com/python/cpython/blame/50ff02b43145f33f8e28ffbfcc6a9d15c4749a64/Modules/_io/bufferedio.c

which does the same thing exactly ? (i.e. the memoryview can leak there as well).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35210>
_______________________________________


More information about the Python-bugs-list mailing list