def fail(self, node, *args):
        "Default callback for unallowed AST nodes."
        lineno = get_node_lineno(node)
        self.errors.append(SafeEvalASTNodeError( \
            "execution of '%s' statements is denied" % classname(node),
            lineno))
Default callback for unallowed AST nodes.
recipes/Python/496746_Restricted_safe_eval/recipe-496746.py