�
�D�d� � �� � d Z ddlZddlZddlZddlZddlZddlZddlmZ dZ
ddlZ ddl
mZ ddlZddlZd� Zd� Zd� Zed k( r e� yy# e$ r dZY �/w xY w# e$ r dZdZdZY �1w xY w)
z'Module containing bug report helper(s).� N� )�__version__)� pyopensslc �& � t j � } | dk( rt j � }n�| dk( r�dj t j
j t j
j t j
j � }t j
j dk7 rbdj |t j
j g� }n6| dk( rt j � }n| dk( rt 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 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_versions �//usr/lib/python3/dist-packages/requests/help.py�_implementationr s� � � �3�3�5�N���"�!)�!8�!8�!:�� �6� !�!+�!2�!2��!�!�'�'��!�!�'�'��!�!�'�'�"
��
� � �-�-��8�%'�W�W�'��)>�)>�)K�)K�L�&�"�
�8� #�!)�!8�!8�!:�� �<� '�!)�!8�!8�!:��!*��"�/E�F�F� c
�L � t j � t j � d�} t � }dt
j i}ddi}ddi}t rdt j i}t rdt j i}ddd�}t r-t j t j j d�d�}dt t dd� i}dt t dd� i}t j }d|�|d�ndi} | || t dud ||||||dt" |