A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-August/135779.html below:

[Python-Dev] Reviving restricted mode?

[Python-Dev] Reviving restricted mode? [Python-Dev] Reviving restricted mode?Terry Reedy tjreedy at udel.edu
Wed Aug 13 20:11:07 CEST 2014
On 8/13/2014 12:19 PM, matsjoyce wrote:
> Unless you remove all the things labelled "keep away from children". I wrote
> this sandbox to allow python to be used as a "mods"/"add-ons" language for a
> game I'm writing, hence the perhaps too strict nature.
>
> About the crashers: as this is for games, its "fine" for the game to crash,
> as long as the sandbox is not broken while crashing.
>
> time and math can probably be allowed, but random imports a lot of
> undesirable modules.
>
> My sandbox doesn't use proxies, due to the introspection and complexity that
> it involves. Instead it completely isolates the sandboxed globals, and checks
> all arguments and globals for irregularities before passing control to non-
> sandboxed functions.

pydev is for mainly for discussion of maintaining current versions and 
development of the next, and for discussion of PEPs which might apply to 
the one after next.

This discussion should be on python-list or perhaps python-ideas if 
there is a semi-concrete proposal for a future python.

-- 
Terry Jan Reedy

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4