Yup. I remember working on q game engine many years ago and we wanted to use python as a scripting language and found the trail of broken dreams that is the various attempts to sandbox Python.
Just use Lua if you need a sandboxed dynamically-typed environment.
Just use Lua if you need a sandboxed dynamically-typed environment.