Emanuel Barry added the comment:

This is consistent with the advertised equivalence of sum():

>>> -0.0 + -0.0 + 0
0.0

This works as you'd expect:

>>> sum([-0.0, -0.0], -0.0)
-0.0

It has a start value of 0, and I don't think we should special-case this.

----------
nosy: +ebarry

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

Reply via email to