Return the optimum pipe implementation for the capabilities of the active system.

def pipe():
    """Return the optimum pipe implementation for the capabilities of the active system."""
    
    try:
        from os import pipe
        return pipe()
    
    except:
        pipe = Pipe()
        return pipe.reader_fd, pipe.writer_fd