[Python-Dev] Byte string class hierarchy

Neil Schemenauer nas at arctrix.com
Thu Aug 19 16:40:19 CEST 2004


On Thu, Aug 19, 2004 at 11:21:38AM +0200, M.-A. Lemburg wrote:
> I assume the picture will look more like this:
> 
> basesequence
>    mutable
>       basebytes
> 	   bytes
> 	   array
> 	   cStringIO
> 	   mmap
>    immutable
>       unicode
>       tuple
> basenumber
>    integer
>    float
>    decimal
>    complex

Inheritance is overrated. :-)  For example, I think mutability may
be an orthogonal property.  Also, I don't think cStringIO is
sequence-like, it's more like a file.

  Neil


More information about the Python-Dev mailing list