8Vltv) d Z ddlZddlZddlZg dZ ej e ZdefdZ de
defdZh dZ
ej d pej d
k o
ej dk ZdS )zKStuff that differs in different Python versions and platform
distributions. N)get_path_uidstdlib_pkgsWINDOWSreturnc @ dd l } dS # t $ r Y nw xY wddlm} |S )Nr T)IS_PYOPENSSL)_sslImportErrorpip._vendor.urllib3.utilr )r r s /builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el9.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/utils/compat.pyhas_tlsr
sO
t
655555s
pathc z t t d rZt j | t j t j z }t j | j }t j | nKt j | st j
| j }nt | d |S )a)
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.
O_NOFOLLOWz/ is a symlink; Will not return uid for symlinks)hasattrosopenO_RDONLYr fstatst_uidcloser islinkstatOSError)r fdfile_uids r r r s r< T
WT2;6
7
78B<<&
w~~d## Twt}}+HH TRRRSSSO > pythonwsgirefargparsewinclint)__doc__loggingr sys__all__ getLogger__name__loggerboolr
strintr r platform
startswithnamer r r