string.atoi('-')
Jens Linge
linge at embl-heidelberg.de
Thu Apr 29 13:19:49 EDT 1999
I had the following problem:
With python 1.51 running on a SGI:
>>> string.atoi('-')
Traceback (innermost last):
File "<stdin>", line 1, in ?
ValueError: invalid literal for atoi(): -
>>>
But with python 1.52 running on a SGI:
>>> string.atoi('-')
0
>>>
Does it depend on the compilation?
Does anyone have the same problem?
WHAT IS THE RULE?
Thank you in advance.
Jens
More information about the Python-list
mailing list