A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-August/016805.html below:

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

[Python-Dev] "not an acceptable base type"? [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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4