python-sandbox
A library that removes the __subclasses__() list from all classes, allowing for nearly absolute security in exec and eval functions.