
º|jö  ã               @   s�  d  Z  d d l Z d d l Z e j Z e d d k Z e d d k Z y d d l Z Wn e	 k
 rw d d l Z Yn Xe rz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 l0 m1 Z d d l2 m Z d d	 l3 m Z d d l m# Z# d d l4 m  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-build-1hwfuv5s/requests/requests/compat.pyÚ<module>	   sJ   	@("F(