ó `8(Zc@@s½ddlmZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd „ƒYZd efd „ƒYZd efd „ƒYZ defd„ƒYZ defd„ƒYZ e Z defd„ƒYZ defd„ƒYZdefd„ƒYZdefd„ƒYZdeefd„ƒYZdefd„ƒYZdeefd„ƒYZd efd!„ƒYZd"efd#„ƒYZd$eefd%„ƒYZd&efd'„ƒYZd(efd)„ƒYZd*efd+„ƒYZd,efd-„ƒYZd.efd/„ƒYZd0efd1„ƒYZd2efd3„ƒYZd4efd5„ƒYZd6efd7„ƒYZ d8e efd9„ƒYZ!d:e"efd;„ƒYZ#d<efd=„ƒYZ$d>S(?i(tabsolute_importt HTTPErrorcB@seZdZRS(s#Base exception used by this module.(t__name__t __module__t__doc__(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRst HTTPWarningcB@seZdZRS(s!Base warning used by this module.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR st PoolErrorcB@s eZdZd„Zd„ZRS(s/Base exception for errors caused within a pool.cC@s'||_tj|d||fƒdS(Ns%s: %s(tpoolRt__init__(tselfRtmessage((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRs cC@s |jdfS(N(NN(t __class__tNone(R ((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyt __reduce__s(RRRRR (((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRs t RequestErrorcB@s eZdZd„Zd„ZRS(s8Base exception for PoolErrors that have associated URLs.cC@s ||_tj|||ƒdS(N(turlRR(R RRR ((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRs cC@s|jd|jdffS(N(R R R(R ((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR s(RRRRR (((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRs tSSLErrorcB@seZdZRS(s9Raised when SSL certificate fails in an HTTPS connection.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR%st ProxyErrorcB@seZdZRS(s,Raised when the connection to a proxy fails.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR*st DecodeErrorcB@seZdZRS(s;Raised when automatic decoding based on Content-Type fails.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR/st ProtocolErrorcB@seZdZRS(s>Raised when something unexpected happens mid-request/response.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR4st MaxRetryErrorcB@seZdZdd„ZRS(s Raised when the maximum number of retries is exceeded. :param pool: The connection pool :type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool` :param string url: The requested Url :param exceptions.Exception reason: The underlying error cC@s3||_d||f}tj||||ƒdS(Ns0Max retries exceeded with url: %s (Caused by %r)(treasonRR(R RRRR ((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRIs  N(RRRR R(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR?stHostChangedErrorcB@seZdZdd„ZRS(s?Raised when an existing pool gets a request for a foreign host.icC@s-d|}tj||||ƒ||_dS(Ns)Tried to open a foreign host with url: %s(RRtretries(R RRRR ((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRUs (RRRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRRstTimeoutStateErrorcB@seZdZRS(s3 Raised when passing an invalid state to a timeout (RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR[st TimeoutErrorcB@seZdZRS(sĄ Raised when a socket timeout error occurs. Catching this error will catch both :exc:`ReadTimeoutErrors ` and :exc:`ConnectTimeoutErrors `. (RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR`stReadTimeoutErrorcB@seZdZRS(sFRaised when a socket timeout occurs while receiving data from a server(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRistConnectTimeoutErrorcB@seZdZRS(s@Raised when a socket timeout occurs while connecting to a server(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRpstNewConnectionErrorcB@seZdZRS(sHRaised when we fail to establish a new connection. Usually ECONNREFUSED.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRustEmptyPoolErrorcB@seZdZRS(sCRaised when a pool runs out of connections and no more are allowed.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRzstClosedPoolErrorcB@seZdZRS(sCRaised when a request enters a pool after the pool has been closed.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRstLocationValueErrorcB@seZdZRS(s<Raised when there is something wrong with a given URL input.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR„stLocationParseErrorcB@seZdZd„ZRS(s=Raised when get_host or similar fails to parse the URL input.cC@s'd|}tj||ƒ||_dS(NsFailed to parse: %s(RRtlocation(R R!R ((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRŒs (RRRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR ‰st ResponseErrorcB@seZdZdZdZRS(sDUsed as a container for an error reason supplied in a MaxRetryError.stoo many error responsess&too many {status_code} error responses(RRRt GENERIC_ERRORtSPECIFIC_ERROR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR"“stSecurityWarningcB@seZdZRS(s/Warned when perfoming security reducing actions(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR%™stSubjectAltNameWarningcB@seZdZRS(sBWarned when connecting to a host with a certificate missing a SAN.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR&žstInsecureRequestWarningcB@seZdZRS(s/Warned when making an unverified HTTPS request.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR'£stSystemTimeWarningcB@seZdZRS(s0Warned when system time is suspected to be wrong(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR(ØstInsecurePlatformWarningcB@seZdZRS(sEWarned when certain SSL configuration is not available on a platform.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR)­stSNIMissingWarningcB@seZdZRS(s9Warned when making a HTTPS request without SNI available.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR*²stDependencyWarningcB@seZdZRS(sc Warned when an attempt is made to import a module with missing optional dependencies. (RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR+·stResponseNotChunkedcB@seZdZRS(s;Response needs to be chunked in order to read it as chunks.(RRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR,æstProxySchemeUnknowncB@seZdZd„ZRS(s1ProxyManager does not support the supplied schemecC@s$d|}tt|ƒj|ƒdS(NsNot supported proxy scheme %s(tsuperR-R(R tschemeR ((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRČs (RRRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR-ÄstHeaderParsingErrorcB@seZdZd„ZRS(sNRaised by assert_header_parsing, but we convert it to a log.warning statement.cC@s0d|p d|f}tt|ƒj|ƒdS(Ns%s, unparsed data: %rtUnknown(R.R0R(R tdefectst unparsed_dataR ((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyRĻs(RRRR(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyR0ĶsN(%t __future__Rt ExceptionRtWarningRRRRRRRtConnectionErrorRRRRRRRRRt ValueErrorRR R"R%R&R'R(R)R*R+R,tAssertionErrorR-R0(((sM/tmp/pip-build-0nEYGB/pip/pip/_vendor/requests/packages/urllib3/exceptions.pyts>