I use python to script my application. Users will be able to write
their own python scripts which are then run a grid of servers. I want
to be able to capture syntax errors in submitted users scripts and then
display them (with line numbers) back to the user.

I also want to check for obvious things which I'm going to restrict in
the code. Initially I would like to disallow any imports, and access to
__* access. I understand that it is near impossible to make the scripts
run in a completely restricted env.

Is scripting a tool like pylint the way to go? Or is it fairly easy to
control the python parser to do this?

Thanks,

VJ

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to