HEX
Server: Apache
System: Linux vpshost11508.publiccloud.com.br 5.15.179-grsec-vpshost-10.lc.el8.x86_64 #1 SMP Mon Apr 7 12:04:45 -03 2025 x86_64
User: wicomm2 (10002)
PHP: 8.3.0
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //lib/python2.7/site-packages/pip/compat/__init__.pyc
�
u�-ec
@`s�dZddlmZmZddlZddlZddlmZyddlm	Z
Wn!ek
r{ddlm	Z
nXyddl
mZWn!ek
r�ddlmZnXyddlZWn]ek
r#yddlmZWq$ek
rddlZeje_eje_q$XnXyddlZd�ZWn*ek
ridd	lmZd
�ZnXddd
dddddddg
Zejd)kr�eZddlmZn3ddl Z e!e d�Zer�e jZndZejd*krd�Z#e$d�Z%nd�Z#e$d�Z%d�Z&d�Z'd�Z(d+Z)ejd,krbe)d-7Z)nej*j+d%�p�ej*d&ko�ej,d'kZ-d(�Z.dS(.sKStuff that differs in different Python versions and platform
distributions.i(tabsolute_importtdivisionN(t	text_type(t
dictConfig(tOrderedDict(t	ipaddresscC`s1tjd�tjd�g}ttt|��S(Ntstdlibt
platstdlib(t	sysconfigtget_pathtsettfiltertbool(tpaths((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyt
get_stdlib"s(RcC`s=tjdt�tjdtdt�g}ttt|��S(Ntstandard_libt
plat_specific(Rtget_python_libtTrueR
RR(R
((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyR+stlogging_dictConfigRtuses_pycachetconsole_to_strt
native_strtget_path_uidtstdlib_pkgstWINDOWStsamefileRii(tcache_from_sourceRcC`s9y|jtjj�SWntk
r4|jd�SXdS(Ntutf_8(tdecodetsyst
__stdout__tencodingtUnicodeDecodeError(ts((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyRGs
cC`s/t|t�r+|jd|r$dnd�S|S(Nsutf-8treplacetstrict(t
isinstancetbytesR(R"R#((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyRMscC`s|S(N((R"((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyRSscC`s t|t�r|jd�S|S(Nsutf-8(R%Rtencode(R"R#((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyRVs
cC`sHt|d�r|j�S|j|j|jddd}|dSdS(Nt
total_secondsiii
ii@Bi@B(thasattrR(tmicrosecondstsecondstdays(ttdtval((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyR(]s
#cC`s�ttd�rMtj|tjtjB�}tj|�j}tj|�n7tjj	|�sttj
|�j}ntd|��|S(s)
    Return path's uid.

    Does not follow symlinks:
        https://github.com/pypa/pip/pull/935#discussion_r5307003

    Placed this function in compat due to differences on AIX and
    Jython, that should eventually go away.

    :raises OSError: When path is a symlink or can't be read.
    t
O_NOFOLLOWs1%s is a symlink; Will not return uid for symlinks(R)tostopentO_RDONLYR/tfstattst_uidtclosetpathtislinktstattOSError(R6tfdtfile_uid((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyRes
cC`sAtjj|�}|jd�r=|jd�r=|d}n|S(sl
    Expand ~ and ~user constructions.

    Includes a workaround for http://bugs.python.org/issue14768
    s~/s//i(R0R6t
expandusert
startswith(R6texpanded((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyR<�s
tpythontwsgirefiitargparsetwintclitntcC`sottjd�r%tjj||�Stjjtjj|��}tjjtjj|��}||kSdS(s>Provide an alternative for os.path.samefile on Windows/Python2RN(R)R0R6Rtnormcasetabspath(tfile1tfile2tpath1tpath2((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyR�s
(ii(i(R?R@(ii(RA(/t__doc__t
__future__RRR0Rtpip._vendor.sixRtlogging.configRRtImportErrortpip.compat.dictconfigtcollectionsRtpip._vendor.ordereddictRtpip._vendortipaddrt	IPAddresst
ip_addresst	IPNetworkt
ip_networkRRt	distutilst__all__tversion_infoRRtimportlib.utilRtimpR)tNoneRtFalseRR(RR<RtplatformR=tnameRR(((s7/usr/lib/python2.7/site-packages/pip/compat/__init__.pyt<module>sh