>>>>> "n" == nobu nokada <nobu.nokada / softhome.net> writes:

n> But Integer("3\n") passes.  Isn't it strange?

 Integer("0\n") is seen as an octal number (base == 8) because it begin
 with 0. The leading 0 are removed this is why it give an error (when it
 try to convert "\n")

 Integer("3\n") is seen as a decimal number


Guy Decoux