Loading the puzzle…
The puzzle IDE is built for a laptop or larger screen. You can read everything here, but selecting code is easier with a mouse and a wider window.
A template containing {{ user.name }}, where user is a variable passed to
render, is compiled and rendered by a SandboxedEnvironment from
src/jinja2/sandbox.py. Before the value of name is returned, the sandbox runs
its is_safe_attribute check on it. Which statement correctly describes how that
check gets into the path of the attribute access? Read the code generator in
src/jinja2/compiler.py and the environment classes. Select one option.
One of the listed options.
Each hint revealed before you solve takes 20 points off this puzzle's score.
Solve this puzzle to see the solution and a full explanation.
Pick one of the options.