Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59257 > unrolled thread

Re: [Python-Dev] The pysandbox project is broken

Started byChris Angelico <rosuav@gmail.com>
First post2013-11-13 10:16 +1100
Last post2013-11-13 10:16 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Python-Dev] The pysandbox project is broken Chris Angelico <rosuav@gmail.com> - 2013-11-13 10:16 +1100

#59257 — Re: [Python-Dev] The pysandbox project is broken

FromChris Angelico <rosuav@gmail.com>
Date2013-11-13 10:16 +1100
SubjectRe: [Python-Dev] The pysandbox project is broken
Message-ID<mailman.2504.1384298207.18130.python-list@python.org>
On Wed, Nov 13, 2013 at 8:16 AM, Victor Stinner
<victor.stinner@gmail.com> wrote:
> In 2010, a developper called Tav wrote a sandbox called "safelite.py":
> the sandbox hides sensitive attributes to separate a trusted namespace
> and an untrusted namespace.

Ha, I come full circle. This was the exact project that brought me to
this list (for better or for worse!), as we were trying to sandbox
Python code inside C++. Same sort of thing - we wanted free access to
whatever it could do in memory, but no FS or OS access (and limits on
total memory and CPU usage, though they're less critical as I can use
OS APIs to do that). Conclusion: Either utterly impossible, or so hard
as to be not worth the hassle. We switched to JavaScript, though I do
maintain some regret that we couldn't use the better language.

It's probably too late for that project to switch back now (and I've
left the company), but as a matter of intellectual curiosity, I'm
still somewhat interested.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web