Hello Andrew,

> I don't even know what a "pinned buffer" means, and searching python.org
> isn't helpful.
> 
> Using a bytearray in Python 3.1.1 *does* work:
> [...]

Agreed, the error message is cryptic.
The problem is that socket.recv_into() in 2.6 doesn't recognize the new 
buffer API which is needed to accept bytearray objects. 
(it does in 3.1, because the old buffer API doesn't exist anymore there)

You could open an issue on the bug tracker for this.

Thank you

Antoine.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to