U
    Â½„b  ã                   @   s  d Z zddlZW n ek
r,   ddlZY nX ddlZejZed dkZed dkZdZ	zddl
ZdZ	W n ek
r„   ddlZY nX e�r@ddlmZmZmZmZmZmZmZmZmZ ddlmZmZmZmZmZ dd	lmZ ddlZdd
lmZ ddl m Z  ddl!m"Z"m#Z#m$Z$m%Z% e&Z'e&Z(e)Z&e*Z*e+e,e-fZ.e+e,fZ/e0Z1nØe�rddl2mZmZmZmZmZmZmZmZmZmZ ddl3mZmZmZmZmZ ddl4m5Z dd
l6mZ ddl7m Z  ddl!m%Z% ddl8m"Z"m#Z#m$Z$ e	�rêddl
m1Z1 nddlm1Z1 e&Z'e&Z&e(Z(e&e(fZ*e+e-fZ.e+fZ/dS )zq
requests.compat
~~~~~~~~~~~~~~~

This module handles import compatibility issues between Python 2 and
Python 3.
é    Né   é   FT)	ÚquoteÚunquoteÚ
quote_plusÚunquote_plusÚ	urlencodeÚ
getproxiesÚproxy_bypassÚproxy_bypass_environmentÚgetproxies_environment)ÚurlparseÚ
urlunparseÚurljoinÚurlsplitÚ	urldefrag)Úparse_http_list)ÚMorsel)ÚStringIO)ÚCallableÚMappingÚMutableMappingÚOrderedDict)
r   r   r   r   r   r   r   r   r   r   )r   r	   r
   r   r   )Ú	cookiejar)r   )r   r   r   )ÚJSONDecodeError)9Ú__doc__ÚchardetÚImportErrorZcharset_normalizerÚsysÚversion_infoÚ_verÚis_py2Úis_py3Zhas_simplejsonZ
simplejsonÚjsonÚurllibr   r   r   r   r   r	   r
   r   r   r   r   r   r   r   Úurllib2r   Ú	cookielibÚCookier   r   Úcollectionsr   r   r   r   ÚstrÚbuiltin_strÚbytesÚunicodeÚ
basestringÚintÚlongÚfloatÚnumeric_typesÚinteger_typesÚ
ValueErrorr   Úurllib.parseÚurllib.requestÚhttpr   Úhttp.cookiesÚioÚcollections.abc© r:   r:   ú3/tmp/pip-unpacked-wheel-pr7jkl2n/requests/compat.pyÚ<module>   s\   ,
0