summaryrefslogtreecommitdiff
path: root/python_server.py
AgeCommit message (Collapse)Author
2011-11-15BUG: Adding timeout to test code evaluation.Prabhu Ramachandran
If a user submitted code with an errant loop that loops forever or locks up for any reason, it would take the code server down. I now add a timeout of 3 seconds for the evaluation and tests failing which it is an error.
2011-11-13Revert last commit.Prabhu Ramachandran
"ENH: Improved traceback reporting from server. " Strangely, the reporting by this is not as good as my hand-rolled code. This reverts commit bc343c26cf3aac699c08129034b41317bac16f76.
2011-11-13ENH: Improved traceback reporting from server.Prabhu Ramachandran
2011-11-12ENH/BUG: Python server bug and user directoryPrabhu Ramachandran
The Python server was not setting the effective gid. There was also a bug in that traceback was not imported. Added option so that the python server chdirs to a user specific directory in order that a user can save files which could be used as part of the test.
2011-11-12ENH: Running remote code safely via XMLRPC.Prabhu Ramachandran
Adding a python_server which executes code as nobody safely so users cannot do too much damage.