control_flow_except_T725.pyx 291 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
def unused_except_capture():
    """
    >>> unused_except_capture()
    """
    try:
        try:
            raise ValueError
        except TypeError, s:
            raise TypeError
        except ValueError, s:
            raise ValueError # segfault
    except ValueError:
Robert Bradshaw's avatar
Robert Bradshaw committed
13
        pass