관리-도구
편집 파일: __init__.cpython-38.pyc
U ��.e{ � @ s4 d Z ddlmZ ddlZddlmZmZmZ ddlm Z ddl mZ ddlm Z mZmZ dd lmZ dd lmZ ddlmZ ddlmZ dd lmZ ddlZddlmZ dZdZdZdZe� e!��"e� � ej#fdd�Z$[ej%de j&dd� ej%de j'dd� ej%de j(dd� ej%de j)dd� e j*fdd�Z+dS )z8 urllib3 - Thread-safe connection pooling and re-using. � )�absolute_importN� )�HTTPConnectionPool�HTTPSConnectionPool�connection_from_url)� exceptions)�encode_multipart_formdata)�PoolManager�ProxyManager�proxy_from_url)�HTTPResponse)�make_headers)�get_host)�Timeout)�Retry)�NullHandlerz(Andrey Petrov (andrey.petrov@shazow.net)ZMITz1.25.6)r r r r r r r �add_stderr_loggerr �disable_warningsr r r r c C sF t �t�}t �� }|�t �d�� |�|� |�| � |�dt� |S )z� Helper for quickly adding a StreamHandler to the logger. Useful for debugging. Returns the handler after adding it. z%%(asctime)s %(levelname)s %(message)sz,Added a stderr logging handler to logger: %s) �logging� getLogger�__name__Z StreamHandlerZsetFormatterZ Formatter� addHandlerZsetLevel�debug)�levelZloggerZhandler� r �@/usr/lib/python3.8/site-packages/pip/_vendor/urllib3/__init__.pyr / s r �alwaysT)�append�defaultc C s t �d| � dS )z< Helper for quickly disabling all urllib3 warnings. �ignoreN)�warnings�simplefilter)�categoryr r r r R s r ),�__doc__Z __future__r r Zconnectionpoolr r r � r Zfilepostr Zpoolmanagerr r r Zresponser Zutil.requestr Zutil.urlr Zutil.timeoutr Z util.retryr r r � __author__Z__license__�__version__�__all__r r r �DEBUGr r! ZSecurityWarningZSubjectAltNameWarningZInsecurePlatformWarningZSNIMissingWarningZHTTPWarningr r r r r �<module> s2