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 :  /lib/python3.9/site-packages/pip/_internal/utils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.9/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-39.pyc
a

�lj&�@spddlZddlZddlmZmZeed�dd�Zeed�dd�Zeed�dd	�Zeeefd�d
d�Z	dS)�N)�Optional�Tuple)�returncCst�p
t�S)z9Returns glibc version string, or None if not using glibc.)�glibc_version_string_confstr�glibc_version_string_ctypes�rr�=/usr/lib/python3.9/site-packages/pip/_internal/utils/glibc.py�glibc_version_string	sr	c
CsDtjdkrdSzt�d���\}}Wntttfy>YdS0|S)z@Primary implementation of glibc_version_string using os.confstr.�win32N�CS_GNU_LIBC_VERSION)�sys�platform�os�confstr�split�AttributeError�OSError�
ValueError)�_�versionrrrrs
rcCsrzddl}Wnty YdS0|�d�}z
|j}WntyJYdS0|j|_|�}t|t�sn|�	d�}|S)z=Fallback implementation of glibc_version_string using ctypes.rN�ascii)
�ctypes�ImportErrorZCDLL�gnu_get_libc_versionrZc_char_pZrestype�
isinstance�str�decode)rZprocess_namespacerZversion_strrrrrs



rcCst�}|durdSd|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)�rZglibc)r	)Z
glibc_versionrrr�libc_verNsr)
rr�typingrrrr	rrrrrrr�<module>s/

Yohohohohohooho | Sanrei Aya