I did use eval(f'{cond} {op2} {val2}', regs)
first. Well the problem is that
if the given globals mapping doesn’t have __builtins__
, it is injected there.
Then I wrote a stupid filter that would only give me everything that is
isinstance(, int)
…