Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python has nothing at all like safe interpreters (I've looked). You just can't prevent things from leaking, it isn't designed for it at all. You can do a half-hearted approach by specifying the globals dictionary to eval(), but you can't really count on safety because the builtins do the leaking and you can't really stop anyone from finding a way to get back to that; the language is just too deeply interlinked for a proper security boundary to be erected anywhere inside it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: