Your IP : 3.145.168.68


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyc

�
�Rec@@s>ddlmZddlmZdefd��YZdefd��YZdefd	��YZ	d
e	fd��YZ
defd
��YZdefd��YZdefd��YZ
defd��YZeZde
fd��YZde
fd��YZdefd��YZdefd��YZdee
fd��YZdefd��YZd ee	fd!��YZd"e	fd#��YZd$e	fd%��YZd&eefd'��YZd(efd)��YZd*efd+��YZd,efd-��YZd.efd/��YZd0efd1��YZd2efd3��YZ d4efd5��YZ!d6efd7��YZ"d8efd9��YZ#d:efd;��YZ$d<eefd=��YZ%d>efd?��YZ&d@eefdA��YZdBefdC��YZ'dDe(efdE��YZ)dFefdG��YZ*dHefdI��YZ+dJS(Ki(tabsolute_importi(tIncompleteReadt	HTTPErrorcB@seZdZRS(s#Base exception used by this module.(t__name__t
__module__t__doc__(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyRstHTTPWarningcB@seZdZRS(s!Base warning used by this module.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR	s	cC@s
|jdfS(N(NN(t	__class__tNone(R
((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyt
__reduce__s(RRRR	R(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR	 s	cC@s|jd|jdffS(N(RR
R(R
((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR$s(RRRR	R(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyRs	tSSLErrorcB@seZdZRS(s9Raised when SSL certificate fails in an HTTPS connection.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR)st
ProxyErrorcB@seZdZd�ZRS(s,Raised when the connection to a proxy fails.cG@s)tt|�j|||�||_dS(N(tsuperRR	toriginal_error(R
Rterrortargs((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR	1s(RRRR	(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR.stDecodeErrorcB@seZdZRS(s;Raised when automatic decoding based on Content-Type fails.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR6st
ProtocolErrorcB@seZdZRS(s>Raised when something unexpected happens mid-request/response.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR;st
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((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR	Qs	N(RRRR
R	(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyRGstHostChangedErrorcB@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(RR	tretries(R
RRRR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR	\s
(RRRR	(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyRYstTimeoutStateErrorcB@seZdZRS(s3 Raised when passing an invalid state to a timeout (RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyRbstTimeoutErrorcB@seZdZRS(s� Raised when a socket timeout error occurs.

    Catching this error will catch both :exc:`ReadTimeoutErrors
    <ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
    (RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyRhstReadTimeoutErrorcB@seZdZRS(sFRaised when a socket timeout occurs while receiving data from a server(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyRrstConnectTimeoutErrorcB@seZdZRS(s@Raised when a socket timeout occurs while connecting to a server(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR ystNewConnectionErrorcB@seZdZRS(sHRaised when we fail to establish a new connection. Usually ECONNREFUSED.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR!~stEmptyPoolErrorcB@seZdZRS(sCRaised when a pool runs out of connections and no more are allowed.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR"�stClosedPoolErrorcB@seZdZRS(sCRaised when a request enters a pool after the pool has been closed.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR#�stLocationValueErrorcB@seZdZRS(s<Raised when there is something wrong with a given URL input.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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(RR	tlocation(R
R&R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR	�s
(RRRR	(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR'�stSecurityWarningcB@seZdZRS(s0Warned when performing security reducing actions(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR*�stSubjectAltNameWarningcB@seZdZRS(sBWarned when connecting to a host with a certificate missing a SAN.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR+�stInsecureRequestWarningcB@seZdZRS(s/Warned when making an unverified HTTPS request.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR,�stSystemTimeWarningcB@seZdZRS(s0Warned when system time is suspected to be wrong(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR-�stInsecurePlatformWarningcB@seZdZRS(sEWarned when certain SSL configuration is not available on a platform.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR.�stSNIMissingWarningcB@seZdZRS(s9Warned when making a HTTPS request without SNI available.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR/�stDependencyWarningcB@seZdZRS(sc
    Warned when an attempt is made to import a module with missing optional
    dependencies.
    (RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR0�st InvalidProxyConfigurationWarningcB@seZdZRS(s^
    Warned when using an HTTPS proxy and an HTTPS URL. Currently
    urllib3 doesn't support HTTPS proxies and the proxy will be
    contacted via HTTP instead. This warning can be fixed by
    changing your HTTPS proxy URL into an HTTP proxy URL.

    If you encounter this warning read this:
    https://github.com/urllib3/urllib3/issues/1850
    (RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR1�s	tResponseNotChunkedcB@seZdZRS(s;Response needs to be chunked in order to read it as chunks.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR2�stBodyNotHttplibCompatiblecB@seZdZRS(sz
    Body should be httplib.HTTPResponse like (have an fp attribute which
    returns raw chunks) for read_chunked().
    (RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR3�sRcB@s eZdZd�Zd�ZRS(s�
    Response length doesn't match expected Content-Length

    Subclass of http_client.IncompleteRead to allow int value
    for `partial` to avoid creating large objects on streamed
    reads.
    cC@stt|�j||�dS(N(RRR	(R
tpartialtexpected((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR	�scC@sd|j|jfS(Ns/IncompleteRead(%i bytes read, %i more expected)(R4R5(R
((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyt__repr__�s(RRRR	R6(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR�s	t
InvalidHeadercB@seZdZRS(s(The header provided was somehow invalid.(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR7�stProxySchemeUnknowncB@seZdZd�ZRS(s1ProxyManager does not support the supplied schemecC@s$d|}tt|�j|�dS(NsNot supported proxy scheme %s(RR8R	(R
tschemeR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR	s
(RRRR	(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR8�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(RR:R	(R
tdefectst
unparsed_dataR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR		s(RRRR	(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR:stUnrewindableBodyErrorcB@seZdZRS(s9urllib3 encountered an error when trying to rewind a body(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyR>sN(,t
__future__Rtpackages.six.moves.http_clientRthttplib_IncompleteReadt	ExceptionRtWarningRRRRRRRtConnectionErrorRRRRRR R!R"R#t
ValueErrorR$R%R'R*R+R,R-R.R/R0R1R2R3R7tAssertionErrorR8R:R>(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/exceptions.pyt<module>sJ	

			

?>