Wolfgang Maier added the comment:

> Once the input numbers are converted to float statistics._sum can handle
> them perfectly well. In this case I think the output should also be a float so
> that it's clear that precision may have been lost. If the precision of float 
> is not
> what the user wants then the documentation can point them toward
> Fraction/Decimal.

Ah, I'm getting it now. That is actually a very interesting thought. Still I 
don't think this should be part of this issue discussion, but I'll think about 
it and file a new enhancement issue if I have an idea.


As for providing the complete patch, I can do that I guess, but formulating the 
tests may take a while. I'll try to do it though, if Steven thinks it's worth 
it. After all he's the one who'd have to approve it and the patch does alter 
his design quite a bit.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20481>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to