관리-도구
편집 파일: compat.cpython-310.pyc
o ƚRe� � @ s d dl mZ d dlZd dlZd dlZzd dlZW n ey# dZY nw ejd 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 d� Zd dl$Z$d dl$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z- er�d d l$m.Z. d dl/Z/d dl0Z0d dl1Z2d dl3m3Z3 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- e�rd d l?m.Z. d dl@m(Z(m'Z'm"Z" d dlAmBZ/ d dl?mCZ$ d dlDmBZ0 d dl2Z2d dlEm3Z3 d dlFmGZ4 eHZ5d dl6m:Z: e8Z8z d dlmIZImJZJ W n e�yb G dd� deK�ZJdbdd�ZLdd� ZIY nw zd dl mMZN W n e�y} G dd� deO�ZNY nw zd d lmPZP W n e�y� ejQejRB dfd!d"�ZPY nw d d#lSmTZU eVeUd$��r�eUZTnd d%lSmWZX G d&d'� d'eX�ZWG d(d)� d)eU�ZTzd d*lYmZZZ W n e�y� d+d,� ZZY nw zd dl[Z[W n e�y� dd-lm[Z[ Y nw ze\Z\W n e]�y d d.l^m_Z_ d/d0� Z\Y nw zej`Z`ejaZaW n# eb�y3 e�c� �pd1Zdedd2k�r'd3Zend4Zed5d6� Z`d7d8� ZaY nw zd d9lfmgZg W n# e�y_ d d:lhmiZimjZj d dlZe�kd;�Zld<d=� Zmd>d?� ZgY nw zd d@lnmoZo W n e�yx d d@lpmoZo Y nw ejddA� dBk �r�e3� jqZqnd dClnmqZq zd dDlrmsZs W n0 e�y� d dElrmtZt zd dFlumvZw W n e�y� dcdHdI�ZwY nw G dJdK� dKet�ZsY nw zd dLlxmyZy W n" e�y� zd dLlzmyZy W n e�y� dddMdN�ZyY nw Y nw zd dOlrm{Z{ W nB e�y< zd dPl|m}Z~ W n e�y d dPlm}Z~ Y nw zd dQl�m�Z�m�Z�m�Z� W n e�y1 Y nw G dRdS� dSe��Z{Y nw zd dTl�m�Z�m�Z� W dS e�y� e�kdUej��Z�dVdW� Z�G dXdY� dYe��Z�dddZd[�Z�G d\d]� d]e��Z�G d^d_� d_e��Z�G d`da� daeO�Z�Y dS w )e� )�absolute_importN� )�StringIO)�FileType� )�shutil)�urlparse� urlunparse�urljoin�urlsplit� urlunsplit)�urlretrieve�quote�unquote�url2pathname�pathname2url�ContentTooShortError� splittypec C s t | t�r | �d�} t| �S )N�utf-8)� isinstance�unicode�encode�_quote)�s� r ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/distlib/compat.pyr s r ) �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 r! r"