Re  dZddlmZddlZddlZddlmZddlmZddlm Z ddl m Z m Z m Z dd lmZdd lmZmZmZdd lmZdd lmZdd lmZddlmZddlmZdZdZe Z dZ ej!e"#eej$fdZ%[ej&dej'dej&dej(dej&dej)dej&dej*dej+fdZ,dS)ze Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more )absolute_importN) NullHandler) exceptions) __version__)HTTPConnectionPoolHTTPSConnectionPoolconnection_from_url)encode_multipart_formdata) PoolManager ProxyManagerproxy_from_url) HTTPResponse) make_headers)Retry)Timeout)get_hostz(Andrey Petrov (andrey.petrov@shazow.net)MIT)rr r r rrradd_stderr_loggerr disable_warningsr rrrc6tjt}tj}|tjd|||||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 addHandlersetLeveldebug)levelloggerhandlers /builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/urllib3/__init__.pyrr.s x ( (F#%%G *+RSSTTT g OOE LL?JJJ NalwaysT)appenddefaultc0tjd|dS)z< Helper for quickly disabling all urllib3 warnings. ignoreN)warnings simplefilter)categorys r$rrQs (H-----r%)-__doc__ __future__rrr+rr_versionrconnectionpoolrr r filepostr poolmanagerr r rresponser util.requestr util.retryr util.timeoutrutil.urlr __author__ __license____all__rrrDEBUGrr,SecurityWarningSubjectAltNameWarningInsecurePlatformWarningSNIMissingWarning HTTPWarningrr%r$rDs'&&&&&!!!!!!XXXXXXXXXX//////BBBBBBBBBB""""""&&&&&&!!!!!! 7    "(&&{{}}555$M&h :4HHHHi!A$OOOOi!CDQQQQi!=dKKKK)4......r%