Message187911
As Serhiy and Antoine noted, what I had in mind here was to try to wrap the input in a memoryview if it wasn't an instance of str, bytes or bytearray.
An existing memoryview will be passed back unmodified, while something like array.array will provide a view into its raw data for encoding or decoding. The tests would then cover both memoryview and array.array to ensure it was all working as expected. |
|
| Date |
User |
Action |
Args |
| 2013-04-27 15:27:12 | ncoghlan | set | recipients:
+ ncoghlan, barry, pitrou, ezio.melotti, serhiy.storchaka, kushal.das |
| 2013-04-27 15:27:12 | ncoghlan | set | messageid: <[email protected]> |
| 2013-04-27 15:27:12 | ncoghlan | link | issue17839 messages |
| 2013-04-27 15:27:12 | ncoghlan | create | |
|