Why are strings immutable?

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Sat Aug 21 14:40:44 EDT 2004


On Sat, 21 Aug 2004 11:34:54 -0400, rumours say that "John Roth"
<newsgroups at jhrothjr.com> might have written:

[<snip> strings are immutable because...]

>That said, it would be useful to have a
>string buffer object that could be changed.

array.array('c') is a close substitute.
-- 
TZOTZIOY, I speak England very best,
"Tssss!" --Brad Pitt as Achilles in unprecedented Ancient Greek



More information about the Python-list mailing list