pub fn eval(sandbox: &Sandbox, source: &str, fuel: u64) -> Result<i32>Expand description
Run Python source in a FRESH interpreter with the given fuel budget.
Returns the guest eval status (0 = ok, nonzero = python error) on normal
completion, or Err if the guest TRAPPED (e.g. ran out of fuel, or reached a
trap-wired import). Deterministic; preferred for tests. Built on the generic
Sandbox::call_export over
the "eval" export.