[Python-Dev] copy, len and the like as 'object' methods?

David Ascher DavidA@ActiveState.com
Wed, 22 Aug 2001 09:55:54 -0700


Guido van Rossum wrote:
> 
> > Again, I wasn't considering getting rid of old builtins.  We're going to
> > be adding new methods to all of the types anyway (since they'll derive
> > from object), so I was just suggesting that len or length be an alias
> > for __len__.
> 
> Hm, but this would violate TOOWTDI.

So do string methods =).

--da