def mailslot(mailslot, marshalled=True, message_size=0, timeout_ms=-1):
    if mailslot is None:
        return None
    elif isinstance(mailslot, Mailslot):
        return mailslot
    else:
        if marshalled:
            serialiser = marshal.dumps, marshal.loads
        else:
            serialiser = _unserialised, _unserialised
        if not re.match(r"\\\\[^\\]+\\mailslot\\", unicode(mailslot), re.UNICODE):
            mailslot = r"\\.\mailslot\%s" % mailslot
        return Mailslot(mailslot, serialiser, message_size, timeout_ms)
Lookup the HINFO records associated with C{name}.
dataset/ETHPy150Open tjguk/winsys/winsys/ipc.py/mailslot--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/interfaces.py/IResolver.lookupHostInfo