관리-도구
편집 파일: __init__.cpython-36.opt-1.pyc
3 nf�\� � @ s4 d Z ddlmZ ddlZddlmZmZmZ ddlm Z ddl mZ ddlm Z mZmZ dd lmZ dd lmZ ddlmZ ddlmZ dd lmZ ddlZddlmZ dZdZdZd&Zej e!�j"e� � ej#fd d�Z$[ej%d!e j&d"d#� ej%d$e j'd"d#� ej%d$e j(d"d#� ej%d$e j)d"d#� e j*fd%d�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.24.2r r r r r r r �add_stderr_loggerr �disable_warningsr r r r c C sF t jt�}t j� }|jt jd�� |j|� |j| � |jdt� |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.6/__init__.pyr 4 s �alwaysT)�append�defaultc C s t jd| � dS )z< Helper for quickly disabling all urllib3 warnings. �ignoreN)�warnings�simplefilter)�categoryr r r r X s )r r r r r r r r r r r r r 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> sN