def unwind(): yield am.pop_block() exc = yield am.pop_exception(must=True) py_none = yield from RT.py_none() yield am.push(py_none) yield am.push(exc) yield am.push(py_none)
def unwind(): yield am.pop_block()
def unwind(): # python 'with' block exits with a pushed 'None' yield am.pop() yield am.pop_block() yield from RT.py_exit(var)