Your IP : 3.135.202.168


Current Path : /opt/alt/python312/lib64/python3.12/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/__pycache__/_aix_support.cpython-312.opt-2.pyc

�

�Q�f���B�	ddlZddlZd	d�Zd�Zd�Zd�Zd�Zd�Zd�Zy)
�Nc�0�	ddl}ddl}td|j���d�}|j	|�5}|r|�d|j
�d�}n|�d|j
�d�}|j
|�s|j�ndcddd�S#1swYyxYw)Nrz/tmp/_aix_support.zw+bz >'z' 2>&1z 2>/dev/null >'�')�os�
contextlib�open�getpid�closing�name�system�read)�
commandstring�capture_stderrrr�fp�cmds      �3/opt/alt/python312/lib64/python3.12/_aix_support.py�_read_cmd_outputrs��:���	
�
�	�	����
�B�
�	�	�B�	�2��%2�B�G�G�<�C�,9�2�7�7�C�C� "�	�	�#��r�w�w�y�D�9�9�	�	�s�A
B�Bc�~�tjdk(rdnd}|dk7r|nd}dj|d|d|d||�S)	Ni���� �@r�'zaix-{:1x}{:1d}{:02d}-{:04d}-{}��)�sys�maxsize�format)�vrtl�bd�_sz�_bds    r�_aix_tagr sI������(�"�b�C��a��"�T�C�+�2�2�4��7�D��G�T�!�W�c�SV�W�W�c�x�|jd�dd\}}}t|d�t|�t|�gS)N�.����)�split�int)�vrmf�v�r�tls    r�	_aix_vrtlr,$s9���z�z�#��r��"�H�A�q�"���"��J��A���B��(�(r!c��		ddl}|jgd��}|j	d�}|j�j
d�}|ddk7rt|d�nd}t|d	�|fS#t$rtd�}Y�nwxYw)
Nr)z/usr/bin/lslppz-Lqczbos.rtez/usr/bin/lslpp -Lqc bos.rtezutf-8�:r%�rr)	�
subprocess�check_output�ImportErrorr�decode�stripr&r'�str)r0�outrs   r�_aix_bos_rter7*s����>���%�%�&K�L���*�*�W�
�C�

�)�)�+�
�
�C�
 �C��b�'�R�-�#�c�"�g�,�T�C���A��K������>��<�=��>�s�A2�2B	�B	c�H�	t�\}}tt|�|�S)N)r7r r,)r(rs  r�aix_platformr9?s%���"�~�H�D�"��I�d�O�R�(�(r!c�^�tjd�}|std��t|��S)N�BUILD_GNU_TYPEzBUILD_GNU_TYPE is not defined)r()�	sysconfig�get_config_var�
ValueErrorr,)�gnu_types r�_aix_bgtr@Ws-���'�'�(8�9�H���8�9�9��(�#�#r!c��	tjd�}	t|�}tt
�|�S#ttf$rtd|����wxYw)N�
AIX_BUILDDATEz)AIX_BUILDDATE is not defined or invalid: )r<r=r'r>�	TypeErrorr r@)�
build_dates r�aix_buildtagrE_sh���
�)�)�/�:�J�,���_�
��H�J�
�+�+��
�	�"�,��D�&�>�+�,�	,�,�s	�7�A)F)	rr<rr r,r7r9r@rE�r!r�<module>rGs2��#�
��9�$X�)��*)�0$�
,r!

?>