
     f'                         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 n# e$ r dZY nw xY w	 ddlmZ ddlZddlZn# e$ r	 dZdZdZY nw xY wd	 Zd
 Zd Zedk    r e             dS dS )z'Module containing bug report helper(s).    N)idna)urllib3   )__version__)chardet)	pyopensslc                     t          j                    } | dk    rt          j                    }n| dk    rd                    t          j        j        t          j        j        t          j        j                  }t          j        j	        dk    r&d
                    |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     \/var/www/api.educacionweb.es/myenv/lib/python3.11/site-packages/pip/_vendor/requests/help.py_implementationr!      s     355N""!)!8!:!:	6	!	!!+!2!2!'!'!'"
 "

  -88%'WW')>)KL& &" 
8	#	#!)!8!:!:	<	'	'!)!8!:!:!*"/EFFF    c                  F   	 t          j                    t          j                    d} n# t          $ r ddd} Y nw xY w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 )
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   s   	
o'''))
 
  
 
 
 
 

 *++w23L($/t$L N#,.@.L"M 8!7#67  N  
*")+"DHH
 

 	7<;; 	7433I +J z7MZ"3"3"3SUVO "-%$D0$+tO#5)'
  s   '* <<c                  f    t          t          j        t                      dd                     dS )z)Pretty-print the bug information as JSON.T   )	sort_keysindentN)printjsondumpsr?    r"   r    mainrH   }   s+    	$*TVVtA
6
6
67777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_   - -   



 



             - - - - - - #######   GGG555555 NNNN    IGLLL G  G  GF8 8 8v8 8 8
 zDFFFFF s   / 99A AA