File "compat.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyc
File size: 45.84 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit


Rec@@sddlmZddlZddlZddlZyddlZWnek
r]dZnXejddkr
ddl	m	Z	e
fZeZ
ddlmZddlZddlZddlmZddlmZmZmZmZmZdd	lmZmZm Z m!Z!m"Z"m#Z#m$Z$d
Zddl%Z%ddl%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.erddl%m/Z/nddl0Z0ddl1Z1ddl2Z3dd
l4m4Z4ddl5Z5e6Z6ddl7m8Z9ddl7m:Z;da<dZ=nddl>m	Z	e?fZe?Z
ddl>m@ZddlZddlZddlZddlAmZmZmZm=Z=mZm Z mZmZm$Z$ddlBm'Z'mZm&Z&m!Z!m"Z"m*Z*m+Z+m,Z,m-Z-m.Z.erddlBm/Z/nddlCm)Z)m(Z(m#Z#ddlDjEZ0ddlBjFZ%ddlGjEZ1ddl3Z3dd
lHm4Z4ddlIjJZ5eKZ6ddl7m;Z;e9Z9yddlmLZLmMZMWn<ek
rdeNfdYZMddZOdZLnXyddlmPZQWn'ek
r"deRfdYZQnXyddlmSZSWn*ek
rcejTejUBddZSnXdd lVmWZXeYeXd!reXZWn<dd"lVmZZ[d#e[fd$YZZd%eXfd&YZWydd'l\m]Z]Wnek
rd(Z]nXyddl^Z^Wn!ek
r,dd)lm^Z^nXy
e_Z_Wn*e`k
rcdd*lambZbd+Z_nXyejcZcejdZdWnPeek
rejfpd,Zgegd-krd.Zhnd/Zhd0Zcd1ZdnXydd2limjZjWnTek
r7dd3lkmlZlmmZmddlZejnd4Zod5Zpd6ZjnXydd7lqmrZrWn!ek
rodd7lsmrZrnXejd8 dUkre4jtZtndd:lqmtZtydd;lumvZvWnkek
r#dd<lumwZwydd=lxmyZzWnek
r	d>d?ZznXd@ewfdAYZvnXyddBl{m|Z|WnEek
ryddBl}m|Z|Wqek
r{ddCZ|qXnXyddDlum~Z~Wnek
r)yddElmZWn!ek
rddElmZnXy ddFlmZmZmZWnek
rnXdGefdHYZ~nXyddIlmZmZWnek
rejndJejZdKZdLefdMYZddNZdOefdPYZdQefdRYZdSeRfdTYZnXdS(Vi(tabsolute_importNi(tStringIO(tFileTypei(tshutil(turlparset
urlunparseturljointurlsplitt
urlunsplit(turlretrievetquotetunquoteturl2pathnametpathname2urltContentTooShortErrort	splittypecC@s+t|tr!|jd}nt|S(Nsutf-8(t
isinstancetunicodetencodet_quote(ts((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR
s(	tRequestturlopentURLErrort	HTTPErrortHTTPBasicAuthHandlertHTTPPasswordMgrtHTTPHandlertHTTPRedirectHandlertbuild_opener(tHTTPSHandler(t
HTMLParser(tifilter(tifilterfalsecC@sYtdkr*ddl}|jdantj|}|rO|jddSd|fS(sJsplituser('user[:passwd]@host[:port]') --> 'user[:passwd]', 'host[:port]'.iNs^(.*)@(.*)$ii(t	_userprogtNonetretcompiletmatchtgroup(thostR$R&((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt	splituser4s(t
TextIOWrapper(	RRRR)R
RRRR(
RR	RRR
RRRRR(RRR(tfilterfalse(tmatch_hostnametCertificateErrorR-cB@seZRS((t__name__t
__module__(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR-^sc
C@sSg}|stS|jd}|d|d}}|jd}||krhtdt|n|s|j|jkS|dkr|jdnY|jds|jdr|jtj	|n"|jtj	|j
dd	x$|D]}|jtj	|qWtjd
dj|dtj
}	|	j|S(
spMatching according to RFC 6125, section 6.4.3

        http://tools.ietf.org/html/rfc6125#section-6.4.3
        t.iit*s,too many wildcards in certificate DNS name: s[^.]+sxn--s\*s[^.]*s\As\.s\Z(tFalsetsplittcountR-treprtlowertappendt
startswithR$tescapetreplaceR%tjoint
IGNORECASER&(
tdnthostnamet
max_wildcardstpatstpartstleftmostt	remaindert	wildcardstfragtpat((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt_dnsname_matchbs("
&cC@s[|stdng}|jdd
}xC|D];\}}|dkr4t||r_dS|j|q4q4W|sxc|jddD]L}xC|D];\}}|dkrt||rdS|j|qqWqWnt|dkrtd|d	jtt|fn;t|dkrKtd
||dfntddS(s=Verify that *cert* (in decoded format as returned by
        SSLSocket.getpeercert()) matches the *hostname*.  RFC 2818 and RFC 6125
        rules are followed, but IP addresses are not accepted for *hostname*.

        CertificateError is raised on failure. On success, the function
        returns nothing.
        stempty or no certificate, match_hostname needs a SSL socket or SSL context with either CERT_OPTIONAL or CERT_REQUIREDtsubjectAltNametDNSNtsubjectt
commonNameis&hostname %r doesn't match either of %ss, shostname %r doesn't match %ris=no appropriate commonName or subjectAltName fields were found(((	t
ValueErrortgetRGR7tlenR-R;tmapR5(tcertR>tdnsnamestsantkeytvaluetsub((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR,s.%(tSimpleNamespacet	ContainercB@seZdZdZRS(sR
        A generic container for when multiple values need to be returned
        cK@s|jj|dS(N(t__dict__tupdate(tselftkwargs((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__init__s(R.R/t__doc__R\(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRWs(twhichc@sd}tjjr2||r.SdS|dkrYtjjdtj}n|scdS|jtj}t	j
dkrtj|kr|jdtjntjjddjtj}t
fd|Drg}qg|D]}|^q}n	g}t}xu|D]m}tjj|}	|	|kr+|j|	x9|D].}
tjj||
}|||rc|SqcWq+q+WdS(	sKGiven a command, mode, and a PATH string, return the path which
        conforms to the given mode on the PATH, or None if there is no such
        file.

        `mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result
        of os.environ.get("PATH"), or can be overridden with a custom search
        path.

        cS@s5tjj|o4tj||o4tjj|S(N(tostpathtexiststaccesstisdir(tfntmode((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt
_access_checks$tPATHtwin32itPATHEXTtc3@s*|] }jj|jVqdS(N(R6tendswith(t.0text(tcmd(s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pys	<genexpr>sN(R_R`tdirnameR#tenvironRMtdefpathR3tpathseptsystplatformtcurdirtinserttanytsettnormcasetaddR;(RnReR`RftpathexttfilesRmtseentdirtnormdirtthefiletname((Rns/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR^s8
	! 		


(tZipFilet	__enter__(t
ZipExtFileRcB@s#eZdZdZdZRS(cC@s|jj|jdS(N(RXRY(RZtbase((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR\scC@s|S(N((RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRscG@s|jdS(N(tclose(RZtexc_info((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__exit__s(R.R/R\RR(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs		RcB@s#eZdZdZdZRS(cC@s|S(N((RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR"scG@s|jdS(N(R(RZR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR%scO@stj|||}t|S(N(tBaseZipFiletopenR(RZtargsR[R((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR)s(R.R/RRR(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR!s		(tpython_implementationcC@s@dtjkrdStjdkr&dStjjdr<dSdS(s6Return a string identifying the Python implementation.tPyPytjavatJythont
IronPythontCPython(RstversionR_RR8(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR0s(t	sysconfig(tCallablecC@s
t|tS(N(RR(tobj((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytcallableDssutf-8tmbcststricttsurrogateescapecC@sOt|tr|St|tr2|jttStdt|jdS(Nsexpect bytes or str, not %s(	Rtbytest	text_typeRt_fsencodingt	_fserrorst	TypeErrorttypeR.(tfilename((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytfsencodeXscC@sOt|tr|St|tr2|jttStdt|jdS(Nsexpect bytes or str, not %s(	RRRtdecodeRRRRR.(R((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytfsdecodeas(tdetect_encoding(tBOM_UTF8tlookupscoding[:=]\s*([-\w.]+)cC@s^|d jjdd}|dks7|jdr;dS|dksV|jd
rZdS|S(s(Imitates get_normal_name in tokenizer.c.it_t-sutf-8sutf-8-slatin-1s
iso-8859-1siso-latin-1slatin-1-siso-8859-1-siso-latin-1-(slatin-1s
iso-8859-1siso-latin-1(slatin-1-siso-8859-1-siso-latin-1-(R6R:R8(torig_enctenc((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt_get_normal_namersc@syjjWntk
r)dnXtd}d}fd}fd}|}|jtrt|d}d}n|s|gfS||}|r||gfS|}|s||gfS||}|r|||gfS|||gfS(s?
        The detect_encoding() function is used to detect the encoding that should
        be used to decode a Python source file.  It requires one argument, readline,
        in the same way as the tokenize() generator.

        It will call readline a maximum of twice, and return the encoding used
        (as a string) and a list of any lines (left as bytes) it has read in.

        It detects the encoding from the presence of a utf-8 bom or an encoding
        cookie as specified in pep-0263.  If both a bom and a cookie are present,
        but disagree, a SyntaxError will be raised.  If the encoding cookie is an
        invalid charset, raise a SyntaxError.  Note that if a utf-8 bom is found,
        'utf-8-sig' is returned.

        If no encoding is specified, then the default of 'utf-8' will be returned.
        sutf-8c@s$ySWntk
rdSXdS(NRj(t
StopIteration((treadline(s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytread_or_stops
c@s7y|jd}WnDtk
rYd}dk	rJdj|}nt|nXtj|}|ssdSt|d}yt|}WnHt	k
rdkrd|}ndj|}t|nXr3|j
dkr&dkrd}ndj}t|n|d	7}n|S(
Nsutf-8s'invalid or missing encoding declarations{} for {!r}isunknown encoding: sunknown encoding for {!r}: {}sencoding problem: utf-8s encoding problem for {!r}: utf-8s-sig(RtUnicodeDecodeErrorR#tformattSyntaxErrort	cookie_retfindallRRtLookupErrorR(tlinetline_stringtmsgtmatchestencodingtcodec(t	bom_foundR(s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytfind_cookies6


			
is	utf-8-sigN(t__self__RtAttributeErrorR#R2R8RtTrue(RRtdefaultRRtfirsttsecond((RRRs/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR}s4

&	
	

	
(R9ii(tunescape(tChainMap(tMutableMapping(trecursive_reprs...c@sfd}|S(sm
            Decorator to make a repr function return fillvalue for a recursive
            call
            c@smtfd}td|_td|_td|_tdi|_|S(Nc@sWt|tf}|kr%Sj|z|}Wdj|X|S(N(tidt	get_identRztdiscard(RZRStresult(t	fillvaluetrepr_runningt
user_function(s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytwrappers
R/R]R.t__annotations__(RxtgetattrR/R]R.R(RR(R(RRs/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytdecorating_functions	((RR((Rs/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt_recursive_reprsRcB@seZdZdZdZdZddZdZdZ	dZ
dZed	Z
ed
ZdZeZdZed
ZdZdZdZdZdZRS(s A ChainMap groups multiple dicts (or other mappings) together
        to create a single, updateable view.

        The underlying mappings are stored in a list.  That list is public and can
        accessed or updated using the *maps* attribute.  There is no other state.

        Lookups search the underlying mappings successively until a key is found.
        In contrast, writes, updates, and deletions only operate on the first
        mapping.

        cG@st|pig|_dS(sInitialize a ChainMap by setting *maps* to the given mappings.
            If no mappings are provided, a single empty dictionary is used.

            N(tlisttmaps(RZR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR\scC@st|dS(N(tKeyError(RZRS((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__missing__scC@sAx1|jD]&}y||SWq
tk
r/q
Xq
W|j|S(N(RRR(RZRStmapping((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__getitem__s
cC@s||kr||S|S(N((RZRSR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRM%scC@sttj|jS(N(RNRxtunionR(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__len__(scC@sttj|jS(N(titerRxRR(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__iter__+sc@stfd|jDS(Nc3@s|]}|kVqdS(N((Rltm(RS(s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pys	<genexpr>/s(RwR(RZRS((RSs/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__contains__.scC@s
t|jS(N(RwR(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__bool__1scC@s%dj|djtt|jS(Ns{0.__class__.__name__}({1})s, (RR;ROR5R(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__repr__4scG@s|tj||S(s?Create a ChainMap with a single dict created from the iterable.(tdicttfromkeys(tclstiterableR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR9scC@s$|j|jdj|jdS(sHNew ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]ii(t	__class__Rtcopy(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR>scC@s|ji|jS(s;New ChainMap with a new dict followed by all previous maps.(RR(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt	new_childDscC@s|j|jdS(sNew ChainMap from maps[1:].i(RR(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytparentsHscC@s||jd|<dS(Ni(R(RZRSRT((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__setitem__MscC@s?y|jd|=Wn&tk
r:tdj|nXdS(Nis(Key not found in the first mapping: {!r}(RRR(RZRS((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__delitem__Ps
cC@s9y|jdjSWntk
r4tdnXdS(sPRemove and return an item pair from maps[0]. Raise KeyError is maps[0] is empty.is#No keys found in the first mapping.N(RtpopitemR(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRVs
cG@sHy|jdj||SWn&tk
rCtdj|nXdS(sWRemove *key* from maps[0] and return its value. Raise KeyError if *key* not in maps[0].is(Key not found in the first mapping: {!r}N(RtpopRR(RZRSR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR]s
cC@s|jdjdS(s'Clear maps[0], leaving maps[1:] intact.iN(Rtclear(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRdsN(R.R/R]R\RRR#RMRRRRRRtclassmethodRRt__copy__RtpropertyRRRRRR(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs(													(tcache_from_sourcecC@sG|jdst|dkr*t}n|r9d}nd}||S(Ns.pytcto(RktAssertionErrorR#t	__debug__(R`tdebug_overridetsuffix((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRns		(tOrderedDict(R(tKeysViewt
ValuesViewt	ItemsViewRcB@seZdZdZejdZejdZdZdZdZ	e
dZdZd	Z
d
ZdZdZd
ZdZeZeZedZddZddZdZdZeddZdZdZdZ dZ!dZ"RS(s)Dictionary that remembers insertion ordercO@st|dkr+tdt|ny|jWn7tk
rog|_}||dg|(i|_nX|j||dS(sInitialize an ordered dictionary.  Signature is the same as for
            regular dictionaries, but keyword arguments are not recommended
            because their insertion order is arbitrary.

            is$expected at most 1 arguments, got %dN(RNRt_OrderedDict__rootRR#t_OrderedDict__mapt_OrderedDict__update(RZRtkwdstroot((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR\s


cC@s\||krH|j}|d}|||g|d<|d<|j|<n||||dS(s!od.__setitem__(i, y) <==> od[i]=yiiN(RR(RZRSRTtdict_setitemRtlast((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs
	
)cC@s@||||jj|\}}}||d<||d<dS(s od.__delitem__(y) <==> del od[y]iiN(RR(RZRStdict_delitemt	link_prevt	link_next((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs

cc@s=|j}|d}x#||k	r8|dV|d}qWdS(sod.__iter__() <==> iter(od)iiN(R(RZRtcurr((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs
	
	cc@s=|j}|d}x#||k	r8|dV|d}qWdS(s#od.__reversed__() <==> reversed(od)iiN(R(RZRR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__reversed__s
	
	cC@smyHx|jjD]
}|2qW|j}||dg|(|jjWntk
r[nXtj|dS(s.od.clear() -> None.  Remove all items from od.N(Rt
itervaluesRR#RRR(RZtnodeR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs	
cC@s|stdn|j}|rO|d}|d}||d<||d<n(|d}|d}||d<||d<|d}|j|=tj||}||fS(sod.popitem() -> (k, v), return and remove a (key, value) pair.
            Pairs are returned in LIFO order if last is true or FIFO order if false.

            sdictionary is emptyiii(RRRRR(RZRRtlinkRRRSRT((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs 	









cC@s
t|S(sod.keys() -> list of keys in od(R(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytkeysscC@sg|D]}||^qS(s#od.values() -> list of values in od((RZRS((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytvaluesscC@s!g|D]}|||f^qS(s.od.items() -> list of (key, value) pairs in od((RZRS((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytitemsscC@s
t|S(s0od.iterkeys() -> an iterator over the keys in od(R(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytiterkeysscc@sx|D]}||VqWdS(s2od.itervalues -> an iterator over the values in odN((RZtk((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs
cc@s$x|D]}|||fVqWdS(s=od.iteritems -> an iterator over the (key, value) items in odN((RZR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt	iteritemss
cO@s&t|dkr.tdt|fn|sCtdn|d}d}t|dkrr|d}nt|trxw|D]}||||<qWnXt|drxF|jD]}||||<qWn!x|D]\}}|||<qWx$|jD]\}}|||<qWdS(	sod.update(E, **F) -> None.  Update od from dict/iterable E and F.

            If E is a dict instance, does:           for k in E: od[k] = E[k]
            If E has a .keys() method, does:         for k in E.keys(): od[k] = E[k]
            Or if E is an iterable of items, does:   for k, v in E: od[k] = v
            In either case, this is followed by:     for k, v in F.items(): od[k] = v

            is8update() takes at most 2 positional arguments (%d given)s,update() takes at least 1 argument (0 given)iiRN((RNRRRthasattrRR
(RRRZtotherRSRT((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRYs&	


cC@sC||kr!||}||=|S||jkr?t|n|S(sod.pop(k[,d]) -> v, remove specified key and return the corresponding value.
            If key is not found, d is returned if given, otherwise KeyError is raised.

            (t_OrderedDict__markerR(RZRSRR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR*s
cC@s"||kr||S|||<|S(sDod.setdefault(k[,d]) -> od.get(k,d), also set od[k]=d if k not in od((RZRSR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt
setdefault7s
cC@s|si}nt|tf}||kr4dSd||<z5|sXd|jjfSd|jj|jfSWd||=XdS(sod.__repr__() <==> repr(od)s...is%s()s%s(%r)N(Rt
_get_identRR.R
(RZt
_repr_runningtcall_key((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR>s	
cC@sg|D]}|||g^q}t|j}x'ttD]}|j|dqEW|rx|j|f|fS|j|ffS(s%Return state information for picklingN(tvarsRRRR#R(RZRR
t	inst_dict((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt
__reduce__Ls#cC@s
|j|S(s!od.copy() -> a shallow copy of od(R(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRVscC@s(|}x|D]}|||<qW|S(sOD.fromkeys(S[, v]) -> New ordered dictionary with keys from S
            and values equal to v (which defaults to None).

            ((RRRTtdRS((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRZs	
cC@sMt|tr=t|t|ko<|j|jkStj||S(sod.__eq__(y) <==> od==y.  Comparison to another OD is order-sensitive
            while comparison to a regular mapping is order-insensitive.

            (RRRNR
Rt__eq__(RZR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRes.cC@s||kS(N((RZR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt__ne__nscC@s
t|S(s@od.viewkeys() -> a set-like object providing a view on od's keys(R(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytviewkeyssscC@s
t|S(s<od.viewvalues() -> an object providing a view on od's values(R(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt
viewvalueswscC@s
t|S(sBod.viewitems() -> a set-like object providing a view on od's items(R(RZ((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt	viewitems{sN(#R.R/R]R\RRRRRRRRRRR
RRRRYRtobjectRRR#RRRRRRRRRRR (((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs:	
												
	
	
					(tBaseConfiguratortvalid_idents^[a-z_][a-z0-9_]*$cC@s,tj|}|s(td|ntS(Ns!Not a valid Python identifier: %r(t
IDENTIFIERR&RLR(RR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR#stConvertingDictcB@s#eZdZdZddZRS(s A converting dictionary wrapper.cC@sqtj||}|jj|}||k	rm|||<t|tttfkrm||_||_	qmn|S(N(
RRtconfiguratortconvertRR%tConvertingListtConvertingTupletparentRS(RZRSRTR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs
	cC@sttj|||}|jj|}||k	rp|||<t|tttfkrp||_||_	qpn|S(N(
RRMR&R'RR%R(R)R*RS(RZRSRRTR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRMs
	N(R.R/R]RR#RM(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR%s	cC@sjtj|||}|jj|}||k	rft|tttfkrf||_||_	qfn|S(N(
RRR&R'RR%R(R)R*RS(RZRSRRTR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs	R(cB@s#eZdZdZddZRS(sA converting list wrapper.cC@sqtj||}|jj|}||k	rm|||<t|tttfkrm||_||_	qmn|S(N(
RRR&R'RR%R(R)R*RS(RZRSRTR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs
	icC@s^tj||}|jj|}||k	rZt|tttfkrZ||_qZn|S(N(	RRR&R'RR%R(R)R*(RZtidxRTR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs(R.R/R]RR(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR(s	R)cB@seZdZdZRS(sA converting tuple wrapper.cC@sgtj||}|jj|}||k	rct|tttfkrc||_||_	qcn|S(N(
ttupleRR&R'RR%R(R)R*RS(RZRSRTR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyRs	(R.R/R]R(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR)sR"cB@seZdZejdZejdZejdZejdZejdZ	idd6dd	6Z
eeZ
d
ZdZdZd
ZdZdZdZRS(sQ
        The configurator base class which defines some useful defaults.
        s%^(?P<prefix>[a-z]+)://(?P<suffix>.*)$s^\s*(\w+)\s*s^\.\s*(\w+)\s*s^\[\s*(\w+)\s*\]\s*s^\d+$text_convertRmtcfg_converttcfgcC@st||_||j_dS(N(R%tconfigR&(RZR0((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR\sc	C@s|jd}|jd}yy|j|}x_|D]W}|d|7}yt||}Wq7tk
r|j|t||}q7Xq7W|SWnVtk
rtjd\}}td||f}|||_	|_
|nXdS(sl
            Resolve strings to objects using standard import and attribute
            syntax.
            R0iisCannot resolve %r: %sN(R3RtimporterRRtImportErrorRsRRLt	__cause__t
__traceback__(	RZRRtusedtfoundREtettbtv((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytresolves"



cC@s
|j|S(s*Default converter for the ext:// protocol.(R:(RZRT((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR-scC@sO|}|jj|}|dkr7td|n||j}|j|jd}x|rJ|jj|}|r||jd}n|jj|}|r|jd}|j	j|s||}qyt
|}||}Wqtk
r||}qXn|r1||j}qatd||fqaW|S(s*Default converter for the cfg:// protocol.sUnable to convert %risUnable to convert %r at %rN(tWORD_PATTERNR&R#RLtendR0tgroupstDOT_PATTERNt
INDEX_PATTERNt
DIGIT_PATTERNtintR(RZRTtrestRRR+tn((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR.s2	

cC@s/t|tr7t|tr7t|}||_nt|trnt|trnt|}||_nt|trt|trt|}||_nt|tr+|j	j
|}|r+|j}|d}|jj
|d}|r(|d}t||}||}q(q+n|S(s
            Convert values to an appropriate type. dicts, lists and tuples are
            replaced by their converting alternatives. Strings are checked to
            see if they have a conversion format and are converted if they do.
            tprefixRN(RR%RR&R(RR)R,tstring_typestCONVERT_PATTERNR&t	groupdicttvalue_convertersRMR#R(RZRTRRRDt	converterR((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR'2s*

c	C@s|jd}t|s-|j|}n|jdd}tg|D]"}t|rI|||f^qI}||}|rx-|jD]\}}t|||qWn|S(s1Configure an object with a user-supplied factory.s()R0N(RRR:R#RR#R
tsetattr(	RZR0RtpropsRR[RRRT((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytconfigure_customNs5cC@s"t|trt|}n|S(s0Utility function which converts lists to tuples.(RRR,(RZRT((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pytas_tuple\s(R.R/R]R$R%RFR;R>R?R@RHtstaticmethodt
__import__R1R\R:R-R.R'RLRM(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyR"s"
				"		(ii(t
__future__RR_R$RstsslR2R#tversion_infoRt
basestringRERRttypesRt	file_typet__builtin__tbuiltinstConfigParsertconfigparsert	_backportRRRRRRturllibR	R
RRRR
RRturllib2RRRRRRRRRRthttplibt	xmlrpclibtQueuetqueueRthtmlentitydefst	raw_inputt	itertoolsR tfilterR!R+R"R)tiotstrR*turllib.parseturllib.requestturllib.errorthttp.clienttclienttrequestt
xmlrpc.clientthtml.parsert
html.entitiestentitiestinputR,R-RLRGRVRWR!R^tF_OKtX_OKtzipfileRRRRtBaseZipExtFileRtRRRt	NameErrortcollections.abcRRRRtgetfilesystemencodingRRttokenizeRtcodecsRRR%RRthtmlR9tcgiRtcollectionsRRtreprlibRRtimportlib.utilRtimpRtthreadRRtdummy_threadt_abcollRRRRtlogging.configR"R#tIR$R%RRR(R,R)(((s/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/compat.pyt<module>s*

	(4	@	@F
2
+

A	





	

			
	
	
[


b