Duncan Booth <[EMAIL PROTECTED]> writes:

>  wrote:
>
>> Coming from a background that exposed me to far too many languages, I
>> find the latter two examples (i.e. use try/except) to be horrible
>> solutions.  It's not a matter of light/heavy weight, it's a matter of
>> using exceptions for normal loop flow control is a really bad idea.
>> 1)  I think it's less clear why the loop works
>> 2)  The possibility (in more complicated examples) that this could mask
>> a real exception (if for example, your function
>
> I'm waiting for the end of that sentence...

While in the loop to mount the list, there was an exception thrown.  I mean
raised. :-) ;-)


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to