Does Python need Javascript?

Gregory Ewing greg.ewing at canterbury.ac.nz
Thu Jun 15 05:54:55 EDT 2017


Chris Angelico wrote:
> There've been a number of attempts, over the years, to make a
> sandboxed Python interpreter, where you can run untrusted code. But if
> Python came with a JS interpreter, it would be possible to run
> untrusted JS code, with Python functioning as a gatekeeper.

If that would provide sufficient sandboxing, then how about
writing a Python interpreter in Python to get a sandboxed
Python?

-- 
Greg



More information about the Python-list mailing list