관리-도구
편집 파일: inject_securetransport.cpython-38.pyc
U ʗRe � @ s$ d Z ddlZdd�dd�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. � N)�returnc C sx t jdkrd S zdd l} W n tk r0 Y d S X | jdkr@d S zddlm} W n ttfk rj Y d S X |�� 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-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/utils/inject_securetransport.py�inject_securetransport s r )�__doc__r r r r r r �<module> s