From: linge at embl-heidelberg.de (Jens Linge)
Date: Thu, 29 Apr 1999 19:19:49 +0200
Subject: string.atoi('-')
Message-ID: <372894B5.78F68430@embl-heidelberg.de>
X-UID: 1298                                                  

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




