� ��^i\����dZddlZddlZddlZgd�Zeje��Zdefd�Z de de fd�Z hd�Z ej�d ��pejd ko ejd kZdS) zKStuff that differs in different Python versions and platform distributions.�N)� get_path_uid� stdlib_pkgs�WINDOWS�returnc�@� ddl}dS#t$rYnwxYwddlm}|S)NrT)� IS_PYOPENSSL)�_ssl� ImportError�pip._vendor.urllib3.utilr)r rs ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/utils/compat.py�has_tlsr sO�� �� � � ��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 r rrs����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�>�python�wsgiref�argparse�win�cli�nt)�__doc__�loggingr�sys�__all__� getLogger�__name__�logger�boolr �str�intrr�platform� startswith�namer�rr �r2s��������� � � � � � � � � 4� 4� 4�� �� �8� $� $�� �� � � � ��s��s�����@0�/�/� � �,� !� !�%� (� (� W�S�\�U�-B�-V�r�w�RV����r