관리-도구
편집 파일: parse.cpython-36.opt-1.pyc
3 � fo� � @ s` d Z ddlZddlZddlZddddddd d ddd ddddddddddgZddddddddd d!d"d#d$d%d&d'd(d)d*gZdddddd+dddd"d d!d,d#d$d%d-d'd(d&d.d/d0d)d*gZddd1d#ddd d!d$d%d2d3d"d&d4gZdd1d5d6d+ddd,d2d3g Zddddd d!d"dd$d%d2d3gZ ddd1ddd6ddd d!d,dd#g Z d7Zd8d9d:gZd;Z i Zd<d=� Zd>Zd?Zd@dA� ZeefdBdC�ZeefdDdE�ZdFdG� ZG dHdI� dIe�ZG dJdK� dKe�ZG dLdM� dMe�ZG dNdO� dOee�ZG dPdQ� dQee�ZddRlmZ eddS�ZeddT�ZeddU�ZdVe_ dWej _ dXej!_ dYe_ dZej"_ d[ej#_ d\ej$_ d]ej%_ d^ej!_ d_e_ ej"j ej"_ ej#j ej#_ ej$j ej$_ d`ej&_ ej%j ej%_ ej!j ej!_ eZ'G dad� dee�Z(G dbd� dee�Z)G dcd� dee�Z*G ddd� dee�Z+G ded� dee�Z,G dfd� dee�Z-dgdh� Z.e.� [.d�djd�Z/dkdl� Z0d�dmdn�Z1dodp� Z2dqdr� Z3d�dsd�Z4dtd� Z5dud� Z6d�dvd�Z7dwd� Z8dxZ9da:dyd� Z;ej<dz�Z=d�d}d�Z>d�d�d �Z?d�d�d�Z@d�d�d�ZAeBd��ZCeDeC�ZEi ZFG d�d�� d�ejG�ZHd�d�d�ZId�d�d �ZJd�d�d�ZKd~dddeJfd�d �ZLd�d�� ZMd�d�� ZNdaOd�d�� ZPdaQd�d�� ZRd�d�� ZSd�d�� ZTdaUd�d�� ZVd�d�d��ZWd�d�� ZXd�d�� ZYd�d�� ZZd�d�� Z[dS )�ac Parse (absolute and relative) URLs. urlparse module is based upon the following RFC specifications. RFC 3986 (STD66): "Uniform Resource Identifiers" by T. Berners-Lee, R. Fielding and L. Masinter, January 2005. RFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter and L.Masinter, December 1999. RFC 2396: "Uniform Resource Identifiers (URI)": Generic Syntax by T. Berners-Lee, R. Fielding, and L. Masinter, August 1998. RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zawinski, July 1998. RFC 1808: "Relative Uniform Resource Locators", by R. Fielding, UC Irvine, June 1995. RFC 1738: "Uniform Resource Locators (URL)" by T. Berners-Lee, L. Masinter, M. McCahill, December 1994 RFC 3986 is considered the current standard and any future changes to urlparse module should conform with it. The urlparse module is currently not entirely compliant with this RFC due to defacto scenarios for parsing, and for backward compatibility purposes, some parsing quirks from older RFCs are retained. The testcases in test_urlparse.py provides a good indicator of parsing behavior. � N�urlparse� urlunparse�urljoin� urldefrag�urlsplit� urlunsplit� urlencode�parse_qs� parse_qsl�quote� quote_plus�quote_from_bytes�unquote�unquote_plus�unquote_to_bytes�DefragResult�ParseResult�SplitResult�DefragResultBytes�ParseResultBytes�SplitResultBytes� Zftp�httpZgopherZnntpZimapZwais�fileZhttpsZshttpZmmsZprosperoZrtspZrtspuZsftpZsvnzsvn+sshZwsZwssZtelnetZsnewsZrsyncZnfsZgitzgit+sshZhdlZsipZsipsZtelZmailtoZnewszAabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+-.� � � � c C s t j� tj� dS )z,Clear the parse cache and the quoters cache.N)�_parse_cache�clear� _safe_quoters� r! r! �1/opt/alt/python36/lib64/python3.6/urllib/parse.py�clear_cacheV s r# �ascii�strictc C s | S )Nr! )�objr! r! r"