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

James_Althoff@i2.com James_Althoff@i2.com
Wed, 22 Aug 2001 11:11:51 -0700

David Ascher 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__.

(While admittedly being an OO zealot ;-) I too would be pleased to see a
len/length method.  And I really enjoy using the new string methods.
Thanks for adding them!  :-)