SeattleTestbed / repy_v2

Seattle Testbed's Repy ("Restricted Python") sandbox, version 2
MIT License
12 stars 50 forks source link

Run repy.py without restrictions? #61

Closed choksi81 closed 7 years ago

choksi81 commented 10 years ago

I believe there is no way to run repy.py without restrictions, except for providing a restrictions file with very high limits. (The --simple command-line option which by the way didn't make its way into RepyV2 yet doesn't do that.)

If this is supposed to be the One True Way of achieving practically unrestricted Repy, then we should distribute such restrictions file at least with the demokit.

An alternative could be to do what repyportability.py does and programmatically disable nanny's checks.

Opinions?

choksi81 commented 10 years ago

Author: justinc A resource file with high limits makes the most sense to me. Let's not disable the checks in code for now. (Howver, there actually are hooks to do this in repyportability already.)

aaaaalbert commented 7 years ago

Enough said. I'm closing the issue.