7i\dZddlZddlZddlZgdZej eZdefdZ de de fdZ hdZ ejjd xs ejd k(xrej d k(Zy) zKStuff that differs in different Python versions and platform distributions.N) get_path_uid stdlib_pkgsWINDOWSreturnc< ddl}y#t$rYnwxYwddlm}|S)NrT) IS_PYOPENSSL)_ssl ImportErrorpip._vendor.urllib3.utilr)r rs c/mnt/ssd/data/python-lab/ChefSystem/venv/lib/python3.12/site-packages/pip/_internal/utils/compat.pyhas_tlsr s*     6 s  pathcttdrktj|tjtjz}tj |j }tj||Stjj|s!tj|j }|St|d)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< WWT2;;6 788B<&&   O ww~~d#wwt}++H OTF"QRS S>pythonwsgirefargparsewinclint)__doc__loggingrsys__all__ getLogger__name__loggerboolr strintrrplatform startswithnamerrr r2s 4   8 $  ss@0  ,, ! !% ( WS\\U-B-VrwwRVr