[Python-ideas] Create a StringBuilder class and use it everywhere

Masklinn masklinn at masklinn.net
Fri Aug 26 08:19:33 CEST 2011


On 2011-08-26, at 07:30 , k_bx wrote:
> Ok, so while I think that cStringIO.StringIO is not what we shoud use, io.StringIO should be okay (since it wasn't explpicitly created to be file-like)
It was. Hence its extending io.TextIOBase. io.StringIO is roughly the py3k version of StringIO.StringIO (when the latter was used with unicode strings)



More information about the Python-ideas mailing list