On Jan 15, 8:21 pm, mario ruggier <mario.rugg...@gmail.com> wrote:
> OK! Here's a small script to make it easier...

Thanks! I think I found a quick way around the restrictions (correct
me if I borked it), but I think you can block this example by
resetting your globals/builtins:

exprs = [
    '(x for x in range(1)).gi_frame.f_globals.clear()',
    'open("where_is_ma_beer.txt", "w").write("Thanks for the fun  ")'
]

Regards,
Daniel
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to