3
V'íc ã @ 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.
ÚCPythonÚPyPyz%s.%s.%sÚfinalÚ ÚJythonÚ
IronPythonÚUnknown)ÚnameÚversion)
ÚplatformÚpython_implementationÚpython_versionÚsysÚpypy_version_infoÚmajorÚminorÚmicroÚreleaselevelÚjoin)ÚimplementationÚimplementation_version© r ú1/tmp/pip-build-gk9425m9/requests/requests/help.pyÚ_implementation# s
r c