+
    i                    R    ^ RI Ht ^ RIt^ RItR R ltR R ltR R ltR	 R
 ltR# )    )annotationsNc                   V ^8  d   QhRR/#    returnz
str | None )formats   "_/Users/ahmad/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_internal/utils/glibc.py__annotate__r      s     K Kj K    c                 :    \        4       ;'       g    \        4       # )z9Returns glibc version string, or None if not using glibc.)glibc_version_string_confstrglibc_version_string_ctypesr   r   r
   glibc_version_stringr      s    ')JJ-H-JJr   c                   V ^8  d   QhRR/# r   r   )r	   s   "r
   r   r      s      j r   c                     \         P                  R8X  d   R#  \        P                  ! R4      p V f   R# V P	                  4       w  rV#   \
        \        \        3 d     R# i ; i)z@Primary implementation of glibc_version_string using os.confstr.win32NCS_GNU_LIBC_VERSION)sysplatformosconfstrsplitAttributeErrorOSError
ValueError)gnu_libc_version_versions      r
   r   r      sc     ||w::&;<#%++-
 N GZ0 s   A	 A	 	A#"A#c                   V ^8  d   QhRR/# r   r   )r	   s   "r
   r   r       s     ( (Z (r   c                 8    ^ RI p  T P                  R4      p TP                  pT P                  Tn        T! 4       p\        T\        4      '       g   TP                  R4      pT#   \         d     R# i ; i  \         d     R# i ; i  \
         d     R# i ; i)z=Fallback implementation of glibc_version_string using ctypes.Nascii)ctypesImportErrorCDLLr   gnu_get_libc_versionr   c_char_prestype
isinstancestrdecode)r#   process_namespacer&   version_strs       r
   r   r       s    ""KK-0EE $*?? +-Kk3''!((1G  $  
   s3   A& A8 B
 &A54A58BB
BBc                   V ^8  d   QhRR/# )r   r   ztuple[str, str]r   )r	   s   "r
   r   r   \   s     
( 
(/ 
(r   c                 *    \        4       p V f   R# RV 3# )zTry to determine the glibc version

Returns a tuple of strings (lib, version) which default to empty strings
in case the lookup fails.
glibc) r1   )r   )glibc_versions    r
   libc_verr3   \   s"     )*M''r   )
__future__r   r   r   r   r   r   r3   r   r   r
   <module>r5      s$    " 	 
K
((x
(r   