setrecursionlimit
Gregory Ewing
greg.ewing at canterbury.ac.nz
Thu May 19 05:04:45 EDT 2016
Rustom Mody wrote:
> Both the mess in catching numeric overflow as well as stackoverflow looks like
> its C's fault.
> I consider it as the fault of currently fashionable stock hardware
The sad thing about C is that it doesn't even help you
detect integer overflow in *software*.
Every machine I've ever seen has a flag that gets set
if an integer addition overflows. But C doesn't provide
any portable way of testing that flag, even if you
wanted to.
--
Greg
More information about the Python-list
mailing list