[issue8104] socket.recv_into doesn't support a memoryview as an argument

2010-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in trunk, and additional tests ported to py3k. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue8104] socket.recv_into doesn't support a memoryview as an argument

2010-03-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch priority: -> normal stage: -> patch review type: -> feature request Added file: http://bugs.python.org/file16529/recvinto.patch ___ Python tracker

[issue8104] socket.recv_into doesn't support a memoryview as an argument

2010-03-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: I suppose recvfrom_into() should also be converted. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue8104] socket.recv_into doesn't support a memoryview as an argument

2010-03-10 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> pitrou nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8104] socket.recv_into doesn't support a memoryview as an argument

2010-03-09 Thread Matt Gattis
New submission from Matt Gattis : >>> view = memoryview(bytearray(bufsize)) >>> while len(view): ...view = view[sock.recv_into(view,1024):] ... Traceback (most recent call last): File "", line 2, in TypeError: recv_into() argument 1 must be pinned buffer, not memoryview -- compone