[Python-Dev] 2.4 & 2.5 beta 3 crash

Dino Viehland dinov at exchange.microsoft.com
Wed Aug 16 17:31:43 CEST 2006


We've been working on fixing some exception handling bugs in IronPython where we differ from CPython.  Along the way we ran into this issue which causes CPython to crash when the code below is run.  It crashes on both 2.4 and 2.5 beta 3.  The code's technically illegal, but it probably shouldn't crash either :)

def test():
    for abc in range(10):
        try: pass
        finally:
            try:
                continue
            except:
                pass


test()



More information about the Python-Dev mailing list