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


Groups > comp.lang.python > #90718

Re: Minimising stack trace

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Minimising stack trace
Date 2015-05-16 04:49 +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>
Newsgroups comp.lang.python
Message-ID <mailman.60.1431748175.17265.python-list@python.org> (permalink)

Show all headers | View raw


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.
>>>>
>>>> <http://www.catb.org/~esr/faqs/smart-questions.html>
>>>
>>> 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

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


Thread

Minimising stack trace Cecil Westerhof <Cecil@decebal.nl> - 2015-05-15 20:17 +0200
  Re: Minimising stack trace Ned Batchelder <ned@nedbatchelder.com> - 2015-05-15 12:04 -0700
    Re: Minimising stack trace Skip Montanaro <skip.montanaro@gmail.com> - 2015-05-15 14:14 -0500
    Re: Minimising stack trace Cecil Westerhof <Cecil@decebal.nl> - 2015-05-16 09:22 +0200
  Re: Minimising stack trace Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-05-15 21:41 +0200
    Re: Minimising stack trace Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-16 10:57 +1000
      Re: Minimising stack trace Ned Batchelder <ned@nedbatchelder.com> - 2015-05-15 18:24 -0700
        Re: Minimising stack trace Chris Angelico <rosuav@gmail.com> - 2015-05-16 11:33 +1000
          Re: Minimising stack trace Ned Batchelder <ned@nedbatchelder.com> - 2015-05-15 18:37 -0700
        Re: Minimising stack trace Rustom Mody <rustompmody@gmail.com> - 2015-05-15 19:51 -0700
          Re: Minimising stack trace Rustom Mody <rustompmody@gmail.com> - 2015-05-15 19:59 -0700
          Re: Minimising stack trace Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-16 04:49 +0100
  Re: Minimising stack trace Cecil Westerhof <Cecil@decebal.nl> - 2015-05-16 15:49 +0200

csiph-web