Mini Kabibi Habibi

Current Path : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/__pycache__/
Upload File :
Current File : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/__pycache__/platform.cpython-314.pyc

+
��h������RtRtRt^RIt^RIt^RIt^RIt^RIt^RIt^RI	s	R^
R^R^R^R^R	^(R
^2R^2R^�R
^�/
tRtRJRlt
RKRltRLRltRt.RMOt.RNOtRtRtRtRORltRtRPRlt]P2!R.RQO4tRRRltRtRSR lt]P2!R!R"4tRTR#ltR$t R%t!RKR&lt"R't#RKR(lt$RRURRVRRW/t%]PLRR3R)lt'R*t(!R+R,4t)R-t*!R.R/]P2!R0R144t+Rs,R2t-R3t.R4t/R5t0R6t1R7t2R8t3/t4RXR9lt5R:t6R;t7R<t8R=t9R>t:R?t;R@t</t=RYRAlt>RZt?Rs@RBtARCtBRDtCRERFltDRXRGRHlltE]FRI8Xd
]E!4R#R# ]
dRs	ELOi;i)[a&This module tries to retrieve as much platform-identifying data as
possible. It makes this information available via function APIs.

If called from the command line, it prints the platform
information concatenated as single string to stdout. The output
format is usable as part of a filename.

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.9N�dev�alpha�a�beta�b�c�RC�rc�pl�pc��\P!R4p.pVPV4F-pVR9gK\V^
4p^dpVPWC34K/	V# \d\
P
T^4pL;i;i)z([0-9]+|[._+-])z._+-)�re�compile�split�int�
ValueError�_ver_stages�get�extend)�version�component_re�result�v�ts&    �DC:\Users\ITO\AppData\Local\Programs\Python\Python314\Lib\platform.py�_comparable_versionr�s���:�:�0�1�L�
�F�
�
�
��
(���F�?�
*���2�J����
�M�M�1�&�!�)��M���
*��O�O�A�q�)��
*�s�A�!B�B�c���V'g�\PR8Xd5RPR\PP44pRV3#\
P!R4pVP^R7p\V4^8Xd\V4#\PpV'gW3#\P!R\P \P",4p\$p\
P&P)V4pRp\+VR4;_uu_4pVP-V4p	^p
V
\V	48Ed�R	V	9gR
V	9gRV	9dVP/W�4pMRpV'dVP14\V	48XdNVP-V4pV'd+V	\3V
\V	4R,
4RV,p	^p
K�V'gEMDVP54U
u.uFp
V
eV
P7R
4MT
NK	pp
Vw
ppppppppppV'dV'gRpM�V'd#VR8wdRpTpM�V!V4V!V48�dTpM�V'dUVR8wdMRpV'dV'dV!V4V!V48�dTpV'dV\V4)RV8wd
VV,pMWV'd!RpV'dV!V4V!V48�dTpM/V'd(RpV'dV'dV!V4V!V48�dTpVP14p
EK�RRR4YfV3#T3# \\\3dEL�i;iuup
i +'giL<;i)a�Tries to determine the libc version that the file executable
(which defaults to the Python interpreter) is linked against.

Returns a tuple of strings (lib,version) which default to the
given parameters in case the lookup fails.

Note that the function has intimate knowledge of how different
libc versions add symbols to the executable and thus is probably
only usable for executables compiled using gcc.

The file is read and scanned in chunks of chunksize bytes.

�
emscripten�.c3�8"�TFp\V4x�K	R#5i�N)�str��.0�xs& r�	<genexpr>�libc_ver.<locals>.<genexpr>�s���S�+R�a�3�q�6�6�+R�s��CS_GNU_LIBC_VERSION)�maxsplits�
          (__libc_init)
        | (GLIBC_([0-9.]+))
        | (libc(_\w+)?\.so(?:\.(\d[0-9.]*))?)
        | (musl-([0-9.]+))
        | (libc.musl(?:-\w+)?.so(?:\.(\d[0-9.]*))?)
        N�rbslibcsGLIBCsmusli��latin1�libc�glibc�musl)�sys�platform�join�_emscripten_info�emscripten_version�os�confstrr�len�tuple�AttributeErrorr�OSError�
executabler
r�ASCII�VERBOSEr�path�realpath�open�read�search�end�max�groups�decode)r:�libr�	chunksize�ver�parts�libc_search�V�f�binary�pos�m�chunk�s�decoded_groups�libcinitr-�glibcversion�so�threads�	soversionr.�muslversion�musl_so�
musl_sovers&&&&                     r�libc_verr[�s�����<�<�<�'��(�(�S�3�+?�+?�+R�+R�S�S�C� �#�&�&�	��*�*�2�3�C��I�I�q�I�)�E��5�z�Q���U�|�#���^�^�
���<���*�*��	���2�:�:���K�	�A����!�!�*�-�J�
�C�	
�j�$�	�	�1����	�"�����C��K���&� �H��$6�'�V�:K��&�&�v�3���������3�v�;�.����y�)���#�C��S��[�4�-?�$@�$A�B�U�J�F��C����'(�x�x�z�3�'1�!�56�M�a�h�h�x�0�q�H�'1�
�3�8F�
5�X�u�l�B���
�;���������'�>�!�C�&�C��|�_�q��v�-�&�C����'�>� �C� �#��9���#��1F�'���3��G��}�~�#6�'�#A�!�G�m�������a��n�q��v�5�%�C������s�a�
�m�a��f�.D�$�C��%�%�'�C�W
 �X�;��/�/�C�/�/��K�
�G�4�	��	��R3�!
 �	�s��AL>�'AM �=6M �41M �&M �: M�M �9
M �)M �.M �?M �M �$%M �
	M �M �2	M �<M �(M �>M�M�M � M0	c	��VPR4pV'dVPV4\\\\\
V444pRPVR,4pV# \dTpL)i;i)zNormalize the version and build strings and return a single
version string using the format major.minor.build (or patchlevel).
r�N�N)r�append�list�mapr"rrr1)r�build�l�stringss&&  r�
_norm_versionresk��
	�
�
�c��A��	�������s�3��C���,�-���h�h�w�r�{�#�G��N�������s�'A-�-
A=�<A=�win32�win16�dosc
��\PV9dWV3#^RIpRF/pVPVVPVPRRRR7pM	WV3#\P!R4pVP4pVPV4p	V	eEV	P4wrpVR,R8XdVRRpVR,R8XdVRRp\V4pWV3# \
TP3dpRp?K�Rp?ii;i)	z�Tries to figure out the OS version used and returns
a tuple (system, release, version).

It uses the "ver" shell command for this which is known
to exists on Windows, DOS. XXX Others too ?

In case this fails, the given parameters are used as
defaults.

NT�locale)�stdin�stderr�text�encoding�shellz'(?:([\w ]+) ([\w.]+) .*\[.* ([\d.]+)\])r)rHzcommand /c verz
cmd /c ver���)
r/r0�
subprocess�check_output�DEVNULLr9�CalledProcessErrorr
r�strip�matchrDre)
�system�releaser�supported_platformsrq�cmd�info�why�
ver_outputrOs
&&&&      r�_syscmd_verr~s���|�|�.�.���'�'��6��	��*�*�3�1;�1C�1C�2<�2D�2D�04�4<�15�+�7�D�
�7���'�'����-�.�J�
�:�:�<�D������A��}�#$�8�8�:� ����2�;�#���c�r�l�G��2�;�#���c�r�l�G� ��(���G�#�#��3��6�6�7�	���	�s�+C�C<�7C<c�a�\'g\R4hRRRR/V,p\P!RPRP	V4V44PR4pR	T4pTUu/uFqD^,T^,bK	upoT3R
lT4# \dRs\R4hi;iuupi)z
not supported�OS�Win32_OperatingSystem�CPU�Win32_ProcessorzSELECT {} FROM {}�,�Nc3�B"�TFqPR4x�K	R#5i)�=N)�	partition)r$�is& rr&�_wmi_query.<locals>.<genexpr>bs���1�D�q�+�+�c�"�"�D�s�c3�6<"�TFpSV,x�K	R#5ir!�)r$�k�	dict_datas& �rr&r�ds����'�$�Q�I�a�L�L�$�s�)�_wmir9�
exec_query�formatr1r)�table�keys�data�
split_datar�r�s&*   @r�
_wmi_queryr�Rs�����4��o�&�&��%�
� �
��

�E�'����2�9�9��H�H�T�N�� 
���5��;�	
�2�D�1�J�%/�0�Z��1��q��t��Z�0�I�'�$�'�'���'����o�&�&�'��1s�AB �8B<� B9c��\4R9#)�IoTUAP)r��
NanoServer�WindowsCoreHeadless�	IoTEdgeOS)�
win32_editionr��r�win32_is_iotr��s���?�Z�Z�Zr�c��^RIpRpVPVPV4;_uu_4pVPVR4^,uuRRR4# +'giR#;i \dR#i;i \
dR#i;i)�N�,SOFTWARE\Microsoft\Windows NT\CurrentVersion�	EditionId)�winreg�	OpenKeyEx�HKEY_LOCAL_MACHINE�QueryValueExr9�ImportError)r��cvkey�keys   rr�r��s���
��	�C�E��!�!�&�";�";�U�C�C�s��*�*�3��<�Q�?�D�C�C�C�
���	���	���
���
�s?�A7�&A%�A�
A%�A"	�A%�"A%�%A4�3A4�7B�Bc���\RRRRRR4wrr$p\V4^8HpV'dVR8wd
RVRV2pMRV2pWW&3# \dMi;i^R	IHpM \
d	YTR
3u#i;iT!4p\
TR^4^8Hp\4^,p\\TPR44wr�pMC \d6TP;'g
TR,wr�pR
PY�T4pMi;iTR,Y�38XdMRPTP4pM/ \d"TR,R8XdRTR,,pMi;i^RIpRp
TP!TP"T
4;_uu_4pTP%TR4^,pRRR4M5 +'giM%;i \dMi;i \
dMi;iYY&3#)r��Version�ProductType�	BuildType�ServicePackMajorVersion�ServicePackMinorVersion�0�SPr)�getwindowsversionT�product_typer]z{0}.{1}.{2}:N�NzSP{}:N�
Nz
Service Pack :r�NNNr��CurrentType)r�rr9r/r�r��getattrr~rarr�platform_versionr��service_pack_majorr8r�r�r�r�)r�csd�ptyper��spmajor�spminor�	is_clientr��winver�major�minorrbr�r�r�s&&&            r�
_win32_verr��s���
�<F�����%�%�
=
�8������&�!�+�	��w�#�~��w�i�q��	�*�C��w�i�.�C��U�-�-���
��
��)�)���)��U�D�(�(�)���
 �F�����3�q�8�I�<��-��"��!�#�w�}�}�S�'9�:���e���<�$�5�5�C�C������e��&�&�u�U�;��<���b�z�e�^�#�	&��-�-�� 9� 9�:�C���	&��3�x�?�*��S��X�o���	&��
��	�C�E��!�!�&�";�";�U�C�C�s��+�+�C��?��B��D�C�C�C���	��	���
��
����)�)s��AA�A�A�A�A1�0A1�3C�D�D�?D�D/�/)E�E�G�$&G�
F-�$G�-F=	�8G�=G�G�
G�G�Gc��a�Rp\WV4wrr4V'dS\\\VP	R444oV'd\
M\p\V3RlV4V4pWW#3#)Frc3�><"�TFwrVS8:gKVx�K	R#5ir!r�)r$r�r�
intversions&  �rr&�win32_ver.<locals>.<genexpr>�s����B�h�d�a�!�z�/���h�s��
)r�r7rarr�_WIN32_CLIENT_RELEASES�_WIN32_SERVER_RELEASES�next)rxrr�r�r��releasesr�s&&&&  @r�	win32_verr��s^����I�%/��e�%D�"�G�%���3�s�G�M�M�#�$6�7�8�
�-6�)�<R���B�h�B�G�L���S�'�'r�c�r�Rp\PPV4'gR#^RIp\TR4;_uu_4pTP
T4pRRR4XR,pRp\P!4PpTR9dRpYET3# \dR#i;i +'giLY;i)z0/System/Library/CoreServices/SystemVersion.plistNr*�ProductVersion�PowerPC�rrr)�ppczPower Macintosh)	r4r=�exists�plistlibr�r?�load�uname�machine)�fnr�rLr
rx�versioninfor�s       r�_mac_ver_xmlr��s���	;�B�
�7�7�>�>�"������
�b�$���1�
�]�]�1�
��
��!�"�G��K��h�h�j� � �G��,�,�����(�(�������
��s�B�B&�B#�"B#�&B6	c�*�\4pVeV#WV3#)aGet macOS version information and return it as tuple (release,
versioninfo, machine) with versioninfo being a tuple (version,
dev_stage, non_release_version).

Entries which cannot be determined are set to the parameter values
which default to ''. All tuple entries are strings.
)r�)rxr�r�r{s&&& r�mac_verr��s#���>�D�������(�(r��IOSVersionInfoc��\PR8Xd"^RIpVP4pVe
\	V!#\	WW#4#)z�Get iOS version information, and return it as a namedtuple:
    (system, release, model, is_simulator).

If values can't be determined, they are set to values provided as
parameters.
�iosN)r/r0�_ios_support�get_platform_iosr�)rwrx�model�is_simulatorr�rs&&&&  r�ios_verr�s?���|�|�u����.�.�0����!�6�*�*��&�5�?�?r�c�h�^RIHpVPV4pVfV#V# \dTu#i;i)zEThis private helper is deprecated in 3.13 and will be removed in 3.15)�System)�	java.langr��getPropertyr8)�name�defaultr��values&&  r�
_java_getpropr�s=�� ���"�"�4�(���=��N���������s�!�!�
1�1c�P�^RIpVPRRR7^RIp\	RT4p\	RT4pTwrgp\	RT4p\	RT4p\	RT4pYgT3pTwr�p\	R	T4p\	R
T	4p	\	RT
4p
Y�T3pYY#3# \dYY#3u#i;i)
a0Version interface for Jython.

Returns a tuple (release, vendor, vminfo, osinfo) with vminfo being
a tuple (vm_name, vm_release, vm_vendor) and osinfo being a
tuple (os_name, os_version, os_arch).

Values which cannot be determined are set to the defaults
given as parameters (which all default to '').

N�java_ver)�removezjava.vendorzjava.versionzjava.vm.namezjava.vm.vendorzjava.vm.versionzjava.os.archzjava.os.namezjava.os.version)r^�)�warnings�_deprecatedr�r�r�)rx�vendor�vminfo�osinfor��java�vm_name�
vm_release�	vm_vendor�os_name�
os_version�os_archs&&&&        rr�r�)s��������G��4�/���=�&�
1�F��N�G�4�G�%+�"�G���N�G�4�G��.�	�:�I��0�*�=�J�
�)�
+�F�#)� �G���N�G�4�G��N�G�4�G��0�*�=�J�
�'�
)�F��F�*�*��!�/���.�.�/�s�B�B%�$B%�
AndroidVerz7release api_level manufacturer model device is_emulatorc�Ha	a
�\PR8Xdo^RIHpHpHo	\
V!R4R4o
Ww3S
nV	V
3RlpV!RV4p\V!RV44pV!RV4pV!RV4pV!R	V4pV!R
R4R8Hp\WW#WE4# \dLi;i)
�android)�CDLL�c_char_p�create_string_bufferzlibc.so�__system_property_getc�<�^\pS!V4pS!VPR4V4pV^8XdV#VPPRR4#)�\zUTF-8�backslashreplace)�encoder�rE)r�r��PROP_VALUE_MAX�buffer�lengthr�system_property_gets&&   ��r�getprop�android_ver.<locals>.getprop^sM���!#��-�n�=��,�T�[�[��-A�6�J���Q�;�#�N�!�<�<�.�.�w�8J�K�Kr�zro.build.version.releasezro.build.version.sdkzro.product.manufacturerzro.product.modelzro.product.devicezro.kernel.qemur��1)r/r0�ctypesr�rrr��argtypesrr�r�)rx�	api_level�manufacturerr��device�is_emulatorr�rrrr
s&&&&&&   @@r�android_verrPs����
�|�|�y� �	@�C�C�#*�$�y�/�;R�"S��,4�+?��(�

L��8�'�B�G��G�$:�I�F�G�I�"�#<�l�K�L��.��6�E��0�&�9�F�!�"2�C�8�C�?�K���L��F�F��9�	��	�s�
B�B!� B!c�$�VR8XdmVR8dWV3#VPR4pV'd<\V^,4pV^,
p\V4V^&RPV4pVR8dRpMRpM	VR9dRpWV3# \dL'i;i)z�Returns (system, release, version) aliased to common
marketing names used for some systems.

It also does some reordering of the information in some cases
where it would otherwise cause confusion.

�SunOS�5r�6�Solaris�Windows�rfrg)rrr"r1r)rwrxrrcr�s&&&  r�system_aliasrws�������S�=��G�+�+��M�M�#����
&��A�a�D�	����	���5�z��!���(�(�1�+���S�=��F��F�	�%�	%���
�G�#�#��'�
��
�s�B�B�Bc��RPR\\V444pVPRR4pVPRR4pVPRR4pVPRR4pVPRR4pVPR	R4pVPR
R4pVPRR4pVPRR
4pVPRR4pW!8XdMTpKV'dVR,R8XdVRRpKV#)zdHelper to format the platform string in a filename
compatible format e.g. "system-version-machine".
�-c3�@"�TFqP4x�K	R#5ir!)rur#s& rr&�_platform.<locals>.<genexpr>�s���=�+<�a���	�	�+<�s�� �_�/�\�:�;�"�(�)�unknownrz--Nrp)r1�filterr6�replace)�argsr0�cleaneds*  r�	_platformr/�s���x�x�=�6�#�t�+<�=�=�H�����S�)�H�����S�)�H�����c�*�H�����S�)�H�����S�)�H�����S�)�H�����S�)�H�����S�)�H����	�2�.�H���"�"�4��-�������
�x��|�s�*��C�R�=���Or�c�z�^RIpTP4# \dTu#i;i \dTu#i;i)z7Helper to determine the node name of this machine.
    N)�socketr��gethostnamer9)r�r1s& r�_noder3�sI������!�!�#�#��	������
�����s��*�
'�'�
:�:c�n�\PPV4p\PPV4'dq\PP	\PP\PP
V4\P!V444pK�V#)zGIn case filepath is a symlink, follow it until a
real file is reached.
)r4r=�abspath�islink�normpathr1�dirname�readlink)�filepaths&r�_follow_symlinksr;�sk��
�w�w���x�(�H�
�'�'�.�.��
"�
"��7�7�#�#��G�G�L�L�������2�B�K�K��4I�J�L���Or�c�d�\PR9dV#^RIp\	T4p\\PRR7pTPRRT.TPTR7pT'gT#TPR4# \dTu#i;i \TP3dTu#i;i)	z�Interface to the system's file command.

The function uses the -b option of the file command to have it
omit the filename in its output. Follow the symlinks. It returns
default in case the command should fail.

N�C)�LC_ALL�filez-b)rl�envzlatin-1>rhr��tvosrgrf�watchos)
r/r0rqr�r;�dictr4�environrrrsr9rtrE)�targetr�rqr@�outputs&&   r�_syscmd_filerG�s����|�|�J�J������f�
%�F��r�z�z�#�
&�C���(�(�&�$��)?�0:�0B�0B�-0�)�2��
����=�=��#�#��#������
�Z�2�2�3�����s#�B�!B�
B�B�B/�.B/c�R�V'g/^RIpVPR4p\V^,4R,pV'd\VR4pMRpV'gcV\P
8XdN\P\9d2\\P,wrgV'dTpV'dTpW3#RV9dRV9dW3#RV9dRpM	R	V9dR
pRV9dRpW3#RV9dRpW3#R
V9dRV9dRpW3#R
pW3#RV9dRpW3#RV9dRpW3#W3#)a'Queries the given executable (defaults to the Python interpreter
binary) for various architecture information.

Returns a tuple (bits, linkage) which contains information about
the bit architecture and the linkage format used for the
executable. Both values are returned as strings.

Values that cannot be determined are returned as given by the
parameter presets. If bits is given as '', the sizeof(pointer)
(or sizeof(long) on Python version < 1.5.2) is used as
indicator for the supported pointer size.

The function relies on the system's "file" command to do the
actual work. This is available on most if not all Unix
platforms. On some non-Unix platforms where the "file" command
does not exist and the executable is set to the Python interpreter
binary defaults from _default_architecture are used.

N�P�bitrr:z
shared objectz32-bit�32bitz64-bit�64bit�ELFzMach-O�PEr�	WindowsPE�COFFzMS-DOS�MSDOS)�struct�calcsizer"rGr/r:r0�_default_architecture)r:�bits�linkagerR�size�fileoutrrcs&&&     r�architecturerYs[��.�����s�#���4�!�8�}�u�$����z�2�.������S�^�^�#��<�<�0�0�(����6�D�A��������}���7�"��g�'E��}���7����	�W�	���
�����"�=��!
�W�	����=��
������!�G��=���G��=��
�7�	����=��

�W�	���
�=��	
��=�r�c�>�\RR4vr.RO\V4,pV'dV#\
PPRR4;'g!\
PPRR4# \\3dL[i;i \dLli;i)r��Architecture�PROCESSOR_ARCHITEW6432r�PROCESSOR_ARCHITECTURE)
�x86�MIPS�Alphar�N�ARM�ia64NN�AMD64NN�ARM64)r�rr�
IndexErrorr9r4rDr)�archr"s  r�_get_machine_win32rgVs������~�6�
��		���$�i��D�����	�
�
���/��4�	5�	5�
�
�
���/��4����J�'�	��	���
��
�s"�
B�A7�7B�
B�B�Bc�Ha�]tRtRto]R4tRtRtRtRt	Rt
VtR#)	�
_Processorirc�t�\VR\P2VP4pV!4;'gR#)�get_r)r�r/r0�from_subprocess)�cls�funcs& rr�_Processor.getss/���s�d�3�<�<�.�1�3�3F�3F�G���v�|�|��r�c��\RRR4wrVRV2# \d,\PP	R\44u#i;i)r��Manufacturer�Caption�, �PROCESSOR_IDENTIFIER)r�r9r4rDrrg)r�captions  r�	get_win32�_Processor.get_win32xsX��	0�$.�u�n�i�$P�!�L��Y�b���/�/���	P��:�:�>�>�"8�:L�:N�O�O�	P�s��3A�
Ac�n�^RIpVPR^4wrV^�8�dR#R# \dR#i;i)r�NzSYI$_CPUr`�VAX)�vms_lib�getsyir�)rz�csid�
cpu_numbers   r�get_OpenVMS�_Processor.get_OpenVMS�sE��	;�� '�~�~�j�!�<��D�(�C�/�7�:�U�:��	�	��	�s�%�4�4c��\PPPR4'd \P
!4P#R#)�	simulator�arm64)r/�implementation�
_multiarch�endswithr4r�r�r�r�r�get_ios�_Processor.get_ios�s4�����(�(�1�1�+�>�>��8�8�:�%�%�%�r�c���^RIpTPRR.TPRRR7P	4# \dR#i;i \
TP3dR#i;i)z
Fall back to `uname -p`
Nr�z-pT�utf8)rlrmrn)rqr�rrrsrur9rt)rqs rrl�_Processor.from_subprocess�sx��	��	��*�*��$��!�)�)���	+��
�e�g�
���	��	����6�6�7�	��	�s �6�.A�A�A�A#�"A#r�N)�__name__�
__module__�__qualname__�__firstlineno__�classmethodrrvr~r�rl�__static_attributes__�__classdictcell__)�
__classdict__s@rririrs0��������0�;��
�r�ric��VR8XdR#T#)r*rr�)�vals&r�_unknown_as_blankr��s���	�!�2�*�s�*r�c�aa�]tRtRtoRtR
t]PR4tV3Rlt	]
R4tRtRt
RtR	tVtV;t#)�uname_resulti�z�
A uname_result that's largely compatible with a
simple namedtuple except that 'processor' is
resolved late and cached to avoid calling "uname"
except when needed.
c�<�\\P44#r!)r�rir��selfs&r�	processor�uname_result.processor�s�� ����!1�2�2r�c�`<�\P!\SV`
4VP34#r!)�	itertools�chain�super�__iter__r�)r��	__class__s&�rr��uname_result.__iter__�s)�������G���
�^�^��
�	
r�c���\VP4^,
pVP!V.VO5!p\V4V^,8wdRVR\V42p\V4hV#)�z	Expected z arguments, got )r6�_fields�__new__�	TypeError)rm�iterable�
num_fieldsr�msgs&&   r�_make�uname_result._make�s`������%��)�
����S�,�8�,���v�;�*�q�.�(��j�\�)9�#�f�+��G�C��C�.� ��
r�c�&�\V4V,#r!)r7)r�r�s&&r�__getitem__�uname_result.__getitem__�s���T�{�3��r�c�<�\\\V444#r!)r6r7�iterr�s&r�__len__�uname_result.__len__�s���5��d��$�%�%r�c�^�\\V4R\VP4^,
3#r!)r�r7r6r�r�s&r�
__reduce__�uname_result.__reduce__�s'���U�4�[�)?�#�d�l�l�*;�a�*?�@�@�@r�r�)rw�noderxrr�r�)r�r�r�r��__doc__r��	functools�cached_propertyr�r�r�r�r�r�r�r�r��
__classcell__)r�r�s@@rr�r��sY����
�O�G����3��3�
����� �&�A�Ar�r��uname_result_basez#system node release version machinec��\e\#\P!4;wrr#rE\V4'g�VR8Xd"\4wr#rgT;'g\4pV'd	V'g<\V4wrpVR8XdRpM#VR8XdVR8XdRpRVR,8XdRpMRpVR9dV'g
VR8XdR	pMR
pRpM8VR,R8Xd+\4wr(r�R
pRPV	4pV'gTpVR8XdV'dVR8XdTpRpVR8XdVR8XdRpRp\P
R8XdRp\4Pp\P
R8Xd\4wrpWW#V3p\!\#\$V4!s\# \d&\P
p\
4pR;p;r4RpEL�i;i)aAFairly portable uname interface. Returns a tuple
of strings (system, node, release, version, machine, processor)
identifying the underlying platform.

Note that unlike the os.uname function this also returns
possible processor information as an additional tuple entry.

Entries which cannot be determined are set to ''.

rrfzMicrosoft Windowsr�	Microsoftz6.0r]�VistarK�16bit:N�Nr��Javars�OpenVMSr�r��Androidr�r�r)�_uname_cacher4r�r8r/r0r3�anyr�rgr~r�r1rrxr�r�rar�)
rwr�rxrr��infosr�r�r�r�r�r"�valss
             rr�r��s��������:<�(�(�*�D�/��g���u�:�:��W��+4�;�(�G�c��5�5�!3�!5�G��G�'2�6�':�$�F�W��,�,�"���;�&�7�i�+?�
#���G�B�K�'�%�G� �G��'�'���W�$�%�G�%�G��F�
�B�Z�6�
!�.6�j�+�G�V��F��i�i��'�G�� ������'�S�.��G��G�����I�!5������|�|�y� ����-�'�'���|�|�u�� '�	����A���7�2�D���%6��!=�>�L����U�������w��&(�(��(�'���	�s�F � ,G�Gc�*�\4P#)z�Returns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'.

An empty string is returned if the value cannot be determined.

)r�rwr�r�rrwrw;s���7�>�>�r�c�*�\4P#)z�Returns the computer's network name (which may not be fully
qualified)

An empty string is returned if the value cannot be determined.

)r�r�r�r�rr�r�Ds���7�<�<�r�c�*�\4P#)ztReturns the system's release, e.g. '2.2.0' or 'NT'

An empty string is returned if the value cannot be determined.

)r�rxr�r�rrxrxN����7�?�?�r�c�*�\4P#)zzReturns the system's release version, e.g. '#3 on degas'

An empty string is returned if the value cannot be determined.

)r�rr�r�rrrWr�r�c�*�\4P#)zgReturns the machine type, e.g. 'i386'

An empty string is returned if the value cannot be determined.

)r�r�r�r�rr�r�`r�r�c�*�\4P#)z�Returns the (true) processor name, e.g. 'amdk6'

An empty string is returned if the value cannot be
determined. Note that many platforms do not provide this
information or simply return the same value as for machine(),
e.g.  NetBSD does this.

)r�r�r�r�rr�r�is���7���r�c���Vf\Pp\PVR4pVeV#\PPR4'd�\P!R\P4pRpVPV4pVf\R\V4,4hVP4wrVrxp	VfRp\Pp
M�RV9d_\P!R4pRpVPV4pVf\R	\V4,4hVP4wrVrxRp
M�\P!R
\P4pVPV4pVf\R\V4,4hVP4wrVrxp
RpVfRpMV'dVR
,V,p\\R4'd\Pwr�pM.\\R4'd\Pwr�pMRp
RpVP!R4p\#V4^8Xd#VP%R4RP'V4pW5W�WgV
3pV\V&V#)avReturns a parsed version of Python's sys.version as tuple
(name, version, branch, revision, buildno, builddate, compiler)
referring to the Python implementation name, version, branch,
revision, build number, build date/time as string and the compiler
identification string.

Note that unlike the Python sys.version, the returned value
for the Python version will always include the patchlevel (it
defaults to '.0').

The function returns empty strings for tuple entries that
cannot be determined.

sys_version may be given to parse an alternative version
string, e.g. if the version was read from a different Python
interpreter.

Nr�zL([\w.+]+)\s*\(#?([^,]+)(?:,\s*([\w ]*)(?:,\s*([\w :]*))?)?\)\s*\[([^\]]+)\]?�Jythonz&failed to parse Jython sys.version: %sr�PyPyzE([\w.+]+)\s*\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*\[PyPy [^\]]+\]?z$failed to parse PyPy sys.version: %szh([\w.+]+)\s*(?:free-threading build\s+)?\(#?([^,]+)(?:,\s*([\w ]*)(?:,\s*([\w :]*))?)?\)\s*\[([^\]]+)\]?z'failed to parse CPython sys.version: %s�CPythonr!�_git�
_mercurialrr�)r/r�_sys_version_cacherr0�
startswithr
rr;rvr�reprrD�hasattrr�r�rr6r_r1)�sys_versionr�jython_sys_version_parserr�rvr�buildno�	builddate�	buildtimer"�compiler�pypy_sys_version_parser�cpython_sys_version_parser�branch�revisionrcs&               r�_sys_versionr�ysL��*���k�k�� �
#�
#�K��
6�F�
���
�
�|�|���v�&�&�$&�J�J�
�!�h�h�%(�!���)�/�/��<���=��8��[�!�"�#�
#�5:�L�L�N�1��)�����I��<�<��	�;�	�"$�*�*�
 �#!��
��'�-�-�k�:���=��C�!�+�.�/�0�
0�16����.��)���&(�Z�Z�
�
!�h�h�
&(�"�+�0�0��=���=��9��[�!�"�#�
#��l�l�n�	9��)�������I�
�!�C��)�3�I��s�F���!�h�h���8�	��l�	#�	#�!�n�n���8�����	�
�
�c��A�
�1�v��{�	����
��(�(�1�+���V�w�8�
L�F�&,��{�#��Mr�c�$�\4^,#)z�Returns a string identifying the Python implementation.

Currently, the following implementations are identified:
  'CPython' (C implementation of Python),
  'Jython' (Java implementation of Python),
  'PyPy' (Python implementation of Python).

�r�r�r�r�python_implementationr��s���>�!��r�c�$�\4^,#)z�Returns the Python version as string 'major.minor.patchlevel'

Note that unlike the Python sys.version, the returned value
will always include the patchlevel (it defaults to 0).

r�r�r�r�python_versionr��s���>�!��r�c�T�\\4^,PR44#)z�Returns the Python version as tuple (major, minor, patchlevel)
of strings.

Note that unlike the Python sys.version, the returned value
will always include the patchlevel (it defaults to 0).

r)r7r�rr�r�r�python_version_tupler��s!������"�(�(��-�.�.r�c�$�\4^,#)z�Returns a string identifying the Python implementation
branch.

For CPython this is the SCM branch from which the
Python binary was built.

If not available, an empty string is returned.

r�r�r�r�
python_branchr�s���>�!��r�c�$�\4^,#)z�Returns a string identifying the Python implementation
revision.

For CPython this is the SCM revision from which the
Python binary was built.

If not available, an empty string is returned.

r�r�r�r�python_revisionr�s���>�!��r�c�$�\4R,#)z[Returns a tuple (buildno, builddate) stating the Python
build number and date as strings.

:r��Nr�r�r�r�python_buildr�s���>�#��r�c�$�\4^,#)zFReturns a string identifying the compiler used for compiling
Python.

r�r�r�r�python_compilerr�%s���>�!��r�c	��\PW3R4pVeV#\4wr4rVrxWx8XdRpV'd\W5V4wr5pVR8XdB\P
R8Xd\
4wr5p	M\4^,p
V
'dRpT
pVR8Xd0\V4wr�r�V'd
\W54pM�\W5Wm4pM�VR8Xd$\4wpp\W5WxRVV,4pM�VR	8XdB\4wpppwpppV'g	V'g\W5V4pMP\W5VR
VVV4pM?V'd
\W54pM+\\P4wpp\W5VVVV4pV\W3&V#)anReturns a single string identifying the underlying platform
with as much useful information as possible (but no more :).

The output is intended to be human readable rather than
machine parseable. It may look different on different
platforms and this is intended.

If "aliased" is true, the function will use aliases for
various platforms that report system names which differ from
their common names, e.g. SunOS will be reported as
Solaris. The system_alias() function is used to implement
this.

Setting terse to true causes the function to return only the
absolute minimum information needed to identify the platform.

Nr�Darwinr��macOSr�Linux�withr��on)�_platform_cacherr�rr/r0r�r�r�r/r[r�rYr:)�aliased�terserrwr�rxrr�r�r"�
macos_release�rel�versr�r�r0�libcname�libcversionr�rr�r�r�r�rUrVs&&                        rr0r01s~��&�
 �
 �'�!1�4�
8�F�
���
�:?��6�F�'�G����	��#/���#I� ���
����<�<�5� �$+�I�!�F�Q��#�I�a�L�M�� ��'��
��� )�'� 2���3�� ��1�H� ��'�?�H�	�7�	� (�
���+��V�g�#�%�k�1�3��
�6�	�7?�z�4��1�f�4�w�
�G��� ��'�:�H� ��'�!%�!(�*�g�?�H�� ��1�H�(����8�M�D�'� ��'�!*�D�'�;�H�)1�O�W�$�%��Or�c��RRRRRR/p\P!R4p\P!R4pVFLpVPV4pVfKVPRVP	R44WP	R	4&KN	V#)
�NAMEr��ID�linux�PRETTY_NAMEzA^(?P<name>[a-zA-Z0-9_]+)=(?P<quote>["']?)(?P<value>.*)(?P=quote)$z\\([\\\$\"\'`])z\1r�r�)r
rrv�sub�group)�linesr{�os_release_line�os_release_unescape�line�mos&     r�_parse_os_releaser�s���	���g��w��D��j�j�M��O��*�*�%7�8����
�
"�
"�4�
(��
�>�%8�%<�%<��r�x�x��(�&�D���&�!�"���Kr�c��\foRp\F@p\VRR7;_uu_4p\V4sRRR4\P4#	\	VRRP
\424h\P4# +'giL];i \dpTP
pRp?K�Rp?ii;i)zKReturn operation system identification from freedesktop.org os-release
    Nzutf-8)rnzUnable to read files rs)�_os_release_cache�_os_release_candidatesr?rr9�errnor1�copy)r�	candidaterL�es    r�freedesktop_os_releaser�s���
� ���/�I�
 ��)�g�6�6�!�(9�!�(<�%�7���!�!�#�#�0���'��	�	�2H�(I�'J�K��
�
�!�!�#�#�7�6���
 ������
 �s-�B�B�B�B�B�C�)B;�;Cc�^�RsRs\P4\P4R#)zInvalidate the cached results.N)r�rr��clearr�r�r�r�invalidate_cachesr�s)���L����������r�c�H�V^8�dQhR\\,R,/#�r�r-N�r`r")r�s"r�__annotate__r�s��#�#�d�3�i�$�&�#r�c���^RIpVPRR7pVPRRRR.R7VPR	R
RR7VPR
RRRR7VPV4#)r�NT)�colorr-�*�
nonaliasedr�)�nargs�choicesz--terse�
store_truezLreturn only the absolute minimum information needed to identify the platform)�action�helpz--nonaliasedr��store_falsez�disable system/OS name aliasing. If aliasing is enabled, some platforms report system names different from their common names, e.g. SunOS is reported as Solaris)�destr'r()�argparse�ArgumentParser�add_argument�
parse_args)r-r+�parsers&  r�_parse_argsr0�s����
�
$�
$�4�
$�
0�F�
����c�L�'�3J��K�
�����
'�	������
��
D��	����T�"�"r�c�H�V^8�dQhR\\,R,/#rr)r�s"rrr�s��$�$��S�	�D� �$r�c���\V4pVP;'gRVP9pVP;'dRVP9p\	\W!44R#)r�r#N)r0r�r-r��printr0)r-r�r�s&  r�_mainr4�sM���t��D��J�J�0�0�7�d�i�i�/�E��l�l�>�>��D�I�I� =�G�	�(�7�
"�#r��__main__)Nrri@)r)rrr)rfrgrh))��
r�r��post11))r7r�i�U�11)�r�r�r��10)�r�r^r�z8.1)�r�r�r��8)�r�r�r��7)�r�r�r�r�))�r�i��XP64)�rBr�r��XPMedia))rBr�r��XP)�rBr�r��2000))r6�post2025Server))r7r�i�e�
2025Server))r7r�i|O�
2022Server))r7r�icE�
2019Server)r:�
2016Server)r<�2012ServerR2)r=�
2012Server)r?�2008ServerR2)rA�
2008Server)rD�
2003Server)rG�
2000Server)rrrr)rr�r)rwrxr�r�)rrrF)rrr�r�)rr�rrrF)rrO)rr)rrQr!)FF)z/etc/os-releasez/usr/lib/os-release)Gr��
__copyright__�__version__�collectionsr4r
r/r�r�r�r�rrr[rer~r�r�r�r�r�r�r�r�r��
namedtupler�r�r�r�r�rrr/r3r;rGrTr:rYrgrir�r�r�r�rwr�rxrr�r�r�r�r�r�r�r�r�r�r�r�r0rrrrrr0r4r�r�r�r�<module>rXs>���v�
�*���	�	�
�����
�2��R��b�
�B��R����"�d�B��#�s�C�	��� `0�D
�24$�n(�*����[�
�9*�v
(�)�,)�*�'�'��2���
@� 	�!+�H�
#�
#��K�M�
�"F�N&$�T�@
�	� $�N�
��_�	�=��� �N�N��R�K�\�8/�/�d+�)A�����-�/�)A�X��^�D�����
���f�P
��	/�������K�bD�����6$�.	�#�6$��z��	�G���_+���D��s�E'�'	E4�3E4