Ë
    äØjj'  ã                   óä   — d Z ddlZddlZddlZddlZddlmZ ddlmZ ddlm	Z
 dZ	 ddlmZ 	 ddlmZ ddlZddlZd	„ Zd
„ Zd„ Zedk(  r e«        yy# e$ r dZY Œ/w xY w# e$ r	 dZdZdZY Œ1w xY w)z'Module containing bug report helper(s).é    N)Úidna)Úurllib3é   )Ú__version__)Úchardet)Ú	pyopensslc                  ó&  — t        j                  «       } | dk(  rt        j                  «       }nß| dk(  r¤dj                  t        j
                  j                  t        j
                  j                  t        j
                  j                  «      }t        j
                  j                  dk7  rbdj                  |t        j
                  j                  g«      }n6| dk(  rt        j                  «       }n| dk(  rt        j                  «       }nd}| |d	œS )
aÙ  Return a dict with the Python implementation and version.

    Provide both the name and the version of the Python implementation
    currently running. For example, on CPython 3.10.3 it will return
    {'name': 'CPython', 'version': '3.10.3'}.

    This function works best on CPython and PyPy: in particular, it probably
    doesn't work for Jython or IronPython. Future investigation should be done
    to work out the correct shape of the code for those platforms.
    ÚCPythonÚPyPyz{}.{}.{}ÚfinalÚ ÚJythonÚ
IronPythonÚUnknown)ÚnameÚversion)ÚplatformÚpython_implementationÚpython_versionÚformatÚsysÚpypy_version_infoÚmajorÚminorÚmicroÚreleaselevelÚjoin)ÚimplementationÚimplementation_versions     ú[/opt/eval-harness/bench_task/venv/lib/python3.12/site-packages/pip/_vendor/requests/help.pyÚ_implementationr!      sê   € ô ×3Ñ3Ó5€Nà˜Ò"Ü!)×!8Ñ!8Ó!:ÑØ	˜6Ò	!Ø!+×!2Ñ!2Ü×!Ñ!×'Ñ'Ü×!Ñ!×'Ñ'Ü×!Ñ!×'Ñ'ó"
Ðô
 × Ñ ×-Ñ-°Ò8Ø%'§W¡WØ'¬×)>Ñ)>×)KÑ)KÐLó&Ñ"ð 
˜8Ò	#Ü!)×!8Ñ!8Ó!:ÑØ	˜<Ò	'Ü!)×!8Ñ!8Ó!:Ñà!*Ðà"Ð/EÑFÐFó    c                  óX  — 	 t        j                  «       t        j                  «       dœ} t	        «       }dt
        j                  i}ddi}ddi}t        rdt        j                  i}t        rdt        j                  i}dddœ}t        r-t        j                  t        j                  j                  d›dœ}dt        t        dd«      i}dt        t        dd«      i}t        j                  }d|�|d›ndi}	| ||	t         dut        du ||||||dt"        id	œS # t        $ r dddœ} Y Œýw xY w)
z&Generate information for a bug report.)ÚsystemÚreleaser   r   Nr   )r   Úopenssl_versionÚxr   )r   r   Ú
system_sslÚusing_pyopensslÚusing_charset_normalizerÚ	pyOpenSSLr   r   Úcharset_normalizerÚcryptographyr   Úrequests)r   r$   r%   ÚOSErrorr!   r   r   r,   r   ÚOpenSSLÚSSLÚOPENSSL_VERSION_NUMBERÚgetattrr-   r   Ússlr   Úrequests_version)
Úplatform_infoÚimplementation_infoÚurllib3_infoÚcharset_normalizer_infoÚchardet_infoÚpyopenssl_infoÚcryptography_infoÚ	idna_infor(   Úsystem_ssl_infos
             r    Úinfor?   B   sd  € ð	
ä—o‘oÓ'Ü×'Ñ'Ó)ñ
ˆô *Ó+ÐØœw×2Ñ2Ð3€LØ(¨$Ð/ÐØ˜tÐ$€LÝØ#,Ô.@×.LÑ.LÐ"MÐÝØ!¤7×#6Ñ#6Ð7ˆð Øñ€Nõ ä×*Ñ*Ü")§+¡+×"DÑ"DÀQÐ!Gñ
ˆð
 	”7œ<¨¸Ó;ðÐð 	”7œ4 °Ó3ð€Iô ×+Ñ+€JØ °zÐ7M Z°¡NÐSUÐV€Oð "Ø-Ø%Ü$¨DÐ0Ü$+¨t OØ#ØØØ5Ø)ØàÔ'ð
ñð øôE ò 
àØ ñ
Šð
ús   ‚)D ÄD)Ä(D)c                  óV   — t        t        j                  t        «       dd¬«      «       y)z)Pretty-print the bug information as JSON.Té   )Ú	sort_keysÚindentN)ÚprintÚjsonÚdumpsr?   © r"   r    ÚmainrH   }   s   € ä	Œ$�*‰*”T“V t°AÔ
6Õ7r"   Ú__main__)Ú__doc__rE   r   r4   r   Úpip._vendorr   r   r   r   r5   r,   r   ÚImportErrorÚpip._vendor.urllib3.contribr   r-   r0   r!   r?   rH   Ú__name__rG   r"   r    ú<module>rO      s—   ðÙ -ã Û Û 
Û 
å Ý å -àÐ ðÝ#ðÝ5ó Ûò GòF8òv8ð
 ˆzÒÙ…Fð øðc ò Ø‚Gðûð
 ò Ø€IØ€GØ‚Lðús"   ¨A ¯A! ÁAÁAÁ!A/Á.A/