Message137628
abs() behavior show below.
>>> type(abs(-1))
<class 'int'>
>>> type(abs(-1.0))
<class 'float'>
we should fix this problem if write
"Return abs(x) with the sign of y"
I'd like to try this problem if need fix.
I'm going to attach the patch. |
|
Date |
User |
Action |
Args |
2011-06-04 06:28:06 | umedoblock | set | recipients:
+ umedoblock, terry.reedy, mark.dickinson, r.david.murray |
2011-06-04 06:28:06 | umedoblock | set | messageid: <1307168886.22.0.804155685134.issue12211@psf.upfronthosting.co.za> |
2011-06-04 06:27:58 | umedoblock | link | issue12211 messages |
2011-06-04 06:27:58 | umedoblock | create | |
|