'Build a Python traceback for propagating exceptions.
qualified_name should be the qualified name of the function.'

def put_add_traceback(self, qualified_name, include_cline=True):

    format_tuple = (qualified_name, (Naming.clineno_cname if include_cline else 0), Naming.lineno_cname, Naming.filename_cname)
    self.funcstate.uses_error_indicator = True
    self.putln(('__Pyx_AddTraceback("%s",    %s,    %s,    %s);' % format_tuple))
