http://docs.python.org/2/library/ast.html

You could call it a more safe form of eval(). I use it on line 82 to evaluate a stringified dict.