HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //opt/osm/venv/lib/python3.10/site-packages/pip/_internal/utils/__pycache__/compat.cpython-310.pyc
o

5i�	�@s�dZddlZddlZddlZddlZddlmZgd�Ze�	e
�Zdefdd�Z
dedefd	d
�Zejdkr;ejjZn	
ddededededeef
dd�ZejdkrXddlZnddlmZhd�Zej�d�pqejdkoqejdkZdS)zKStuff that differs in different Python versions and platform
distributions.�N)�IO)�get_path_uid�stdlib_pkgs�tomllib�WINDOWS�returncCs2zddl}WdStyYnwddlm}|S)NrT)�IS_PYOPENSSL)�_ssl�ImportError�pip._vendor.urllib3.utilr)r	r�r�H/opt/osm/venv/lib/python3.10/site-packages/pip/_internal/utils/compat.py�has_tlss�r�pathcCsbttd�rt�|tjtjB�}t�|�j}t�|�|Stj�	|�s*t�
|�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)�hasattr�os�open�O_RDONLYr�fstat�st_uid�closer�islink�stat�OSError)r�fd�file_uidrrr
rs

	��r)���utf-8�strict�package�resource�encoding�errorscCstj�|�|jd||d�S)N�r)r#r$)�	importlib�	resources�filesr)r!r"r#r$rrr
�open_text_resource>s�r))�tomli>�wsgiref�argparse�python�win�cli�nt)rr )�__doc__�importlib.resourcesr&�loggingr�sys�typingr�__all__�	getLogger�__name__�logger�boolr�str�intr�version_infor'�	open_textr)r�pip._vendorr*r�platform�
startswith�namerrrrr
�<module>s:


�����
�

$