| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3.9/site-packages/pip/_internal/utils/__pycache__/ |
Upload File : |
a
�lj\ � @ sx d Z ddlZddlZddlZg d�Ze�e�Zed�dd�Z e
ed�dd �Zh d
�Z
ej�d�prejdkorejd
kZdS )zKStuff that differs in different Python versions and platform
distributions.� N)�get_path_uid�stdlib_pkgs�WINDOWS)�returnc C s2 zdd l } W dS ty Y n0 ddlm} |S )Nr T)�IS_PYOPENSSL)�_ssl�ImportErrorZpip._vendor.urllib3.utilr )r r � r �>/usr/lib/python3.9/site-packages/pip/_internal/utils/compat.py�has_tls s r )�pathr c C sb t td�r6t�| tjtjB �}t�|�j}t�|� n(tj� | �sPt�
| �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 �fdZfile_uidr r r
r s
r > ZpythonZwsgiref�argparse�winZcli�nt)�__doc__Zloggingr �sys�__all__Z getLogger�__name__�logger�boolr �str�intr r �platform�
startswith�namer r r r r
�<module> s