commit | 2856e5f3909f8366487ad85ca6c234040317e1e5 | [log] [tgz] |
---|---|---|
author | Martin Blais <blais@furius.ca> | Fri May 26 12:03:27 2006 +0000 |
committer | Martin Blais <blais@furius.ca> | Fri May 26 12:03:27 2006 +0000 |
tree | 7f2cbe99313c107ea133d08706171dd85683fe19 | |
parent | 1b94940165b4e2b789855b24ea0297ebed691c46 [diff] |
Support for buffer protocol for socket and struct. * Added socket.recv_buf() and socket.recvfrom_buf() methods, that use the buffer protocol (send and sendto already did). * Added struct.pack_to(), that is the corresponding buffer compatible method to unpack_from(). * Fixed minor typos in arraymodule.