@imports(['<STR_LIT>', '<STR_LIT>'])<EOL>def get_defaults():
DEFAULTS = {}<EOL>if '<STR_LIT>' in os.pathconf_names:<EOL><INDENT>x, y = os.pipe()<EOL>DEFAULTS['<STR_LIT>'] = os.fpathconf(x, "<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>DEFAULTS['<STR_LIT>'] = <NUM_LIT><EOL><DEDENT>tcp_sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)<EOL>DEFAULTS['<STR_LIT>'] = tcp_sock.getsockopt(socket.SOL_SOCKET,socket.SO_SNDBUF)<EOL>DEFAULTS['<STR_LIT>'] = tcp_sock.getsockopt(socket.SOL_SOCKET,socket.SO_RCVBUF)<EOL>udp_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)<EOL>DEFAULTS['<STR_LIT>'] = udp_sock.getsockopt(socket.SOL_SOCKET,socket.SO_SNDBUF)<EOL>DEFAULTS['<STR_LIT>'] = udp_sock.getsockopt(socket.SOL_SOCKET,socket.SO_RCVBUF)<EOL>DEFAULTS['<STR_LIT>'] ='<STR_LIT>'<EOL>return DEFAULTS<EOL>
Returns a dictionary of variables and their possibly os-dependent defaults.