Message119687
When doing socket IO, it is beneficial to use a bytearra() and then using sock.recv_into() to avoid moving data about.
However, many useful functions still don't accept new style buffers, such as the bytearray and memoryview. In particular, the struct module cannot unpack from them, and the StringIO doesn't accept them as input.
The attached patch adds new-buffer support to the struct module and cStringIO. |
|
Date |
User |
Action |
Args |
2010-10-27 10:36:53 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson |
2010-10-27 10:36:53 | kristjan.jonsson | set | messageid: <1288175813.33.0.0310491559114.issue10212@psf.upfronthosting.co.za> |
2010-10-27 10:36:50 | kristjan.jonsson | link | issue10212 messages |
2010-10-27 10:36:50 | kristjan.jonsson | create | |
|