/opt/alt/python37/lib/python3.7/site-packages/requests/__pycache__
Edit: /opt/alt/python37/lib/python3.7/site-packages/requests/__pycache__/help.cpython-37.pyc (2810B)
B
ֈ` @ s d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl m
Z yddlZW n e
k
rp dZY nX yddlZW n e
k
r dZY nX yddlmZ W n e
k
r dZdZdZY nX ddlZddlZdd Zd d
Zdd Zed
kre dS )z'Module containing bug report helper(s). )print_functionN )__version__) pyopensslc C s t } | dkrt }nj| dkr\dtjjtjjtjjf }tjjdkrd |tjjg}n(| dkrnt }n| dkrt }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.
ZCPythonZPyPyz%s.%s.%sfinal ZJythonZ
IronPythonUnknown)nameversion)
platformZpython_implementationZpython_versionsysZpypy_version_infomajorminormicroreleaseleveljoin)implementationZimplementation_version r >/opt/alt/python37/lib/python3.7/site-packages/requests/help.py_implementation# s
r c
C s yt t d} W n tk
r4 ddd} Y nX t }dtji}ddi}ddi}trddtji}trrdtji}ddd}t rt jdt j
j d}dtt
ddi}dttddi}tj}d|dk rd| ndi} | || tdk tdk||||||dtid S )
z&Generate information for a bug report.)systemreleaser r
Nr )r
Zopenssl_versionz%xr )r r
system_sslZusing_pyopensslZusing_charset_normalizerZ pyOpenSSLurllib3chardetcharset_normalizercryptographyidnaZrequests)r r r IOErrorr r r r r OpenSSLZSSLZOPENSSL_VERSION_NUMBERgetattrr r sslr requests_version)
Z
platform_infoZimplementation_infoZurllib3_infoZcharset_normalizer_infoZchardet_infoZpyopenssl_infoZcryptography_infoZ idna_infor Zsystem_ssl_infor r r infoD sF
r# c C s t tjt ddd dS )z)Pretty-print the bug information as JSON.T )Z sort_keysindentN)printjsondumpsr# r r r r main s r) __main__)__doc__Z
__future__r r' r r r! r r r r r" r ImportErrorr Zurllib3.contribr r r r r# r) __name__r r r r
s:
!=