HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: sport3497 (1034)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/pip/_vendor/requests/__pycache__/help.cpython-310.pyc
o

��h��@s�dZddlZddlZddlZddlZddlmZddlmZddlm	Z
dZdZzddl
mZWney?dZdZdZYn	wddlZddlZdd	�Zd
d�Zdd
�Zedkr]e�dSdS)z'Module containing bug report helper(s).�N)�idna)�urllib3�)�__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�D/usr/local/lib/python3.10/dist-packages/pip/_vendor/requests/help.py�_implementations(
�
��


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�releaser
rNr
)r�openssl_version�xr)rr�
system_ssl�using_pyopenssl�using_charset_normalizer�	pyOpenSSLr�chardet�charset_normalizer�cryptographyr�requests)rr r!�OSErrorrrrr)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�info>sX
�
��


�
�����r<cCsttjt�ddd��dS)z)Pretty-print the bug information as JSON.T�)�	sort_keys�indentN)�print�json�dumpsr<rrrr�mainysrC�__main__)�__doc__rArr1r�pip._vendorrrr
rr2r)r(�pip._vendor.urllib3.contribr�ImportErrorr-r*rr<rC�__name__rrrr�<module>s2�#;
�