[email protected] wrote:
> Someone please tell me I'm not going mad. I could have sworn that once upon
> a time attempting to convert numeric strings to ints or floats if they
> contained whitespace raised an exception. As far back as 1.5.2 it appears
> that float(), string.atof() and string.atoi()
Amaury> You are maybe referring to the Decimal constructor:
Amaury>decimal.Decimal(" 123")
Amaury> fails with 2.5, but works with 2.6. (issue 1780)
Highly unlikely, since my recollection is from way back in the early days.
Also, I have yet to actually use the decimal module. :-/
Hi,
2009/4/29 :
> Someone please tell me I'm not going mad. I could have sworn that once upon
> a time attempting to convert numeric strings to ints or floats if they
> contained whitespace raised an exception. As far back as 1.5.2 it appears
> that float(), string.atof() and string.atoi() allo