관리-도구
편집 파일: inject_securetransport.cpython-36.pyc
3 �Re* � @ s d Z ddlZdd� Ze� dS )a- A helper module that injects SecureTransport, on import. The import should be done as early as possible, to ensure all requests and sessions (or whatever) are created after injecting SecureTransport. Note that we only do the injection on macOS, when the linked OpenSSL is too old to handle TLSv1.2. � Nc C st t jdkrd S ydd l} W n tk r. d S X | jdkr>d S yddlm} W n ttfk rf d S X |j� d S )N�darwinr i )�securetransport) �sys�platform�ssl�ImportError�OPENSSL_VERSION_NUMBER�pip._vendor.urllib3.contribr �OSError�inject_into_urllib3)r r � r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/utils/inject_securetransport.py�inject_securetransport s r )�__doc__r r r r r r �<module> s