| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.6/site-packages/pip/_internal/utils/__pycache__/ |
Upload File : |
3
�N�a\ � @ s| d Z ddlZddlZddlZdddgZeje�Zed�dd�Z e
ed �d
d�Zddd
hZ
ejjd�pvejdkovejdkZdS )zKStuff that differs in different Python versions and platform
distributions.� N�get_path_uid�stdlib_pkgs�WINDOWS)�returnc C s2 ydd l } dS tk
r Y nX ddlm} |S )Nr T)�IS_PYOPENSSL)�_ssl�ImportErrorZpip._vendor.urllib3.utilr )r r � r �/usr/lib/python3.6/compat.py�has_tls s r )�pathr c C sb t td�r6tj| tjtjB �}tj|�j}tj|� n(tjj | �sPtj
| �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
ZpythonZwsgiref�argparse�winZcli�nt)�__doc__Zloggingr �sys�__all__Z getLogger�__name__Zlogger�boolr �str�intr r �platform�
startswith�namer r r r r
�<module> s