[issue12211] math.copysign must keep object type.

R. David Murray report at bugs.python.org
Mon May 30 04:09:53 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

"Except when explicitly noted otherwise, all return values are floats."

On the other hand, copysign says "return x with the sign of y", which certainly sounds like it is preserving x, not creating a new float.  So at the least there is a doc issue, I think.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12211>
_______________________________________


More information about the Python-bugs-list mailing list