[Python-Dev] PyXXX_Size vs. PyXXX_Length

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Mon, 10 Jul 2000 23:22:22 +0200

jeremy wrote:

> Tuple, List, String, and Dict have a PyXXX_Size method.  The abstract
> object interface uses PySequence_Length.  This is inconsistent and
> hard to remember.  Can we add PySequence_Size and mark Length as
> deprecated?

don't forget PyObject_Length and PyMapping_Length...