Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/cppython/lib/python3.8/site-packages/requests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/cppython/lib/python3.8/site-packages/requests/__pycache__/help.cpython-38.pyc
U

O��g#�@s�dZddlZddlZddlZddlZddlZddlZddlmZ	zddl
Z
Wnek
rddZ
YnXzddlZWnek
r�dZYnXzddl
mZWn ek
r�dZdZdZYnXddlZddlZdd�Zdd	�Zd
d�Zedkr�e�dS)
z'Module containing bug report helper(s).�N�)�__version__)�	pyopensslcCs�t��}|dkrt��}nj|dkr\d�tjjtjjtjj�}tjj	dkr�d�
|tjj	g�}n(|dkrnt��}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 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_version�r�:/opt/cppython/lib/python3.8/site-packages/requests/help.py�_implementation"s&
�
�

rc

Cs�zt��t��d�}Wntk
r4ddd�}YnXt�}dtji}ddi}ddi}trddtji}trrdtji}ddd�}t	r�t	jt	j
jd�d�}dtt
dd�i}dttdd�i}tj}d|dk	r�|d�ndi}	|||	tdk	tdk||||||dtid	�S)
z&Generate information for a bug report.)�system�releaserr
Nr)r
�openssl_version�xr)rr�
system_sslZusing_pyopensslZusing_charset_normalizerZ	pyOpenSSL�urllib3�chardet�charset_normalizer�cryptography�idna�requests)rrr�OSErrorrr#rr%r$�OpenSSLZSSL�OPENSSL_VERSION_NUMBER�getattrr&r'�sslr�requests_version)
Z
platform_infoZimplementation_infoZurllib3_infoZcharset_normalizer_infoZchardet_infoZpyopenssl_infoZcryptography_infoZ	idna_infor"Zsystem_ssl_inforrr�infoEs\�
�


�
�
�
���r/cCsttjt�ddd��dS)z)Pretty-print the bug information as JSON.T�)�	sort_keys�indentN)�print�json�dumpsr/rrrr�main�sr6�__main__)�__doc__r4rr-rr'r#rrr.r%�ImportErrorr$Zurllib3.contribrr*r&rr/r6�__name__rrrr�<module>s8


#;

F1le Man4ger