def _parseUNIX(factory, address, mode='666', backlog=50, lockfile=True):
 return ((address, factory), {'mode': int(mode, 8), 'backlog': int(backlog), 'wantPID': bool(int(lockfile))})

def _parseUNIX ( factory , address , mode = '666' , backlog = 50 , lockfile = True ) : return ( ( address , factory ) , { 'mode' : int ( mode , 8 ) , 'backlog' : int ( backlog ) , 'wantPID' : bool ( int ( lockfile ) ) } )
internal parser function for l{_parseserver} to convert the string arguments for a unix stream endpoint into the structured arguments .