Mark Dickinson <[EMAIL PROTECTED]> added the comment:
> I think in 2.6 we can't change this,
I'm not sure when it happened, but it looks like this
*was* fixed for 2.6.
Closing.
--
nosy: +marketdickinson
resolution: -> fixed
status: open -> closed
_
Guido van Rossum added the comment:
On the one hand, if you want to format a float like that, you should use
"%.0f". On the other hand, this should either consistently fail or
succeed, not depending on how large the float is.
I think in 2.6 we can't change this, but in 3.0, I propose that all
t
New submission from Christopher Tur Lesniewski-Laas:
To reproduce:
>>> '%i' % 12345678901.0
TypeError: int argument required
Contrast with:
>>> '%i' % 1234567890.0
'1234567890'
Previous experience led me to expect that the '%i' format code would
work for all numerical types. Admittedly, there'