[ZPT] CVS: Releases/Zope/lib/python/ZTUtils/tests -testBatch.py:1.6

Chris Withers chrisw@nipltd.com
Fri, 29 Mar 2002 16:39:01 +0000


"R. David Murray" wrote:
> 
> On Sat, 16 Mar 2002, Chris Withers wrote:
> > In which case, what could 'total' mean in the context of a batch, other than the
> > total length of the sequence being batched?
> 
> I have no idea what it could mean in the context of a batch. 

How about the total length of the batched sequence? ;-)

> To me,
> a total is a total of something,

...yeah, take the list of all the batch sizes and add them all together. Which
is precisely what it does...

> so I thought you were doing sums
> of numeric columns or something.

I am, the sum of all the lengths of the individual batches.

> 'total_length' and 'sequence_length'
> both make immediate sense to me, but total definately does not.
> 'total_size' would also be ok.

Yeah, but they all have a _ in them and are longer than necessary. It's also not
symetrical with the other two variables used in this context which are all only
one sylable long.

> I'm glad to hear you checked before checking things in, and I'm
> sad to hear that Evan did not, though I guess Evan is something
> of a BDF-as-long-as-he-wants for ZPT....

...is that still the case what with his departure from ZC? Who is the 'official'
contact for ZPT now?

cheers,

Chris