recv_into(bytearray) complains about a "pinned buffer"

Antoine Pitrou solipsis at pitrou.net
Tue Feb 2 09:05:02 EST 2010


Le Tue, 02 Feb 2010 00:12:34 +0100, Martin v. Loewis a écrit :
>> recv_into() should simply be fixed to use the new buffer API, as it
>> does in 3.x.
> 
> I don't think that's the full solution. The array module should also
> implement the new buffer API, so that it would also fail with the old
> recv_into.

There was a patch for this in http://bugs.python.org/issue6071 , but the 
bug was closed when hashlib was "fixed".





More information about the Python-list mailing list