def execute_for(self, targets):
    session_setup = self.setup_repl_session(targets)
    self.context.release_lock()
    with stty_utils.preserve_stty_settings():
      with self.context.new_workunit(name='repl', labels=[WorkUnitLabel.RUN]):
        print('')  # Start REPL output on a new line.
        try:
          return self.launch_repl(session_setup)
        except __HOLE__:
          # This is a valid way to end a REPL session in general, so just break out of execute and
          # continue.
          pass
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/task/repl_task_mixin.py/ReplTaskMixin.execute_for