‹“Re{ ã@s¦dZddlmZddlZddlmZmZmZddlm Z ddl m Z ddl m Z mZmZdd lmZdd lmZdd lmZdd lmZdd lmZddlZddlmZdZdZdZd&Zej e!ƒj"eƒƒej#d 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*d%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)ÚMITz1.25.9rrr r r rrÚadd_stderr_loggerrÚdisable_warningsrrr r cCs_tjtƒ}tjƒ}|jtjdƒƒ|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__Ú StreamHandlerÚ setFormatterÚ FormatterÚ addHandlerÚsetLevelÚdebug)ÚlevelÚloggerÚhandler©r!ú‹/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/urllib3/__init__.pyr/s    ÚalwaysÚappendTÚdefaultcCstjd|ƒdS)z< Helper for quickly disabling all urllib3 warnings. ÚignoreN)ÚwarningsÚ simplefilter)Úcategoryr!r!r"rRs)rrr r r rrrrrrrr r ),Ú__doc__Ú __future__rr'ÚconnectionpoolrrrÚrÚfilepostrÚ poolmanagerr r r Úresponser Z util.requestr Zutil.urlrZ util.timeoutrZ util.retryrrrÚ __author__Ú __license__Ú __version__Ú__all__rrrÚDEBUGrr(ÚSecurityWarningÚSubjectAltNameWarningÚInsecurePlatformWarningÚSNIMissingWarningÚ HTTPWarningrr!r!r!r"ÚsL