U ʗRe' @ s d Z ddlZddlZddlZddlZddlmZ ddlmZ ddlm Z dZzddlmZ W n e k rt dZY nX zddlmZ W n e k r dZdZdZY nX ddlZddlZd d Zdd Zd d Zedkre dS )z'Module containing bug report helper(s). N)idna)urllib3 )__version__)chardet) 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 /builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_vendor/requests/help.py_implementation s&