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

k_bx k.bx at ya.ru
Thu Aug 25 12:55:17 CEST 2011


25.08.2011, 13:50, "Georg Brandl" <g.brandl at gmx.net>:
> Am 25.08.2011 12:38, schrieb k_bx:
>
>>  Oh, and also, I really like how Python had it's MutableString class since forever, but deprecated in python 3.
>
> You do realize that MutableString's __iadd__ just performs += on str operands?
>
> Georg
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas

Oh, I'm sorry, I thought it uses cStringIO internally. Let's forget about MutableString then.



More information about the Python-ideas mailing list