• Martin Blais's avatar
    Support for buffer protocol for socket and struct. · 2856e5f3
    Martin Blais yazdı
    * 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.
    2856e5f3
socketmodule.c 125 KB