[Zope] Re: Statistics and Missing.Value...
Kent Polk
kent@goathill.org
16 Jul 1999 23:24:54 GMT
On 16 Jul 1999 21:41:50 GMT, Kent Polk wrote:
>
>When attempting to format Summary Statistics data with Missing.Value(s),
>Missing.Value apparently has an incorrect type required for the
>numeric format operations :
>
><!--
> Error type:
> Error value: illegal argument type for built-in operation
> -->
Ok. This looks like it might be a fix. The problem was that max
wasn't being tested for Missing.Value so was not being handled
properly.
This appears to fix the problem (in Zope2) :
$Id: DT_InSV.py,v 1.11 1999/06/21 21:29:53 jim Exp $'''
238a239
> if item is mv: item = None
Kent Polk