o
;j� � @ s� d Z ddlZddlZddlZddlZddlZddlZddlmZ zddl
Z
W n ey1 dZ
Y nw zddlZW n eyC dZY nw zddl
mZ W n ey[ dZdZdZY n w ddlZddlZdd� Zdd � Zd
d� Zedkrye� dS dS )
z'Module containing bug report helper(s).� N� )�__version__)� pyopensslc C s� t �� } | dkr
t �� }n8| dkr1tj}|j� d|j� d|j� �}tjjdkr0d� |tjjg�}n| dkr:t �� }n| dkrCt �� }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�PyPy�.�final� �Jython�
IronPython�Unknown)�name�version)
�platform�python_implementation�python_version�sysZpypy_version_info�major�minor�micro�releaselevel�join)�implementationZimplementation_versionZpypy� r �A/opt/saltstack/salt/lib/python3.10/site-packages/requests/help.py�_implementation"