U
    (q\                     @   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-nerd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__Zchardetsysversion_infoZ_verZis_py2Zis_py3Z
simplejsonZjsonImportErrorZurllibr   r   r   r   r   r	   r
   r   r   r   r   r   r   r   Zurllib2r   Z	cookielibZCookier   r   collectionsr   r   r   r   strZbuiltin_strbytesZunicodeZ
basestringintZlongfloatZnumeric_typesZinteger_typesZurllib.parseZurllib.requestZhttpr   Zhttp.cookiesioZcollections.abc r$   r$   1/usr/lib/python3/dist-packages/requests/compat.py<module>   sJ   ,

0