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


Groups > comp.lang.python > #108780

Re: setrecursionlimit

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Ian Kelly <ian.g.kelly@gmail.com>
Newsgroups comp.lang.python
Subject Re: setrecursionlimit
Date Wed, 18 May 2016 11:38:36 -0600
Lines 10
Message-ID <mailman.15.1463593159.27390.python-list@python.org> (permalink)
References <573c941f$0$22141$c3e8da3$5496439d@news.astraweb.com> <d75fdf2c-fa98-4d6d-93ba-47a63c330e16@googlegroups.com> <nhi5a4$99a$1@dont-email.me> <573ca324$0$1604$c3e8da3$5496439d@news.astraweb.com> <CALwzidmbZYdaUOSXEThSQ2-cxz_qDYxxPSqTk1+Nm3JQnFXd5w@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de CLS6fm771Be56etpLXN5PwXGwM5EtqMNsyjv1vzgDfrw==
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.037
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'subject:skip:s 10': 0.05; 'received:209.85.218': 0.10; 'stack': 0.13; 'wed,': 0.15; '"your': 0.16; '11:15': 0.16; '2016': 0.16; 'heap,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'am,': 0.23; 'seems': 0.23; 'header:In-Reply-To:1': 0.24; 'message- id:@mail.gmail.com': 0.27; 'function': 0.28; 'hacker': 0.29; 'call.': 0.30; "can't": 0.32; 'expensive': 0.32; "d'aprano": 0.33; 'steven': 0.33; 'received:google.com': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'received:209': 0.38; 'why': 0.39; 'application': 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'some': 0.40; 'benefit': 0.66; "they're": 0.66; 'hour': 0.69; 'spammer': 0.84; 'to:name:python': 0.84; 'hong': 0.96
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=cFzpJgTU+rhuA8Fn/HjlXze+9O5v84RdgqQRio4Sl68=; b=RlUTldstZ9Gi+NL7eafkYW9x9uwHfUHiRNXFiV9JoyaogyLjzC89m2ViYlzq3O0ccO uDiIROX93SRHXAC86Kjk1jDIv0+eq9mEpmu6npMw1G8WJMgTYsYj3I+HCksIFER5KJ7A zPc7Rdttkz51iBJOM9evwyt556YDurT4AO2B1Bmy+3a0UKAv0UwqS63oML2pv3hLSUub B1BkY2zVyatt/BTcW7DICwiv89OMHDFPFBNSBSBFWVw3Hw5tK+Ln3r1Bqqc8pKWZxP5o TT/bQ6tuNLwtdBfOXMYOsgGbKUEQ6MLjkpb1dVp+oOlmGxrIil4l+pDgqJqupbrwQ4Jg GMFA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=cFzpJgTU+rhuA8Fn/HjlXze+9O5v84RdgqQRio4Sl68=; b=CjyuYUHgzPqjeUKX/DN/vhTTtDDbdC6kL1YP2LYnR+MJvaOGn75MwWxicKm6/i7MpO diTXYIBt8yw4pw6hrJbkgBT8UjuVhGT5yxCoOYGvwfjUMY4V1/nZlW9SrwHA+3jVUbdw F75jSu1e4+z9U93QlE00CCgmPg64hvl5R7tqBWY/p87wyhmDzy+YBFqwg0zH3XVdc3mR iuIOZ4ktGO+CNMHlr0dX/Xn6oq/1k9BU+vN3CvKPlc+3kXCg+cDLi4arkLoGLikd4ltP WnMYXb7LCqHp1SR+13O2MtF/YUskQ5StSnuYBqXnr29bckEMWpRFvGJyR3Zni27hoY+X cCsw==
X-Gm-Message-State AOPr4FXn6+ZlMEj60OTct7XQyKU55ftPhSLsG1v56zf0iMfHNDEnyAeTgXZB3qT6do7lx+oo6Oom0bxe6gO75g==
X-Received by 10.157.24.41 with SMTP id b38mr4800341ote.190.1463593156440; Wed, 18 May 2016 10:39:16 -0700 (PDT)
In-Reply-To <573ca324$0$1604$c3e8da3$5496439d@news.astraweb.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CALwzidmbZYdaUOSXEThSQ2-cxz_qDYxxPSqTk1+Nm3JQnFXd5w@mail.gmail.com>
X-Mailman-Original-References <573c941f$0$22141$c3e8da3$5496439d@news.astraweb.com> <d75fdf2c-fa98-4d6d-93ba-47a63c330e16@googlegroups.com> <nhi5a4$99a$1@dont-email.me> <573ca324$0$1604$c3e8da3$5496439d@news.astraweb.com>
Xref csiph.com comp.lang.python:108780

Show key headers only | View raw


On Wed, May 18, 2016 at 11:15 AM, Steven D'Aprano <steve@pearwood.info> wrote:
> I don't really understand why the system can't track the current top of the
> stack and bottom of the heap, and if they're going to collide, halt the
> process. That would still be kinda awful, in a sudden "your application
> just died" kind of way, but it would be better than "your computer is now
> owned by some hacker in Hong Kong, who is now renting it by the hour to
> some spammer in Texas".

Seems kind of expensive for little benefit to have to make that check
on every function call.

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