Author ncoghlan
Recipients barry, ezio.melotti, kushal.das, ncoghlan, pitrou, serhiy.storchaka
Date 2013-04-27.15:27:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:12ncoghlansetrecipients: + ncoghlan, barry, pitrou, ezio.melotti, serhiy.storchaka, kushal.das
2013-04-27 15:27:12ncoghlansetmessageid: <>
2013-04-27 15:27:12ncoghlanlinkissue17839 messages
2013-04-27 15:27:12ncoghlancreate