PK APOCALYPSE V1

APOCALYPSE V1

Current Path : /opt/alt/python39/lib/python3.9/site-packages/pip/_internal/utils/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib/python3.9/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-39.pyc

a

��Re&�@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��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/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�ImportError�CDLL�gnu_get_libc_versionr�c_char_p�restype�
isinstance�str�decode)r�process_namespacer�version_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)�r"�glibc)r	)�
glibc_versionrrr�libc_verNsr%)
rr�typingrrrr	rrr%rrrr�<module>s/

if you don't want to be vaporized in a nuclear explosion, i simply have to become nuclear myself… i am atomic