U
    žV_ö  ã                   @   sÎ  d Z ddlZddlZejZed dkZed dkZzddlZW n e	k
rZ   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-n¸e�rÊddl.mZ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l0m1Z ddl2mZ dd	l3mZ ddlm#Z# ddl4m Z m!Z!m"Z" 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é   é   )	Ú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   )5Ú__doc__ÚchardetÚsysÚversion_infoÚ_verÚis_py2Úis_py3Z
simplejsonÚjsonÚImportErrorÚ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Úurllib.parseÚurllib.requestÚhttpr   Úhttp.cookiesÚioÚcollections.abc© r8   r8   ú3/tmp/pip-unpacked-wheel-18xsftou/requests/compat.pyÚ<module>   sJ   ,

0