← Back
Editing: help.cpython-312.pyc
� ]*jr � � � d Z ddlZddlZddlZddlZddlmZ ddlZddlZddl m Z ddlZ ddlZ ddlmZ ddlZddlZd� Zdeeef fd �Zd � Zedk( r e� yy# e $ r dZY �<w xY w# e $ r dZY �Dw xY w# e $ r dZdZdZY �Fw xY w)z'Module containing bug report helper(s).� N)�Any� )�__version__)� pyopensslc �� � t j � } | dk( rt j � }n�| dk( r�t j }|j � d|j � d|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�PyPy�.�final� �Jython� IronPython�Unknown)�name�version) �platform�python_implementation�python_version�sys�pypy_version_info�major�minor�micro�releaselevel�join)�implementation�implementation_version�pypys �</opt/hc_python/lib/python3.12/site-packages/requests/help.py�_implementationr % s� � � �3�3�5�N���"�!)�!8�!8�!:�� �6� !��$�$��$(�J�J�<�q�����A�d�j�j�\�!J��� � �-�-��8�%'�W�W�'��)>�)>�)K�)K�L�&�"� �8� #�!)�!8�!8�!:�� �<� '�!)�!8�!8�!:��!*��"�/E�F�F� �returnc �X � 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 dut du ||||||dt"