code: def _setup_program(self):
          
          filename = self._get_program_filename()
          path = os.path.join(self.get_temp_dir(), filename)
          self.program_fp = open(path, 'wb')
          self.program_fp.write(self._get_program())
          self.program_fp.flush()
          os.chmod(self.program_fp.name, int('0700', 8))
          reopen_readonly(self.program_fp)
docs: Create a temporary file containing the program code. The code is
          fetched via :meth:`_get_program`.