Numeric Conversion

Tim Peters tim_one at email.msn.com
Thu Dec 9 22:01:31 EST 1999


[Iddo Friedberg]
> A small one: atoi &c. recognize the tokens '+' and '-' by themselves as
> a numeric value; i.e.
>
> >>> m=string.atoi('+')
> >>> print m
> 0

This bug was fixed quite some time ago, in the Python 1.5.2 release.

upgrade-advising-ly y'rs  - tim






More information about the Python-list mailing list