Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95578
| References | <mrb0eh$2md$1@ger.gmane.org> <CAPTjJmrD3oBaHW64BNV6g9RM8LP7khdYUaXDjMXLeSb7dDe7Dg@mail.gmail.com> <mrb20m$l4d$1@ger.gmane.org> <mailman.22.1440288298.17298.python-list@python.org> <mrbku6$6me$1@dont-email.me> |
|---|---|
| Date | 2015-08-23 15:41 +1000 |
| Subject | Re: Sandboxing Python |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.26.1440308516.17298.python-list@python.org> (permalink) |
On Sun, Aug 23, 2015 at 3:17 PM, Christian Gollwitzer <auriocus@gmx.de> wrote: > Would it be that difficult to get the same for Python? On the C side, the > interpreter is a structure and does not use global variables (as opposed to > CPython), therefore it is easy to create more than one interpreter in a > single program, and also to reflect that to the scripting level. There have been some explorations in that direction. However, it would be very difficult to pass objects from one interpreter to the other, so you'd be restricted to some form of serialization... at which point you may as well just use a subprocess, which you can isolate using OS facilities. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Sandboxing Python Chris Angelico <rosuav@gmail.com> - 2015-08-23 10:04 +1000
Re: Sandboxing Python Christian Gollwitzer <auriocus@gmx.de> - 2015-08-23 07:17 +0200
Re: Sandboxing Python Chris Angelico <rosuav@gmail.com> - 2015-08-23 15:41 +1000
csiph-web