관리-도구
편집 파일: compat.cpython-311.pyc
� �Dg_ � �> � d Z ddlZddlZddlZddlZddlmZ g d�Z ej e � � Zdefd�Z dedefd�Zej d k r ej j Zn dded edededee f d�Zh d�Zej � d� � pej dk o ej dk ZdS )zKStuff that differs in different Python versions and platform distributions.� N)�IO)�get_path_uid�stdlib_pkgs�WINDOWS�returnc �@ � dd l } dS # t $ r Y nw xY wddlm} |S )Nr T)�IS_PYOPENSSL)�_ssl�ImportError�pip._vendor.urllib3.utilr )r r s �z/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/utils/compat.py�has_tlsr sO � � ������t��� � � ��� ���� 6�5�5�5�5�5��s � � ��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)�hasattr�os�open�O_RDONLYr �fstat�st_uid�closer �islink�stat�OSError)r �fd�file_uids r r r s� � � �r�<� � � T� �W�T�2�;���6� 7� 7���8�B�<�<�&�� ������� �w�~�~�d�#�#� T��w�t�}�}�+�H�H� �T�R�R�R�S�S�S��O� )� � �utf-8�strict�package�resource�encoding�errorsc �r � t j � | � � |z � d||�� � S )N�r)r% r&