> Of course, another right way would be to have mutable strings in Python.
> I understand why strings need to be immutable in order to work with dicts,
> but is there any reason why (hypothetical) mutable strings should be
> avoided in situations where they aren't needed as dictionary keys? Python
> has mutable lists and immutable tuples, mutable sets and immutable frozen
> sets, but no mutable string type.

What's wrong about arrays of chars?

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to