[C++-sig] Re: invalid literal for int()

Paul Grenyer paul at paulgrenyer.co.uk
Tue Mar 9 14:24:26 CET 2004


Hi Dave

> These are pure Python errors, having nothing to do with C++:
> 
>   >>> int('foo')
>   Traceback (most recent call last):
>     File "<stdin>", line 1, in ?
>   ValueError: invalid literal for int(): foo

Right. I've rechecked our code. I thought we were just checking syntax; 
we're not. That explains everything.

Thanks!

Regards
Paul

Paul Grenyer
Email: paul at paulgrenyer.co.uk
Web: http://www.paulgrenyer.co.uk

Have you met Aeryn: http://www.paulgrenyer.co.uk/aeryn/?
Version 0.3.0 beta now available for download.






More information about the Cplusplus-sig mailing list