[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/src/zope/schema/interfaces.py - add IIterableChoice and note the desire to depricate vocabularies

Fred Drake fdrake at gmail.com
Mon Sep 5 12:14:47 EDT 2005


On 9/5/05, Tim Peters <tim.peters at gmail.com> 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


More information about the Zope3-dev mailing list