len() and PEP 3000

Fredrik Lundh fredrik at pythonware.com
Wed Dec 6 17:43:36 EST 2006


Beliavsky wrote:

> I agree with you -- a.__len__() is ugly compared to len(a) . I am
> surprised that such common idioms as len(a) may be going away.

no need to; the fact that something isn't currently mentioned in a 
preliminary Python 3000 PEP doesn't mean that it will be removed.

</F>




More information about the Python-list mailing list