Your IP : 216.73.216.52


Current Path : /snap/certbot/current/lib64/python3.12/site-packages/requests/__pycache__/
Upload File :
Current File : //snap/certbot/current/lib64/python3.12/site-packages/requests/__pycache__/help.cpython-312.pyc

�

uI�i����dZddlZddlZddlZddlZddlZddlZddlmZ		ddl
Z
	ddlZ	ddl
mZddlZddlZd�Zd�Zd�Zed	k(re�yy#e$rdZ
Y�4wxYw#e$rdZY�<wxYw#e$r	dZdZdZY�>wxYw)
z'Module containing bug report helper(s).�N�)�__version__)�	pyopensslc���tj�}|dk(rtj�}n�|dk(r�tj}|j
�d|j�d|j��}tjjdk7rbdj|tjjg�}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�PyPy�.�final��Jython�
IronPython�Unknown)�name�version)
�platform�python_implementation�python_version�sys�pypy_version_info�major�minor�micro�releaselevel�join)�implementation�implementation_version�pypys   �}/build/snapcraft-certbot-53a6961353a63169611ae8a78f6bfa4f/parts/certbot/install/lib/python3.12/site-packages/requests/help.py�_implementationr"s����3�3�5�N���"�!)�!8�!8�!:��	�6�	!��$�$��$(�J�J�<�q�����A�d�j�j�\�!J��� � �-�-��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�	pyOpenSSL�urllib3�chardet�charset_normalizer�cryptography�idna�requests)rr"r#�OSErrorrr*rr,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�mainrI}s��	�$�*�*�T�V�t�A�
6�7r �__main__)�__doc__rFrr5rr.r*rrr6r,�ImportErrorr+�urllib3.contribrr-r1rr@rI�__name__rHr r�<module>rOs���-���
�
���-������)���G�@8�v8�
�z���F���g������
���G���
���I��G��L��s3�A�A�A+�A�A�A(�'A(�+A9�8A9