Best search algorithm to find condition within a range

Marko Rauhamaa marko at
Thu Apr 9 18:25:12 CEST 2015

Chris Angelico <rosuav at>:

> As far as it's concerned, it's impossible for a CPU register to
> arbitrarily change without notice. It's equally impossible for the
> addition of two positive signed integers to result in a negative
> integer.

The standard says that any program that takes a signed integer out of
its valid range is broken and deserves anything that happens to it.

I say it's the standard that is broken.


More information about the Python-list mailing list