Path: csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!1.eu.feeder.erje.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed3a.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'yet.': 0.04; 'friday,': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:faqs': 0.09; 'language.': 0.14; 'ought': 0.16; 'received:80.91.229.3': 0.16; 'received:92.29': 0.16; 'received:plane.gmane.org': 0.16; 'trace.': 0.16; 'url:catb': 0.16; 'url:~esr': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'stack': 0.19; '>>>': 0.22; 'header:User-Agent:1': 0.23; '15,': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; 'point': 0.28; 'am,': 0.29; 'posting': 0.31; "skip:' 10": 0.31; '>>>>': 0.31; 'comparison': 0.31; "d'aprano": 0.31; 'depth': 0.31; 'steven': 0.31; 'probably': 0.32; 'but': 0.35; 'google': 0.35; 'there': 0.35; 'explains': 0.36; 'useful': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'experts': 0.60; 'length': 0.61; 'course': 0.61; 'information': 0.63; 'kind': 0.63; 'maximum': 0.63; 'our': 0.64; 'more': 0.64; 'thomas': 0.65; 'subject': 0.69; '2015': 0.84; 'batchelder': 0.84; 'river': 0.91; 'exceeded': 0.97 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Minimising stack trace Date: Sat, 16 May 2015 04:49:23 +0100 References: <871tih66z5.fsf@Equus.decebal.nl> <1585804.vCLx6kbzfH@PointedEars.de> <55569607$0$13008$c3e8da3$5496439d@news.astraweb.com> <9cbf3b8e-e830-46f5-a636-27c0d07f460a@googlegroups.com> <5581b381-8c45-4aa1-b037-32aee59f4463@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-92-29-188-174.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <5581b381-8c45-4aa1-b037-32aee59f4463@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431748175 news.xs4all.nl 2828 [2001:888:2000:d::a6]:54770 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90718 On 16/05/2015 03:51, Rustom Mody wrote: > On Saturday, May 16, 2015 at 6:54:23 AM UTC+5:30, Ned Batchelder wrote: >> On Friday, May 15, 2015 at 8:57:53 PM UTC-4, Steven D'Aprano wrote: >>> On Sat, 16 May 2015 05:41 am, Thomas 'PointedEars' Lahn wrote: >>> >>>> Cecil Westerhof wrote: >>>> >>>>> While playing with recursion I get: >>>>> RuntimeError: maximum recursion depth exceeded in comparison >>>>> >>>>> But then I get a very long stack trace. Is there a way to make this a >>>>> lot shorter. Now I 'lose' interesting information because of the length >>>>> of the stack trace. >>>> >>>> >>> >>> There ought to be a website that explains how to give smart answers. >> >> Or one that explains how to be kind to those that don't know >> the ropes yet. Though pointing impatient experts at a >> website probably won't get them to change any more than >> brusquely pointing newbs at a website will. > > How about a 'answerer-quota' 😇 ? > > « Once for every 20 useful answers you are allowed to vent on any subject of > your choice... > > - Stupid questions (and point to catb's smart questions) > - Google groups > - Top posting > - Html mail > Blatant discrimination against people who live in Mudeford, which of course straddles the mighty River Mude. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence