Message206368
| Author |
pitrou |
| Recipients |
Arfrever, eric.smith, ethan.furman, gvanrossum, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, vstinner |
| Date |
2013年12月16日.20:50:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1387227016.2303.1.camel@fsol> |
| In-reply-to |
<1387226926.53.0.777939040208.issue19995@psf.upfronthosting.co.za> |
| Content |
> --> '%x' % 3.14 # calls __int__
> '3'
>
> One of those behaviours is wrong. Which?
For '%x' and '%o', it probably doesn't make sense to convert the float
to an int.
(however, it does make sense for other formatters, such as '%d') |
|