Changed the conversion of ints and floats so they raise an exception if the conversion does not work. The exception messages now match Python's exception messages.
Changed the conversion of ints and floats so they raise an exception if the conversion does not work while parsing.