| Server IP : 66.29.146.62 / Your IP : 216.73.216.152 Web Server : LiteSpeed System : Linux premium231.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 User : dokkdzvi ( 925) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.6/site-packages/pip/utils/__pycache__/ |
Upload File : |
3
�Pf{ � @ sP d dl mZ d dlZd dlZd dlZd dlZdd� Zdd� Zdd� Zd d
� Z dS )� )�absolute_importNc C sP t jd�} y
| j}W n tk
r( dS X t j|_|� }t|t�sL|jd�}|S )z9Returns glibc version string, or None if not using glibc.N�ascii) �ctypesZCDLL�gnu_get_libc_version�AttributeErrorZc_char_pZrestype�
isinstance�str�decode)Zprocess_namespacer �version_str� r �/usr/lib/python3.6/glibc.py�glibc_version_string s
r
c C sH t jd| �}|s$tjd| t� dS t|jd��|koFt|jd��|kS )Nz$(?P<major>[0-9]+)\.(?P<minor>[0-9]+)z=Expected glibc version with 2 components major.minor, got: %sF�major�minor)�re�match�warnings�warn�RuntimeWarning�int�group)r
�required_major�
minimum_minor�mr r r �check_glibc_version# s
r c C s t � }|d krdS t|| |�S )NF)r
r )r r r
r r r �have_compatible_glibc3 s r c C s"