Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.python Subject: Re: Minimising stack trace Date: Fri, 15 May 2015 21:41:17 +0200 Organization: PointedEars Software (PES) Lines: 16 Message-ID: <1585804.vCLx6kbzfH@PointedEars.de> References: <871tih66z5.fsf@Equus.decebal.nl> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1431719034 23978 eJwFwQkBwDAIA0BLhCeAnI4O/xJ6F0Zw0hn02Fj/Fe1WH8xNLy9sBpCjHX2ZR2Q1C1pY6+UD/AIP2Q== (15 May 2015 19:43:54 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 15 May 2015 19:43:54 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwQkBwDAIA0BLrJBQ5PDVv4TdQfmx3QgaHp4bRLGMqm41xKFoiJ3NbE/m1cm1sYgBY67cOilfiab37A885BVb Cancel-Lock: sha1:7HFbIXed6mIKX94jLzeT3kuFV8M= X-NNTP-Posting-Host: eJwNyMEBwCAIA8CVtJoA4yCY/Uew9zwsTpZtghuCGu2ythhheVGeWl5XMVj/IWZv9fkO3C2pBysSEY8= Xref: csiph.com comp.lang.python:90690 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. -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.