class_docstr: Wrap 'os' module and 'open()' builtin for virtualizing setup scripts
class_docstr_tok: ["Wrap","'os","'","module","and","'open","(",")","'","builtin","for","virtualizing","setup","scripts"]
docstr: Run 'func' under os sandboxing
code: def run(self, func):
      """Run 'func' under os sandboxing"""
      with self:
          return func()
  
imports: import os
  import sys
  import tempfile
  import operator
  import functools
  import itertools
  import re
  import contextlib
  import pickle
  import textwrap
  import builtins
  import pkg_resources
  from distutils.errors import DistutilsError
  from pkg_resources import working_set
label_desc: Use image node_id 5 for calling the AbstractSandbox obj's underlying member method code with example usage: obj.run(func) and returns: func