Martin MOKREJŠ wrote:

> is this a bug or "feature" that I have to use float() to make int() 
> autoconvert
> from it?

it's by design, of course.   "1.0000000000e+00" is not an integer.

if you want to treat a floating point literal as an integer, you have to
use an explicit conversion.

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to