Lines Matching refs:code
16 within compiled template code with tracebacks that look like they
36 # code, but it still needs to point at the template.
47 # code with the source file and line information.
80 template source instead of the compiled code. The filename, line
87 code info from.
105 code: CodeType = compile(
109 # Build a new code object that points to the template file and
117 location = "top-level template code"
122 code = code.replace(co_name=location)
124 code = CodeType(
125 code.co_argcount,
126 code.co_kwonlyargcount,
127 code.co_nlocals,
128 code.co_stacksize,
129 code.co_flags,
130 code.co_code,
131 code.co_consts,
132 code.co_names,
133 code.co_varnames,
134 code.co_filename,
136 code.co_firstlineno,
137 code.co_lnotab,
138 code.co_freevars,
139 code.co_cellvars,
142 # Execute the new code, which is guaranteed to raise, and return
145 exec(code, globals, locals)