HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/site-packages/pip/_internal/utils/__pycache__/compat.cpython-311.pyc
�

�mi�	��j�dZddlZddlZddlZddlZddlmZgd�Zej	e
��Zdefd�Z
dedefd�Zejd	kr
ejjZn	dded
edededeef
d�Zejd	krddlZnddlmZhd�Zej�d��pejdko
ejdkZdS)zKStuff that differs in different Python versions and platform
distributions.�N)�IO)�get_path_uid�stdlib_pkgs�tomllib�WINDOWS�returnc�@�	ddl}dS#t$rYnwxYwddlm}|S)NrT)�IS_PYOPENSSL)�_ssl�ImportError�pip._vendor.urllib3.utilr
)rr
s  �<D:\Python311\Lib\site-packages\pip/_internal/utils/compat.py�has_tlsrsO��
������t���
�
�
���
����6�5�5�5�5�5��s��
��pathc�z�ttd��rZtj|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)�hasattr�os�open�O_RDONLYr�fstat�st_uid�closer�islink�stat�OSError)r�fd�file_uids   rrrs����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�tj�|��|z�d||���S)N�r)r&r')�	importlib�	resources�filesr)r$r%r&r's    r�open_text_resourcer->s?���#�)�)�'�2�2�X�=�C�C��(�6�D�
�
�	
r)�tomli>�python�wsgiref�argparse�win�cli�nt)r"r#)�__doc__�importlib.resourcesr*�loggingr�sys�typingr�__all__�	getLogger�__name__�logger�boolr�str�intr�version_infor+�	open_textr-r�pip._vendorr.r�platform�
startswith�namer�rr�<module>rHs�������������	�	�	�	�
�
�
�
�������
?�
?�
?��
��	�8�	$�	$��
��
�
�
�
��s��s�����:��g��	
�"�,�6���MU�
�
��
� #�
�/2�
�FI�
�	�C��
�
�
�
���w��-��N�N�N�N�,�,�,�,�,�,�0�/�/���,�
!�
!�%�
(�
(�
W�S�\�U�-B�-V�r�w�RV����r