/usr/local/lib/python3.6/site-packages/requests/__pycache__
Edit: /usr/local/lib/python3.6/site-packages/requests/__pycache__/help.cpython-36.pyc (2799B)
3
Eg @ 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 j } | dkrt j }nj| dkr\dtjjtjjtjjf }tjjdkrdj |tjjg}n(| dkrnt j }n| dkrt j }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.
CPythonPyPyz%s.%s.%sfinal Jython
IronPythonUnknown)nameversion)
platformpython_implementationpython_versionsyspypy_version_infomajorminormicroreleaseleveljoin)implementationimplementation_version r 7/usr/local/lib/python3.6/site-packages/requests/help.py_implementation# s
r c
C s yt j t j 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 openssl_versionz%xr )r r
system_sslZusing_pyopensslZusing_charset_normalizerZ pyOpenSSLurllib3chardetcharset_normalizercryptographyidnarequests)r r r IOErrorr r" r r$ r# OpenSSLZSSLOPENSSL_VERSION_NUMBERgetattrr% r&