관리-도구
편집 파일: help.cpython-37.pyc
B ��Re� � @ s� d Z ddlmZ ddlZddlZddlZddlZddlmZ ddlm Z ddlm Z ddlmZ ydd lmZ W n ek r� dZdZdZY nX ddlZddlZd d� Zdd � Zdd� Zedkr�e� dS )z'Module containing bug report helper(s).� )�print_functionN)�idna)�urllib3)�chardet� )�__version__)� pyopensslc C s� t �� } | dkrt �� }nj| dkr\dtjjtjjtjjf }tjjdkr�d� |tjjg�}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 2.7.5 it will return {'name': 'CPython', 'version': '2.7.5'}. 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%s.%s.%s�final� �Jython� IronPython�Unknown)�name�version) �platform�python_implementation�python_version�sys�pypy_version_info�major�minor�micro�releaselevel�join)�implementation�implementation_version� r ��/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/pip/_vendor/requests/help.py�_implementation s r c C s� yt �� t �� d�} W n tk r4 ddd�} Y nX t� }dtji}dtji}ddd�}trrtjdtj j d�}dttdd�i}dtt dd�i}tj }d|dk r�d| ndi}| ||tdk |||||dtid � S ) z&Generate information for a bug report.)�system�releaser r Nr )r �openssl_versionz%xr ) r r � system_sslZusing_pyopensslZ pyOpenSSLr r �cryptographyr �requests)r r! r"