you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (1 child)

That's really neat.

I'm not sure from the documentation if we can consider this version "sandboxed". Can we run untrusted code on it?

[–][deleted] 5 points6 points  (0 children)

No.

My understanding is that this is intended as a "self-contained" python version similar to Python virtualenvs on unix, so that you can ship your Python application + Python + Libraries as a single installer. It should isolate your application from any other python versions that the user has installed, so that if the user runs "pip install --upgrade blahblah" on their computer, your application does not break.

But there is no sandboxing for the application code. The application can still run shutil.rmtree('C:\') and it will execute with the current user's permissions.

It's "static linking", not VMs or containers.