403Webshell
Server IP : 104.21.93.192  /  Your IP : 216.73.216.73
Web Server : LiteSpeed
System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : redwjova ( 1790)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/utils/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-35.pyc


��Re��@s�ddlmZddlZddlZddlmZerTddlmZmZdd�Z	dd�Z
d	d
�Zdd�ZdS)
�)�absolute_importN)�MYPY_CHECK_RUNNING)�Optional�TuplecCst�pt�S)z9Returns glibc version string, or None if not using glibc.)�glibc_version_string_confstr�glibc_version_string_ctypes�rr��/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/utils/glibc.py�glibc_version_stringsr
c
CsXtjdkrdSytjd�j�\}}Wntttfk
rSdSYnX|S)z@Primary implementation of glibc_version_string using os.confstr.�win32N�CS_GNU_LIBC_VERSION)�sys�platform�os�confstr�split�AttributeError�OSError�
ValueError)�_�versionrrr	rs	rcCs�yddl}Wntk
r(dSYnX|jd�}y
|j}Wntk
r]dSYnX|j|_|�}t|t�s�|j	d�}|S)z=Fallback implementation of glibc_version_string using ctypes.rN�ascii)
�ctypes�ImportError�CDLL�gnu_get_libc_versionr�c_char_p�restype�
isinstance�str�decode)r�process_namespacer�version_strrrr	r's
	

		rcCs't�}|dkrdSd|fSdS)z�Try to determine the glibc version

    Returns a tuple of strings (lib, version) which default to empty strings
    in case the lookup fails.
    N��glibc)r#r#)r
)�
glibc_versionrrr	�libc_verWs	r&)
�
__future__rrr
�pip._internal.utils.typingr�typingrrr
rrr&rrrr	�<module>s0

Youez - 2016 - github.com/yon3zu
LinuXploit