Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.080 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; '22,': 0.09; 'assuming': 0.09; 'limit,': 0.16; 'limit.': 0.16; 'wrote:': 0.18; 'memory': 0.22; 'email addr:gmail.com>': 0.22; 'java': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'getting': 0.31; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'similar': 0.36; 'configured': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'back': 0.62; 'different': 0.65; 'results': 0.69; 'default': 0.69; 'limit': 0.70 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=5l6uGIawskqKLJCdzpaf8CQAqF9r3cENEf7LXclf0kU=; b=EpKznMNwjka6TGqCHH1DBVIRFMxihUi+ZUYaiyeeXmnLCP4+GAVU46KEsuTjKqvCsN AI1wYNhd4sIs4FgGPnI3smqrpr/pE4qFhuYJ6hf/dU9ZNGQotNTgadzJ5mQ9N1bNyYXU t33DbenEMXIZBhdunkQD/thXN28i1CFTuOPtk/3lGaJn3i2iqWFduLMF7Y4wEW98NNor h9zfmjKP/EEHw3w2d9HinUtovYhGY6MiK9yw5Z+9cJK14e781jggaAX5njKqmb9CkZaW XiBlXHhxSBqYWIWgqFATRkVeoqQ7CRbwyS5sLNH6KJ9a0JHpbXvtCeGeAum6U9s8zDY2 SCzA== MIME-Version: 1.0 X-Received: by 10.66.228.200 with SMTP id sk8mr13574546pac.134.1419293535163; Mon, 22 Dec 2014 16:12:15 -0800 (PST) In-Reply-To: <02c018f7-d871-4b3c-abd4-0fca1fbe12c1@googlegroups.com> References: <5498808D.60305@davea.name> <02c018f7-d871-4b3c-abd4-0fca1fbe12c1@googlegroups.com> Date: Mon, 22 Dec 2014 17:12:15 -0700 Subject: Re: Program calling unwanted functions From: Ian Kelly To: Python Content-Type: multipart/alternative; boundary=047d7b111ecbfeddac050ad70662 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1419293543 news.xs4all.nl 2881 [2001:888:2000:d::a6]:47765 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82820 --047d7b111ecbfeddac050ad70662 Content-Type: text/plain; charset=UTF-8 On Dec 22, 2014 6:06 PM, wrote: > > Huh...there actually is a limit of about 1,000. I'm assuming this is hard-coded? I did a similar test with Java a while back and was getting different results every time. The default is 1000 but it can be configured with sys.setrecursionlimit. I think Java only uses a memory limit, not a frame limit. --047d7b111ecbfeddac050ad70662 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Dec 22, 2014 6:06 PM, <sohca= htoa82@gmail.com> wrote:
>
> Huh...there actually is a limit of about 1,000.=C2=A0 I'm assuming= this is hard-coded?=C2=A0 I did a similar test with Java a while back and = was getting different results every time.

The default is 1000 but it can be configured with sys.setrec= ursionlimit. I think Java only uses a memory limit, not a frame limit.

--047d7b111ecbfeddac050ad70662--