Current File : //usr/lib/python3/dist-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc
�

/�g'����dZddlZddlZddlZddlZddlmZddlmZddlm	Z
dZ	ddlmZ	ddlmZddlZddlZd	�Zd
�Zd�Zedk(re�yy#e
$rdZY�/wxYw#e
$r	dZdZdZY�1wxYw)
z'Module containing bug report helper(s).�N)�idna)�urllib3�)�__version__)�chardet)�	pyopensslc�&�tj�}|dk(rtj�}n�|dk(r�djtj
jtj
jtj
j�}tj
jdk7rbdj|tj
jg�}n6|dk(rtj�}n|dk(rtj�}nd}||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  �;/usr/lib/python3/dist-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�	tj�tj�d�}t	�}dt
ji}ddi}ddi}trdtji}trdtji}ddd�}tr-tjtjjd�d�}dttdd�i}dttdd�i}tj}d|�|d�ndi}	|||	t dutdu||||||dt"id	�S#t$rddd�}Y��wxYw)
z&Generate information for a bug report.)�system�releaserrNr
)r�openssl_version�xr)rr�
system_ssl�using_pyopenssl�using_charset_normalizer�	pyOpenSSLrr�charset_normalizer�cryptographyr�requests)rr$r%�OSErrorr!rrr,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?Bsd��	
��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�ttjt�dd���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__rErr4r�pip._vendorrrr
rr5r,r�ImportError�pip._vendor.urllib3.contribrr-r0r!r?rH�__name__rGr"r �<module>rOs���-���
�
���-����#��5��� G�F8�v8�
�z���F���c���G���
���I��G��L��s"�A�A!�A�A�!A/�.A/