XylotrechusZ
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� Zedkr�e� dS )z'Module containing bug report helper(s).� N)�idna)�urllib3� )�__version__)�chardet)� pyopensslc C s� t �� } | dkrt �� }nj| dkr\d�tjjtjjtjj�}tjj dkr�d�
|tjj g�}n(| dkrnt �� }n| dkr�t �� }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.
�CPython�PyPyz{}.{}.{}�final� �Jython�
IronPython�Unknown)�name�version)�platform�python_implementation�python_version�format�sys�pypy_version_info�major�minor�micro�releaselevel�join)�implementation�implementation_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&