File: //opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyc
�
;�Pc           @   sV  d  Z  d d l m Z d d l m Z d d l m Z m Z d d l Td d l	 m
 Z
 d d l m Z d d l
 Z
 d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d	 e f d
 �  �  YZ d f  d �  �  YZ d
 e j f d �  �  YZ d f  d �  �  YZ d e j f d �  �  YZ d �  Z d �  Z e a e a  d S(   s4   
    Support remote access to a Python interpreter.
i����(   t   cmd(   t   hpy(   t   heapyct   Target(   t   *(   t   Console(   t	   mutbitsetNt   SocketClosedc           B   s   e  Z RS(    (   t   __name__t
   __module__(    (    (    sE   /opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyR      s   t   IsolatedCallerc           B   s   e  Z d  �  Z d �  Z RS(   c         C   s
   | |  _  d  S(   N(   t   func(   t   selfR   (    (    sE   /opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyt   __init__   s    c         O   s   |  j  | | �  S(   N(   R   (   R   t   argst   kwds(    (    sE   /opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyt   __call__   s    (   R   R	   R
   R   (    (    (    sE   /opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyR
      s   	t   QueueWithReadlinec           B   s   e  Z d  d � Z RS(   i����c         C   s9   x2 y |  j  d d � SWq t j k
 r0 q q Xq Wd  S(   Nt   timeoutg      �?(   t   gett   Queuet   Empty(   R   t   size(    (    sE   /opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyt   readline    s
    (   R   R	   R   (    (    (    sE   /opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyR      s   t	   NotiInputc           B   s)   e  Z d  �  Z d d � Z d d � Z RS(   c         C   s   | |  _  | |  _ d  S(   N(   t   inputt   output(   R   R   R   (    (    sE   /opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyR
   ,   s    	i����c         C   s
   |  j  | � S(   N(   R   (   R   R   (    (    sE   /opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyt   read0   s    c         C   s    |  j  j t � |  j j | � S(   N(   R   t   writet   READLINER   R   (   R   R   (    (    sE   /opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyR   4   s    (   R   R	   R
   R   R   (    (    (    sE   /opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/Remote.pyR   +   s   	t   Annexc           B   s�   e  Z e j Z e j Z d  Z d Z d d � Z
 d �  Z d �  Z d �  Z
 d �  Z d �  Z d �  Z e j j Z d	 �  Z e Z d
 �  Z d �  Z d Z d
 �  Z d �  Z d �  Z d �  Z d �  Z d �  Z d �  Z  d �  Z! d �  Z"