o
    h                     @   s  d Z zddlZW n ey   ddlZY nw 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y@   ddlZY nw erd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/e0Z1dS 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	rd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 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:   W/var/www/html/magazine_api/magazine_env/lib/python3.10/site-packages/requests/compat.py<module>   sd   ,
0
