관리-도구
편집 파일: compat.cpython-311.pyc
� �Re� � � � d dl mZ d dlZd dlZd dlZ d dlZn # e$ r dZY nw xY wej d dk r�d dlmZ e fZ eZd dl mZ d dlZd dlZddlmZ d dlmZmZmZmZmZ d d lmZmZmZm Z m!Z!m"Z"m#Z# d � Zd dl$Z$d dl$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z- erd dl$m.Z. d dl/Z/d dl0Z0d dl1Z2d d l3m3Z3 d dl4Z4e5Z5d dl6m7Z8 d dl6m9Z: n�d dl;mZ e<fZ e<Zd dl;m=Z d dlZd dlZd dlZd dl>mZmZmZmZmZmZmZm#Z# d dl?m&Z&mZm%Z%m Z m!Z!m)Z)m*Z*m+Z+m,Z,m-Z- erd dl?m.Z. d dl@m(Z(m'Z'm"Z" d dlAmBZ/ d dl?mCZ$ d dlDmBZ0 d dl2Z2d d lEm3Z3 d dlFmGZ4 eHZ5d dl6m:Z: e8Z8 d dlmIZImJZJ n # e$ r G d� deK� � ZJdTd�ZLd� ZIY nw xY w d dl mMZN n# e$ r G d� deO� � ZNY nw xY w d dlmPZP n# e$ r ejQ ejR z dfd�ZPY nw xY wd dlSmTZU eVeUd � � reUZTn"d d!lSmWZX G d"� d#eX� � ZW G d$� d%eU� � ZT d d&lYmZZZ n# e$ r d'� ZZY nw xY w d dl[Z[n# e$ r dd(lm[Z[ Y nw xY w e\Z\n# e]$ r d d)l^m_Z_ d*� Z\Y nw xY w ej` Z`eja Zan-# eb$ r% ejc � � pd+Zdedd,k rd-Zend.Zed/� Z`d0� ZaY nw xY w d d1lfmgZg n-# e$ r% d d2lhmiZimjZj d dlZ ejk d3� � Zld4� Zmd5� ZgY nw xY w d d6lnmoZo n# e$ r d d6lpmoZo Y nw xY wej dd7� d8k r e3� � jq Zqnd d9lnmqZq d d:lrmsZs n6# e$ r. d d;lrmtZt d d<lumvZw n# e$ r dUd>�ZwY nw xY w G d?� d@et� � ZsY nw xY w d dAlxmyZy n"# e$ r d dAlzmyZy n# e$ r dVdB�ZyY nw xY wY nw xY w d dClrm{Z{ nI# e$ rA d dDl|m}Z~ n# e$ r d dDlm}Z~ Y nw xY w d dEl�m�Z�m�Z�m�Z� n# e$ r Y nw xY w G dF� dGe�� � Z{Y nw xY w d dHl�m�Z�m�Z� dS # e$ rY ejk dIej� � � Z�dJ� Z� G dK� dLe�� � Z�dVdM�Z� G dN� dOe�� � Z� G dP� dQe�� � Z� G dR� dSeO� � Z�Y dS w xY w)W� )�absolute_importN� )�StringIO)�FileType� )�shutil)�urlparse� urlunparse�urljoin�urlsplit� urlunsplit)�urlretrieve�quote�unquote�url2pathname�pathname2url�ContentTooShortError� splittypec �t � t | t � � r| � d� � } t | � � S )N�utf-8)� isinstance�unicode�encode�_quote)�ss ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/distlib/compat.pyr r s1 � ��a��!�!� "�����!�!�A��a�y�y�� ) �Request�urlopen�URLError� HTTPError�HTTPBasicAuthHandler�HTTPPasswordMgr�HTTPHandler�HTTPRedirectHandler�build_opener)�HTTPSHandler)� HTMLParser)�ifilter)�ifilterfalse)� TextIOWrapper)r r r r r r r r ) r r r r r r"