On 9/5/05, Tim Peters <[EMAIL PROTECTED]> wrote: > I haven't heard that recommendation before, and strongly advise > against it. The result returned by __len__() is often used as a hint > internally, to preallocate result space. This is exactly what the
Interesting. I seem to remember this coming from Guido several times in discussions. The Python community needs to settle on a recommendation for this and document it in the Language Reference. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> Zope Corporation _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com