관리-도구
편집 파일: __init__.cpython-37.pyc
B ��Re{ � @ 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)�MITz1.25.9)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__� StreamHandler�setFormatter� Formatter� addHandler�setLevel�debug)�level�logger�handler� r! ��/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el8.x86_64/opt/alt/python37/lib/python3.7/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"