Your IP : 3.144.255.198


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/help.pyc

�
�Rec@s
dZddlmZddlZddlZddlZddlZddlmZddlm	Z	ddlm
Z
ddlmZ
ydd	lmZWn#ek
r�dZdZdZnXddlZddlZd
�Zd�Zd�Zed
kr	e�ndS(s'Module containing bug report helper(s).i����(tprint_functionN(tidna(turllib3(tchardeti(t__version__(t	pyopensslcCs�tj�}|dkr'tj�}n�|dkr�dtjjtjjtjjf}tjjdkr�dj	|tjjg�}q�n<|dkr�tj�}n!|dkr�tj�}nd}i|d	6|d
6S(s�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.
    tCPythontPyPys%s.%s.%stfinalttJythont
IronPythontUnknowntnametversion(
tplatformtpython_implementationtpython_versiontsystpypy_version_infotmajortminortmicrotreleaseleveltjoin(timplementationtimplementation_version((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/help.pyt_implementations 	c	Cshy$itj�d6tj�d6}Wn%tk
rKidd6dd6}nXt�}itjd6}itjd6}idd6dd6}t	r�it	jd6dt	j
jd6}nitt
dd�d6}ittdd�d6}tj}i|dk	rd|ndd6}i
|d	6|d
6|d6tdk	d6|d
6|d6|d6|d6|d6itd6d6S(s&Generate information for a bug report.tsystemtreleaseRRR	topenssl_versions%xRRRt
system_ssltusing_pyopensslt	pyOpenSSLRRtcryptographyRtrequestsN(RRRtIOErrorRRRRtNonetOpenSSLtSSLtOPENSSL_VERSION_NUMBERtgetattrR"RtsslRtrequests_version(	t
platform_infotimplementation_infoturllib3_infotchardet_infotpyopenssl_infotcryptography_infot	idna_infoRtsystem_ssl_info((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/help.pytinfo;sJ

	

	 
cCs&ttjt�dtdd��dS(s)Pretty-print the bug information as JSON.t	sort_keystindentiN(tprinttjsontdumpsR4tTrue(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/help.pytmainqst__main__(t__doc__t
__future__RR8RRR*tpip._vendorRRRR	RR+tpip._vendor.urllib3.contribRtImportErrorR%R&R"RR4R;t__name__(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/help.pyt<module>s,

	!	6	

?>