Comparison with False - something I don't understand

Steve Holden steve at holdenweb.com
Mon Dec 6 03:40:53 EST 2010


On 12/6/2010 9:14 AM, Paul Rubin wrote:
> mdw at distorted.org.uk (Mark Wooding) writes:
>> The most obvious improvement is resumable exceptions.
> 
> You know, I've heard the story from language designers several times
> over, that they tried putting resumable exceptions into their languages
> and it turned out to be a big mess, so they went to termination
> exceptions that fixed the issue.  Are there any languages out there with
> resumable exceptions?  Escaping to a debugger doesn't really count as
> that.  I guess one way to do it would be call a coroutine to handle the
> exception, and either continue or unwind after the continue returns, but
> doing it in a single-threaded system just seems full of hazards.

I seem to remember PL/1 has resumable exceptions, but I don't ever
remember finding a real use for them. And it's so long since I used PL/1
I may be mistaken.

regards
 Steve
-- 
Steve Holden           +1 571 484 6266   +1 800 494 3119
PyCon 2011 Atlanta March 9-17       http://us.pycon.org/
See Python Video!       http://python.mirocommunity.org/
Holden Web LLC                 http://www.holdenweb.com/




More information about the Python-list mailing list