HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //opt/osm/venv/lib64/python3.10/site-packages/requests/__pycache__/help.cpython-310.pyc
o

>i#�@s�dZddlZddlZddlZddlZddlZddlZddlmZ	zddl
Z
Wney1dZ
YnwzddlZWneyCdZYnwzddl
mZWney[dZdZdZYn	wddlZddlZdd�Zdd	�Zd
d�Zedkrye�dSdS)
z'Module containing bug report helper(s).�N�)�__version__)�	pyopensslcCs�t��}|dkr
t��}n5|dkr.d�tjjtjjtjj�}tjj	dkr-d�
|tjj	g�}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 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/osm/venv/lib/python3.10/site-packages/requests/help.py�_implementation"s(
�
��


rc

Cs�zt��t��d�}Wntyddd�}Ynwt�}dtji}ddi}ddi}tr1dtji}tr8dtji}ddd�}t	rIt	jt	j
jd�d�}dtt
dd�i}dttdd�i}tj}d|dure|d�ndi}	|||	tdutdu||||||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�infoEsX
�
��


�
�����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>sB���#;
�