[Python-Dev] "not an acceptable base type"?

Neil Schemenauer nas@python.ca
Wed, 8 Aug 2001 16:15:03 -0700


Guido van Rossum wrote:
> > Are strings not yet subclassable or do I just need to "cvs up"?
> 
> Be patient.  We'll do this, but it's not yet done.  For now, you can
> only subclass type, object, list, and dictionary.

Is there something tricky about subclassing strings (and ints, floats,
...)?  I've considered spending some time trying to make other types
subclassable.  If each python-dev'er takes one it shouldn't take too
long. :-)

  Neil