AlkantarClanX12

Your IP : 18.218.108.24


Current Path : /usr/lib64/python3.8/__pycache__/
Upload File :
Current File : //usr/lib64/python3.8/__pycache__/platform.cpython-38.opt-2.pyc

U

e5d��@shdZdZddlZddlZddlZddlZddddddddd	d	d
�
Ze�d�Zdd
�Z	e�dej
�Zdvdd�Zdwdd�Z
e�d�Zdxdd�Zdddddddd d!d"d#d$�Zdd%d&d'd(d)d*�Zd+d,�Zd-d.�Zdyd/d0�Zd1d2�Zdzd4d5�Zd6d7�Zd{d8d9�Zd:d;�Zd<d=�Zd|d>d?�Zd@dA�Zd}dBdC�Zd~dDdE�ZdFdGdHd�Zej ddfdIdJ�Z!e�"dKdL�Z#da$dMdN�Z%dOdP�Z&dQdR�Z'dSdT�Z(dUdV�Z)dWdX�Z*dYdZ�Z+e�d[ej
�Z,e�d\ej
�Z-e�d]�Z.e�d^�Z/iZ0dd_d`�Z1dadb�Z2dcdd�Z3dedf�Z4dgdh�Z5didj�Z6dkdl�Z7dmdn�Z8iZ9d�dodp�Z:e;dqk�rddrej<k�p4dsej<kZ=dtej<k�oJduej<kZ>e?e:e>e=��e�@d�dS)�a
    Copyright (c) 1999-2000, Marc-Andre Lemburg; mailto:mal@lemburg.com
    Copyright (c) 2000-2010, eGenix.com Software GmbH; mailto:info@egenix.com

    Permission to use, copy, modify, and distribute this software and its
    documentation for any purpose and without fee or royalty is hereby granted,
    provided that the above copyright notice appear in all copies and that
    both that copyright notice and this permission notice appear in
    supporting documentation or portions thereof, including modifications,
    that you make.

    EGENIX.COM SOFTWARE GMBH DISCLAIMS ALL WARRANTIES WITH REGARD TO
    THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
    FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
    INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
    FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
    NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
    WITH THE USE OR PERFORMANCE OF THIS SOFTWARE !

z1.0.8�N�
���(�2��)
ZdevZalpha�aZbeta�b�cZRCZrc�pl�pz([0-9]+|[._+-])c	Csbg}t�|�D]N}|dkrzt|d�}d}Wn tk
rLt�|d�}YnX|�||f�q|S)Nz._+-r�dr)�
_component_re�split�int�
ValueError�_ver_stages�get�extend)�version�result�v�t�r� /usr/lib64/python3.8/platform.py�_comparable_version�s
rsC(__libc_init)|(GLIBC_([0-9.]+))|(libc(_\w+)?\.so(?:\.(\d[0-9.]*))?)��@c
Cs�|dkrZz0t�d�}|jdd�}t|�dkr6t|�WSWntttfk
rRYnXtj	}t
}ttjd�rvtj�
|�}t|d���`}|�|�}d}	|	t|�k�r�d|ks�d	|kr�t�||	�}
nd}
|
r�|
��t|�k�r|�|�}|�r|t|	t|�d
�d�|}d}	q�|
�s�q�dd�|
��D�\}}
}}}}|�rF|�sFd
}n�|
�rx|dk�r`d}|}n||�||�k�r�|}n\|�r�|dk�r�d
}|�r�|�r�||�||�k�r�|}|�r�|t|�d�|k�r�||}|
��}	q�W5QRX||fS)N�CS_GNU_LIBC_VERSION�)�maxsplit��realpath�rbrslibcsGLIBCi�cSs"g|]}|dk	r|�d�n|�qS)N�latin1)�decode)�.0�srrr�
<listcomp>�s�zlibc_ver.<locals>.<listcomp>Zlibc�glibc)�os�confstrr�len�tuple�AttributeErrorr�OSError�sys�
executabler�hasattr�pathr"�open�read�_libc_search�search�end�max�groups)r1�librZ	chunksize�ver�parts�V�fZbinary�pos�m�chunkZlibcinitr)ZglibcversionZsoZthreadsZ	soversionrrr�libc_ver�s^


�

rCcCs`|�d�}|r|�|�zttttt|���}Wntk
rH|}YnXd�|dd��}|S)N�.�)r�append�list�map�strrr�join)r�build�lZstringsrrr�
_norm_version�s


rMz'(?:([\w ]+) ([\w.]+) .*\[.* ([\d.]+)\])��win32�win16�dosc	Cs�tj|kr|||fSddl}dD]R}z|j||jddd�}Wn0t|jfk
rl}zWY�q W5d}~XYq Xq~q |||fS|��}t�	|�}|dk	r�|�
�\}}}|ddkr�|dd�}|ddkr�|dd�}t|�}|||fS)Nr)r<zcommand /c verz
cmd /c verT)�stderr�text�shell���rD)r0�platform�
subprocess�check_output�DEVNULLr/�CalledProcessError�strip�_ver_output�matchr:rM)	�system�releaserZsupported_platformsrW�cmd�infoZwhyrArrr�_syscmd_vers0

�


rbZ2000ZXPZ
2003ServerZpost2003�Vista�7�8z8.1zpost8.1Z10Zpost10))�r)rfr�rfr!)rfN��r�rir�rir!�rirE�riN)rr)rNZ
2008ServerZ2008ServerR2Z
2012ServerZ2012ServerR2Zpost2012ServerR2)rgrhrjrkrlrmcCs
t�dkS)N)ZIoTUAPZ
NanoServerZWindowsCoreHeadlessZ	IoTEdgeOS)�
win32_editionrrrr�win32_is_iotOsroc
Cs�z.zddl}Wntk
r*ddl}YnXWntk
rBYnTXz<d}|�|j|�� }|�|d�dW5QR�WSQRXWntk
r�YnXdS)Nr�,SOFTWARE\Microsoft\Windows NT\CurrentVersionZ	EditionId)�winreg�ImportError�_winreg�	OpenKeyEx�HKEY_LOCAL_MACHINE�QueryValueExr/)rq�cvkey�keyrrrrnRs(rnc	Cs�zddlm}Wn tk
r0||||fYSX|�}z ttt�d�d��\}}}Wn,tk
r�|jpx|dd�\}}}YnXd�	|||�}t
�||f�p�t
�|df�p�|}|dd�||fk�rzd�	|j�}Wn8t
k
�r|dd�d	k�rd
|dd�}YnXt|dd�dk�rJt�||f��pHt�|df��pH|}z0zddl}	Wntk
�rvddl}	YnXWntk
�r�YnLXz2d}
|	�|	j|
��}|	�|d
�d}W5QRXWntk
�r�YnX||||fS)Nr)�getwindowsversionr!rDrEz{0}.{1}.{2}zSP{}�
z
Service Pack ZSPZproduct_typerpZCurrentType)r0ryrrrHrrbrrZplatform_version�format�_WIN32_CLIENT_RELEASESrZservice_pack_majorr.�getattr�_WIN32_SERVER_RELEASESrqrsrtrurvr/)r_r�csd�ptyperyZwinver�major�minorrKrqrwrxrrr�	win32_verdsR ����r�c	Cs�d}tj�|�sdSzddl}Wntk
r6YdSXt|d��}|�|�}W5QRX|d}d}t��j}|dkrzd}|||fS)Nz0/System/Library/CoreServices/SystemVersion.plistrr#ZProductVersion�rrr)ZppczPower MacintoshZPowerPC)	r*r3�exists�plistlibrrr4�load�uname�machine)�fnr�r?rr_�versioninfor�rrr�_mac_ver_xml�s
r�r�cCst�}|dk	r|S|||fS�N)r�)r_r�r�rarrr�mac_ver�sr�cCsHddlm}z|�|�}|dkr&|WS|WStk
rB|YSXdS)Nr)�System)�	java.langr�ZgetPropertyr.)�name�defaultr��valuerrr�
_java_getprop�s
r�cCs�zddl}Wn tk
r,||||fYSXtd|�}td|�}|\}}}td|�}td|�}td|�}|||f}|\}}	}
td|
�}
td|�}td	|	�}	||	|
f}||||fS)
Nrzjava.vendorzjava.versionzjava.vm.namezjava.vm.vendorzjava.vm.versionzjava.os.archzjava.os.namezjava.os.version)r�rrr�)r_�vendor�vminfo�osinfo�javaZvm_nameZ
vm_releaseZ	vm_vendor�os_name�
os_version�os_archrrr�java_ver�s"












r�cCs�|dkr�|dkr|||fS|�d�}|rlzt|d�}Wntk
rLYn X|d}t|�|d<d�|�}|dkrzd}q�d}n,|dkr�d	}|r�|d
}q�d}n|dkr�d
}|||fS)NZSunOS�5rDrrE�6ZSolarisZIRIX64ZIRIXz (64bit)�64bit�rOrP�Windows)rrrrIrJ)r^r_rrLr�rrr�system_alias�s.	



r�cGs�d�dd�tt|�D��}|�dd�}|�dd�}|�dd�}|�dd�}|�d	d�}|�d
d�}|�dd�}|�dd�}|�d
d�}|�dd�}||kr�q�|}q�|ddkr�|dd�}q�|S)N�-css|]}|��VqdSr�)r[)r&�xrrr�	<genexpr>(sz_platform.<locals>.<genexpr>� �_�/�\�:�;�"�(�)�unknownrz--rU)rJ�filterr,�replace)�argsrVZcleanedrrr�	_platform"s"r�cCsNzddl}Wntk
r$|YSXz
|��WStk
rH|YSXdS�Nr)�socketrrZgethostnamer/)r�r�rrr�_nodeBs

r�cCsBtj�|�}tj�|�r>tj�tj�tj�|�t�|���}q|Sr�)r*r3�abspath�islink�normpathrJ�dirname�readlink)�filepathrrr�_follow_symlinksQs�r�c	Cs\tjdkr|Sddl}z|jd|f|jdd�}Wnt|jfk
rN|YSX|��pZ|S)N�rQrOrPrr�T)rRrS)r0rVrWrXrYr/rZr[)Zoptionr�rW�outputrrr�
_syscmd_uname\s

�

r�c	Csztjdkr|Sddl}t|�}ttjdd�}z|jdd|g|j|d�}Wnt	|j
fk
rf|YSX|sp|S|�d�S)	Nr�r�C)�LC_ALL�filez-b)rR�envzlatin-1)r0rVrWr��dictr*�environrXrYr/rZr%)�targetr�rWr�r�rrr�_syscmd_filems	
�

r�)r�	WindowsPE)rr�)r�MSDOScCs|s&ddl}|�d�}t|d�d}|r6t|d�}nd}|sx|tjkrxtjtkrpttj\}}|rh|}|rp|}||fSd|kr�d|kr�||fSd|kr�d	}nd
|kr�d}nd|kr�d
}d|kr�d}n8d|kr�d|kr�d}q�d}nd|kr�d}nd|kr�d}n||fS)Nr�P��bitrr1z
shared objectz32-bit�32bitZN32Zn32bitz64-bitr�ZELFZPEr�r�ZCOFFzMS-DOSr�)�structZcalcsizerIr�r0r1rV�_default_architecture)r1�bits�linkager��sizeZfileoutr	rLrrr�architecture�sH
�
r��uname_resultz-system node release version machine processorcCs�d}tdk	rtSd}zt��\}}}}}Wntk
rBd}YnX|sbttd|||||f���s�|r~tj}d}d}t�}d}d}|dkr�t	�\}}}}	|r�|r�d}|s�dtj
kr�tj
�dd�}ntj
�dd�}|s�tj
�d|�}|�r:t|�\}}}|dk�rd	}n4|d
k�r:|d	k�r:d	}d|dd�k�r6d
}nd}|dk�rd|�s^|dk�rZd}nd}d	}n8|dd�dk�r�t
�\}}
}}d}d�|�}|�s�|
}|dk�r|�r�|dk�r�|}d}zddl}
Wntk
�r�Yn&X|
�dd�\}}|dk�rd}nd}|�stdd�}|dk�r$d}|dk�r2d}|dk�r@d}|dk�rNd}|dk�r\d}|dk�rjd}|d
k�r�|d	k�r�d	}d
}t||||||�atS)NrrrrOZPROCESSOR_ARCHITEW6432ZPROCESSOR_ARCHITECTUREZPROCESSOR_IDENTIFIERzMicrosoft Windowsr�Z	Microsoftz6.0rErcr�r�Z16bit�r��Javaz, ZOpenVMS�0zSYI$_CPU�ZAlphaZVAXz-pr�)�_uname_cacher*r�r.rGr�r0rVr�r�r�rrbr�rJ�vms_librrZgetsyir�r�)Zno_os_uname�	processorr^�noder_rr�Zuse_syscmd_verrr�r�r�r�r�ZcsidZ
cpu_numberrrrr��s�
















�r�cCst�jSr�)r�r^rrrrr^usr^cCst�jSr�)r�r�rrrrr�~sr�cCst�jSr�)r�r_rrrrr_�sr_cCst�jSr�)r�rrrrrr�srcCst�jSr�)r�r�rrrrr��sr�cCst�jSr�)r�r�rrrrr��s
r�zL([\w.+]+)\s*\(#?([^,]+)(?:,\s*([\w ]*)(?:,\s*([\w :]*))?)?\)\s*\[([^\]]+)\]?z;IronPython\s*([\d\.]+)(?: \(([\d\.]+)\))? on (.NET [\d\.]+)zU([\d.]+)\s*\(IronPython\s*[\d.]+\s*\(([\d.]+)\) on ([\w.]+ [\d.]+(?: \(\d+-bit\))?)\)zE([\w.+]+)\s*\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*\[PyPy [^\]]+\]?cCs|dkrtj}t�|d�}|dk	r&|Sd|kr�d}|�d�rHt�|�}n
t�|�}|dkrjtdt	|���|�
�\}}}d}d}n�tj�d�r�d}t�|�}|dkr�tdt	|���|�
�\}}}}	}
|dkr�d}tj}n�d|k�r"d}t
�|�}|dk�rtdt	|���|�
�\}}}}	d}n\t�|�}|dk�rFtd	t	|���|�
�\}}}}	}d
}|dk�rld}n|	�r~|d|	}ttd��r�tj\}
}}n"ttd
��r�tj\}
}}nd}d}|�d�}
t|
�dk�r�|
�d�d�|
�}|||||||f}|t|<|S)NZ
IronPythonz*failed to parse IronPython sys.version: %srr�ZJythonz&failed to parse Jython sys.version: %sZPyPyz$failed to parse PyPy sys.version: %sz'failed to parse CPython sys.version: %sZCPythonr��_git�
_mercurialrDr!r�)r0r�_sys_version_cacher�
startswith�_ironpython_sys_version_parserr]� _ironpython26_sys_version_parserr�reprr:rV�_sys_version_parser�_pypy_sys_version_parserr2r�r�rr,rFrJ)�sys_versionrr�r]rZalt_versionZcompilerZbuildnoZ	builddateZ	buildtimer��branchZrevisionrLrrr�_sys_version�s�

��
��


�

���



r�cCs
t�dSr��r�rrrr�python_implementation5sr�cCs
t�dS)Nrr�rrrr�python_versionBsr�cCstt�d�d��S)NrrD)r-r�rrrrr�python_version_tupleLs	r�cCs
t�dS)Nr!r�rrrr�
python_branchWsr�cCs
t�dS)NrEr�rrrr�python_revisionesr�cCst�dd�S)Nr�rir�rrrr�python_buildrsr�cCs
t�dS)Nrir�rrrr�python_compilerzsr�cCsbt�||fd�}|dk	r|St�\}}}}}}||kr:d}|rPt|||�\}}}|dkrnt�d}	|	rnd}|	}|dkr�t|�\}
}}}
|r�t||�}nt||||�}n�|dkr�ttj	�\}}t||||d||�}n~|dk�r t
�\}}}\}}}|s�|�s
t|||�}nt|||d	|||�}n2|�r2t||�}n ttj	�\}}t||||||�}|t||f<|S)
NrZDarwinrZmacOSr�)ZLinux�withr�Zon)�_platform_cacherr�r�r�r�r�rCr0r1r�r�)�aliased�terserr^r�r_rr�r�Z
macos_releaseZrelZversrr�rVZlibcnameZlibcversion�rrr�r�r�r�r�r�rrrrV�sX

�

��rV�__main__r�z--terseZ
nonaliasedz--nonaliased)Nrrr)r)rrrrN)rrrr)rr�r)rrr�r�)r)r)r)N)rr)AZ
__copyright__�__version__�collectionsr*�rer0r�compilerr�ASCIIr6rCrMr\rbr|r~rornr�r�r�r�r�r�r�r�r�r�r�r�r1r��
namedtupler�r�r�r^r�r_rr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rV�__name__�argvr�r��print�exitrrrr�<module>\s�
�
�
G


�
1��

3

#4 


$�P�	
			����
h




L