[Python-Dev] [1.6]: UserList, Dict: Do we need a UserString class?

Moshe Zadka Moshe Zadka <mzadka@geocities.com>
Wed, 29 Mar 2000 08:51:30 +0200 (IST)


On Wed, 29 Mar 2000, Peter Funk wrote:

> Moshe Zadka wrote:
> > Why do you feel there is a need to default? Strings are immutable
> 
> I had something like this in my mind:
> 
> class MutableString(UserString):
>     """Python strings are immutable objects.  But of course this can
>     be changed in a derived class implementing the missing methods.

Then add the default in the constructor for MutableString....

eagerly-waiting-for-UserString.py-ly y'rs, Z.
--
Moshe Zadka <mzadka@geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com