exceptions
Calvin Spealman
calvin at ironfroggy.com
Mon May 31 06:25:23 EDT 2004
Peter Hansen wrote:
> Zunbeltz Izaola wrote:
>> I've trid this, but the problem is that this finished the try block.
>> I want to continue executing the try block from the point the
>> exception was raised.
>
> Not possible except, perhaps, with a significant amount of
> working involving sys.settrace(). I think you need to find
> another way to solve the problem.
Have to admit tho, a continue feature might be useful. Some languages have
this, don't they? The thing is, Where exactly to continue? Should you retry
whatever raised the exception, continue just after it, at the beginning of
that line, or what?
More information about the Python-list
mailing list