Bruno Desthuilliers <[EMAIL PROTECTED]> schrieb:
> PTY wrote:
>> I was asking whether it was better style to
>> use len() or not.
>
> FWIW, it's also more generic (you could have an object supporting
> pop() but not __len__()), less error-prone,

While I agree with all other points, I don't think that it's less
error-prone. See my other posting where I worked out this a flaw
of Python.


Greets,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to