HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/pip/_vendor/requests/__pycache__/help.cpython-310.pyc
o

@%Ne��@s�dZddlmZddlZddlZddlZddlZddlmZddlm	Z	ddl
mZdZ
zddlmZWney?dZYnwzdd	lmZWneyWdZdZdZYn	wddlZddlZd
d�Zdd
�Zdd�Zedkrue�dSdS)z'Module containing bug report helper(s).�)�print_functionN)�idna)�urllib3�)�__version__)�chardet)�	pyopensslcCs�t��}|dkr
t��}n5|dkr.dtjjtjjtjjf}tjjdkr-d�	|tjjg�}n|dkr7t��}n|dkr@t��}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 2.7.5 it will return
    {'name': 'CPython', 'version': '2.7.5'}.

    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%s.%s.%s�final��Jython�
IronPython�Unknown)�name�version)
�platform�python_implementation�python_version�sys�pypy_version_info�major�minor�micro�releaselevel�join)�implementation�implementation_version�r�;/usr/lib/python3/dist-packages/pip/_vendor/requests/help.py�_implementation s&
���


r c

Cs�zt��t��d�}Wntyddd�}Ynwt�}dtji}ddi}ddi}tr1dtji}tr8dtji}ddd�}t	rIt	jdt	j
jd�}dtt
dd�i}dttdd�i}tj}d|dured|ndi}	|||	tdutdu||||||dtid	�S)
z&Generate information for a bug report.)�system�releaserrNr)r�openssl_versionz%xr)rr�
system_ssl�using_pyopenssl�using_charset_normalizer�	pyOpenSSLrr�charset_normalizer�cryptographyr�requests)rr!r"�IOErrorr 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_inforrr�infoAsZ
�
��


�
������r;cCsttjt�ddd��dS)z)Pretty-print the bug information as JSON.T�)�	sort_keys�indentN)�print�json�dumpsr;rrrr�main~srB�__main__)�__doc__�
__future__rr@rrr0�pip._vendorrrrrr1r(r�ImportError�pip._vendor.urllib3.contribrr,r)r r;rB�__name__rrrr�<module>s<��!=
�