U f# @ s d Z ddlZddlZddlZddlZddlZddlZddlmZ zddl Z W n ek rd dZ Y nX zddlZW n ek r dZY nX zddl mZ W n ek r dZdZdZY nX ddlZddlZdd Zdd Zd d Zedkre dS ) z'Module containing bug report helper(s). N )__version__) pyopensslc C s t } | dkrt }nj| dkr\dtjjtjjtjj}tjj dkrd |tjj g}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 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. CPythonPyPyz{}.{}.{}final Jython IronPythonUnknown)nameversion)platformpython_implementationpython_versionformatsyspypy_version_infomajorminormicroreleaseleveljoin)implementationimplementation_version r >/opt/alt/python38/lib/python3.8/site-packages/requests/help.py_implementation" s&