Minimising stack trace

Steven D'Aprano steve+comp.lang.python at pearwood.info
Fri May 15 20:57:42 EDT 2015


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.


-- 
Steven




More information about the Python-list mailing list