Module ImportFrom alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr body With Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword ListLoad AttributeLoad NameLoad attr body Expr Call NameLoad Str TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement abc abstractmethod pants.base.workunit WorkUnitLabel pants.console stty_utils pants.task.mutex_task_mixin MutexTaskMixin ReplTaskMixin N/A MutexTaskMixin N/A N/A A task mutex mixin for all REPL providing tasks installed in pants.

  By mixing in this class, REPL implementations ensure they are the only REPL that is being run in
  the current pants session.

  :API: public
   mutex_base N/A N/A cls N/A N/A N/A ReplTaskMixin N/A classmethod setup_repl_session N/A N/A self targets N/A N/A N/A Implementations should prepare their REPL runner and return all session setup state needed.

    NB: This is called with the pants lock help, so otherwise unsafe operations can be performed.

    :param targets: All the targets reachable in this run selected by this REPLs `select_targets`
                    method.
    :returns: Any session setup state needed by `launch_repl`

    :API: public
     N/A abstractmethod launch_repl N/A N/A self session_setup N/A N/A N/A Implementations should launch an interactive REPL session.

    :param session_setup:  The state returned from `setup_repl_session`

    :API: public
     N/A abstractmethod execute_for N/A N/A self targets N/A N/A N/A session_setup N/A N/A self setup_repl_session targets N/A N/A N/A N/A self context release_lock N/A N/A N/A stty_utils preserve_stty_settings N/A N/A N/A N/A N/A self context new_workunit name repl labels N/A N/A WorkUnitLabel RUN N/A N/A N/A print N/A N/A N/A N/A N/A self launch_repl session_setup N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A