[Python-Dev] Re: Revised PEP 237 - Unifying Long Integers and Integers

Guido van Rossum guido@python.org
Tue, 14 Aug 2001 15:13:40 -0400


> Looks reasonable to me.  I don't generally program anywhere near the
> edges of current short integer arithmentic except when writing
> little demo functions like fib or fact.  I wonder though, if some
> programmers might like the option of telling integer arithmentic
> raise OverflowError instead of coercing results to long ints.

You can do this by enabling the warning-on-overflow command line
option (not yet specified) and then using -Werr to turn the warning
into an error.

--Guido van Rossum (home page: http://www.python.org/~guido/)