"Jd\dZddlZddlZddlZgdZejeZdefdZ de de fdZ hdZ ejd pejd ko ejd kZdS) zKStuff that differs in different Python versions and platform distributions.N) get_path_uid stdlib_pkgsWINDOWSreturnc@ ddl}dS#t$rYnwxYwddlm}|S)NrT) IS_PYOPENSSL)_ssl ImportErrorpip._vendor.urllib3.utilr)r rs M/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/utils/compat.pyhas_tlsr sO  t      655555 s  pathczttdrZtj|tjtjz}tj|j}tj|nKtj |stj |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_RDONLYrfstatst_uidcloserislinkstatOSError)rfdfile_uids r rrsr<  T WT2;6 7 78B<<&  w~~d## Twt}}+HHTRRRSS S O>pythonwsgirefargparsewinclint)__doc__loggingrsys__all__ getLogger__name__loggerboolr strintrrplatform startswithnamerrr r2s 4 4 4  8 $ $     ss@0//  , ! !% ( ( WS\U-B-VrwRVr