Lines Matching full:restricted
0 """Restricted execution facilities.
124 """Basic restricted execution framework.
126 Code executed in this restricted environment will only have access to
172 import within the restricted environment.)
260 m.argv = ['RESTRICTED']
308 """Execute code within a restricted environment.
312 executed in the restricted environment's __main__ module.
319 """Evaluate code within a restricted environment.
323 the restricted environment's __main__ module. The value of the
331 """Execute the Python code in the file in the restricted
343 restricted environment. Overriding this method in a subclass is
344 used to change the policies enforced by a restricted environment.
353 restricted environment. Overriding this method in a subclass is
354 used to change the policies enforced by a restricted environment.
362 Removes it from the restricted environment's sys.modules dictionary.
365 restricted environment. Overriding this method in a subclass is
366 used to change the policies enforced by a restricted environment.
423 """Execute code within a restricted environment.
426 to restricted versions of the standard I/O streams sys.stdin,
431 executed in the restricted environment's __main__ module.
437 """Evaluate code within a restricted environment.
440 to restricted versions of the standard I/O streams sys.stdin,
445 the restricted environment's __main__ module. The value of the
452 """Execute the Python code in the file in the restricted
456 access to restricted versions of the standard I/O streams sys.stdin,
467 restricted environment. Overriding this method in a subclass is
468 used to change the policies enforced by a restricted environment.
470 Similar to the r_import() method, but has access to restricted
481 restricted environment. Overriding this method in a subclass is
482 used to change the policies enforced by a restricted environment.
484 Similar to the r_reload() method, but has access to restricted
494 Removes it from the restricted environment's sys.modules dictionary.
497 restricted environment. Overriding this method in a subclass is
498 used to change the policies enforced by a restricted environment.
500 Similar to the r_unload() method, but has access to restricted
507 # Restricted open(...)
510 """Method called when open() is called in the restricted environment.
518 restricted environment. Overriding this method in a subclass is
519 used to change the policies enforced by a restricted environment.
524 raise IOError, "can't open files for writing in restricted mode"
527 # Restricted version of sys.exc_info()