Nikolaus Rath added the comment: As discussed on python-devel, I'm attaching a new patch that uses memoryview.cast to ensure that the pure-Python readinto() now works with any object implementing the buffer protocol.
---------- Added file: http://bugs.python.org/file35647/issue20578_r5.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20578> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com