This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author umedoblock
Recipients mark.dickinson, r.david.murray, terry.reedy, umedoblock
Date 2011-06-04.06:27:58
SpamBayes Score 1.0366912e-06
Marked as misclassified No
Message-id <1307168886.22.0.804155685134.issue12211@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-06-04 06:28:06umedoblocksetrecipients: + umedoblock, terry.reedy, mark.dickinson, r.david.murray
2011-06-04 06:28:06umedoblocksetmessageid: <1307168886.22.0.804155685134.issue12211@psf.upfronthosting.co.za>
2011-06-04 06:27:58umedoblocklinkissue12211 messages
2011-06-04 06:27:58umedoblockcreate