environment/lib/python2.7/site-packages/IPython/utils/_process_common.py
def read_no_interrupt(p):
    """Read from a pipe ignoring EINTR errors.

    This is necessary because when reading from pipes with GUI event loops
    running in the background, often interrupts are raised that stop the
    command from completing."""
    import errno

    try:
        return p.read()
    except IOError, err:
        if err.errno != errno.EINTR:
            raise
def read_no_interrupt(p):
    import errno

    try:
        return p.read()
    except IOError, err:
        if err.errno != errno.EINTR:
            raise
def read_no_interrupt ( p ) : import errno try : return p . read ( ) except IOError , err : if err . errno != errno . EINTR : raise
Read from a pipe ignoring EINTR errors.

    This is necessary because when reading from pipes with GUI event loops
    running in the background, often interrupts are raised that stop the
    command from completing.
Read from a pipe ignoring EINTR errors .