|
Boost : |
From: Sohail Somani (sohail_at_[hidden])
Date: 2008-06-11 00:09:53
Gennadiy Rozental wrote:
> Stefan Seefeld <seefeld <at> sympatico.ca> writes:
>
>> Gennadiy Rozental wrote:
>> A 'StopIteration' exception is the mechanism by which Python terminates
>> an iteration. This exception is certainly not ignored. It is simply
>> translated and handed over to the Python runtime. I'm not sure I
>
> Kinda against the rules for good programming
Only true for languages where exceptions are used to indicate errors.
Some languages allow you to recover from exceptions and retry the
operation (but Python is not one of them, afaik!)
-- Sohail Somani http://uint32t.blogspot.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk