+
    öÙ†jµ  ã                   óH   € R t ^ RIt^ RItR	R ltR tR tR tR tR tR t	R# )
zShared AIX support functions.Nc                ór  € ^ RI p^ RIp\        RVP                  4       : 2R4      pVP	                  V4      ;_uu_ 4       pV'       d   V : RVP
                  : R2pMV : RVP
                  : R2pVP                  V4      '       g   VP                  4       MRuuRRR4       #   + '       g   i     R# ; i)z0Output from successful command execution or NoneNz/tmp/_aix_support.zw+bz >'z' 2>&1z 2>/dev/null >'Ú')ÚosÚ
contextlibÚopenÚgetpidÚclosingÚnameÚsystemÚread)ÚcommandstringÚcapture_stderrr   r   ÚfpÚcmds   &&    Ú#/usr/lib/python3.14/_aix_support.pyÚ_read_cmd_outputr      s   € ó
 ÛÝ	Ø
�	‰	�ðØó
€Bð 
×	Ñ	˜B×	Ô	 2ßÛ%2°B·G´GÐ<‰Cã,9¸2¿7¼7ÐCˆCØ "§	¡	¨#§¢ˆr�w‰wŒy°D÷ 
 ×	×	Ó	ús   Á AB%Â	B%Â%B6	c                 óœ   € \         P                  R8X  d   ^ M^@pV^ 8w  d   TMRpRP                  V ^ ,          V ^,          V ^,          W24      # )é   é'  zaix-{:1x}{:1d}{:02d}-{:04d}-{}iÿÿÿ)ÚsysÚmaxsizeÚformat)ÚvrtlÚbdÚ_szÚ_bds   &&  r   Ú_aix_tagr      sF   € ô —‘ Ô(‰"¨b€CØ�a”‰"˜T€Cà+×2Ñ2°4¸µ7¸DÀ½GÀTÈ!ÅWÈcÓWÐWó    c                 ó†   € V P                  R 4      R,          w  rp\        VR,          4      \        V4      \        V4      .# )Ú.:Né   Néÿÿÿÿ)ÚsplitÚint)ÚvrmfÚvÚrÚtls   &   r   Ú	_aix_vrtlr(   $   s5   € à�z‰z˜#‹˜rÕ"�H€Aˆ"Ü��"•‹Jœ˜A›¤ B£Ð(Ð(r   c                 ó6  €  ^ RI p V P                  . RO4      pVP	                  R4      pVP                  4       P                  R4      pVR,          R8w  d   \        VR,          4      MRp\        V^,          4      V3#   \         d    \        R4      p L~i ; i)	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
Nz/usr/bin/lslpp -Lqc bos.rtezutf-8Ú:Ú r   )z/usr/bin/lslppz-Lqczbos.rter!   )	Ú
subprocessÚcheck_outputÚImportErrorr   ÚdecodeÚstripr"   r#   Ústr)r,   Úoutr   s      r   Ú_aix_bos_rter3   *   s‰   € ð>ÛØ×%Ñ%Ò&KÓLˆð �*‰*�WÓ
€CØ
�)‰)‹+×
Ñ
˜CÓ
 €CØ˜b�' Rœ-Œ#ˆc�"�gŒ,¨T€CÜ��A•‹K˜ÐÐøô ô >ÜÐ<Ó=Šð>ús   ‚A? Á?BÂBc                 óD   € \        4       w  r\        \        V 4      V4      # )ap  
AIX filesets are identified by four decimal values: V.R.M.F.
V (version) and R (release) can be retrieved 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
)r3   r   r(   )r$   r   s     r   Úaix_platformr5   ?   s   € ô& ‹~�H€DÜ”I˜d“O RÓ(Ð(r   c                  ól   € \         P                  ! R 4      p V '       g   \        R4      h\        V R7      # )ÚBUILD_GNU_TYPEzBUILD_GNU_TYPE is not defined)r$   )Ú	sysconfigÚget_config_varÚ
ValueErrorr(   )Úgnu_types    r   Ú_aix_bgtr<   W   s-   € ä×'Ò'Ð(8Ó9€HßÜÐ8Ó9Ð9Ü˜(Ô#Ð#r   c                 ó¶   € \         P                  ! R4      p  \        V 4      p \        \        4       T 4      #   \        \        3 d    \        RT : 24      hi ; i)z<
Return the platform_tag of the system Python was built on.
ÚAIX_BUILDDATEz)AIX_BUILDDATE is not defined or invalid: )r8   r9   r#   r:   Ú	TypeErrorr   r<   )Ú
build_dates    r   Úaix_buildtagrA   _   sc   € ô ×)Ò)¨/Ó:€Jð,Ü˜“_ˆ
ô ”H“J 
Ó+Ð+øô œ	Ð"ô ,ÜÐDØ&™>ð+ó ,ð 	,ð,ús	   ˜7 ·!A)F)
Ú__doc__r   r8   r   r   r(   r3   r5   r<   rA   © r   r   Ú<module>rD      s2   ðÙ #ã 
Û ô9ò$Xò)òò*)ò0$ô,r   