Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108821

Re: setrecursionlimit

From Gregory Ewing <greg.ewing@canterbury.ac.nz>
Newsgroups comp.lang.python
Subject Re: setrecursionlimit
Date 2016-05-19 21:04 +1200
Message-ID <dq5dtfFnlrqU1@mid.individual.net> (permalink)
References (3 earlier) <573ca324$0$1604$c3e8da3$5496439d@news.astraweb.com> <CALvWhxuUcf_cxum-ErKMQGYwmwDhoUP0R_mMx2UDDSUOmLTLwg@mail.gmail.com> <mailman.16.1463593647.27390.python-list@python.org> <1116f4d7-5533-4171-90d2-69411133aa28@googlegroups.com> <337f233a-32c4-4944-96bb-731c3f56463d@googlegroups.com>

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

setrecursionlimit Steven D'Aprano <steve@pearwood.info> - 2016-05-19 02:11 +1000
  Re: setrecursionlimit Ned Batchelder <ned@nedbatchelder.com> - 2016-05-18 09:19 -0700
    Re: setrecursionlimit Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-05-18 16:29 +0000
      Re: setrecursionlimit Steven D'Aprano <steve@pearwood.info> - 2016-05-19 03:15 +1000
        Re: setrecursionlimit Ian Kelly <ian.g.kelly@gmail.com> - 2016-05-18 11:38 -0600
        Re: setrecursionlimit Chris Kaynor <ckaynor@zindagigames.com> - 2016-05-18 10:47 -0700
          Re: setrecursionlimit breamoreboy@gmail.com - 2016-05-18 14:43 -0700
            Re: setrecursionlimit Rustom Mody <rustompmody@gmail.com> - 2016-05-18 20:19 -0700
              Re: setrecursionlimit Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-05-19 21:04 +1200
        Re: setrecursionlimit Christian Gollwitzer <auriocus@gmx.de> - 2016-05-18 20:11 +0200
        Re: setrecursionlimit Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-05-19 21:00 +1200
    Re: setrecursionlimit Chris Kaynor <ckaynor@zindagigames.com> - 2016-05-18 09:56 -0700
    Re: setrecursionlimit Nobody <nobody@nowhere.invalid> - 2016-05-19 11:28 +0100
  Re: setrecursionlimit Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2016-05-19 10:27 +0100

csiph-web