'Return an fd that is always ready for read when passed to select.select. See fileno for why this is needed.'

def always_read_fd(self):

    if ConnectionWrapper._always_read_fd:
        return ConnectionWrapper._always_read_fd
    ConnectionWrapper._always_read_fd = open('/dev/zero')
    return ConnectionWrapper._always_read_fd
