def fatalerror(msg, traceback=False): from pypy.rpython.lltypesystem import lltype from pypy.rpython.lltypesystem.lloperation import llop if traceback: llop.debug_print_traceback(lltype.Void) llop.debug_fatalerror(lltype.Void, msg)
def fatalerror(msg): # print the RPython traceback and abort with a fatal error if not we_are_translated(): raise FatalError(msg) from pypy.rpython.lltypesystem import lltype from pypy.rpython.lltypesystem.lloperation import llop llop.debug_print_traceback(lltype.Void) llop.debug_fatalerror(lltype.Void, msg)
def fatalerror(msg): # print the RPython traceback and abort with a fatal error from pypy.rpython.lltypesystem import lltype from pypy.rpython.lltypesystem.lloperation import llop llop.debug_print_traceback(lltype.Void) llop.debug_fatalerror(lltype.Void, msg)