Robin Thomas <robin.thomas at starmedia.net> wrote: > >>class MyRE(rexec.RExec): >> def r_eval(self, code): >> return eval(code, my_dict) > > MyRE.ok_sys_names = () # or some names you wish to allow It works, thank you. Oh my god, it was a syntax error! Obviously I tried: class MyRE(rexec.RExec): ok_sys_name = () def r_eval(self, code): ... But I wrote "ok_sys_name" instead of "ok_sys_names"... :-| -- http://digilander.iol.it/alberanid/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4