def stuff(m): if m > 100: raise KeyError a = A() rstack.stack_unwind() a.m = m + 5 return a
def switch(self): rstack.stack_unwind() return FakeSlpFrame()
def f(x, y): x = x - 1 rstack.resume_point("rp0", x, y) r = x + y rstack.stack_unwind() return r
def check(x): if x: rstack.stack_unwind()
def g(): f1 = getf() for i in range(5): rstack.stack_unwind() return f1
def my_callback(n): try: rstack.stack_unwind() except RuntimeError: return -20 return n * 10
def f(): stack_unwind() return 42
def f(x, y): x = x-1 rstack.resume_point("rp0", x, y) r = x+y rstack.stack_unwind() return r
def ll_stack_unwind(): rstack.stack_unwind()