[issue15903] Make rawiobase_read() read directly to bytes object
Richard Oudkerk
report at bugs.python.org
Mon Sep 17 22:17:09 CEST 2012
Richard Oudkerk added the comment:
New patch which checks the refcount of the memoryview and bytes object after calling readinto().
If either refcount is larger than the expected value of 1, then the data is copied rather than resized.
----------
Added file: http://bugs.python.org/file27211/iobase_read.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15903>
_______________________________________
More information about the Python-bugs-list
mailing list