try/exception - error block

Grant Edwards invalid at invalid.invalid
Mon Aug 4 11:12:55 EDT 2014


On 2014-08-03, Roy Smith <roy at panix.com> wrote:
> In article <mailman.12587.1407077774.18130.python-list at python.org>,
>  Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>
>> How to go about this is at "Short, Self Contained, Correct (Compilable), 
>> Example" at http://sscce.org/
>
> It says there, "most readers will stop reading by 100 lines of code".  I 
> guess I have a short attention span relative to "most readers", because 
> my tl;dnr threshold is a lot shorter than that.

Mine too.  My limit is about one screen full -- how many lines that is
varies, but is rarely more than 40 lines.

> The other advantage to coming up with a minimal example is that often 
> the exercise of cutting your problem down to a minimal example is enough 
> to allow you to figure it out for yourself :-)

That is very true.

-- 
Grant Edwards               grant.b.edwards        Yow! I am NOT a nut....
                                  at               
                              gmail.com            



More information about the Python-list mailing list