[Python-Dev] RFC: Add a new builtin strarray type to Python? (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Sun Oct 2 04:54:44 CEST 2011


On Sat, Oct 1, 2011 at 8:33 PM, Maciej Fijalkowski <fijall at gmail.com> wrote:

StringIO is bytes only I think, which might be a bit of an issue if you want a unicode at the end.

I'm not sure why you would think that (aside from a 2.x holdover). StringIO handles Unicode text, BytesIO handles bytes.

Cheers, Nick.

-- Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-Dev mailing list