'Wraps code that would signal a fallback to interpreter mode'

@contextmanager
def giveup_context(self, msg):

    try:
        (yield)
    except BaseException as e:
        if (not self.status.can_giveup):
            raise
        else:
            if (utils.PYVERSION >= (3,)):
                e = e.with_traceback(None)
            warnings.warn_explicit(('%s:    %s' % (msg, e)), errors.NumbaWarning, self.func_id.filename, self.func_id.firstlineno)
            raise
