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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to