관리-도구
편집 파일: compat.cpython-37.pyc
B ^��`< � @ s� d Z yddlZW n ek r, ddlZY nX ddlZejZed dkZed dkZyddl Z W n ek r| ddl Z Y nX e�r4ddlmZm Z mZmZmZmZmZmZmZ ddlmZmZmZmZmZ ddlmZ ddlZddlmZ dd lmZ dd l m!Z!m"Z"m#Z#m$Z$ e%Z&e%Z'e(Z%e)Z)e*e+e,fZ-e*e+fZ.n�e�r�ddl/mZmZmZmZmZmZm Z mZmZmZ ddl0mZmZmZmZmZ dd l1m2Z ddl3mZ dd l4mZ ddl m$Z$ ddl5m!Z!m"Z"m#Z# e%Z&e%Z%e'Z'e%e'fZ)e*e,fZ-e*fZ.dS )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 )6�__doc__Zchardet�ImportErrorZcharset_normalizer�sys�version_infoZ_verZis_py2Zis_py3Z simplejson�json�urllibr r r r r r r r r r r r r r Zurllib2r Z cookielibZCookier r �collectionsr r r r �strZbuiltin_str�bytes�unicode� basestring�int�long�floatZ numeric_typesZ integer_types�urllib.parseZurllib.request�httpr Zhttp.cookies�io�collections.abc� r, r, �@/opt/alt/python37/lib/python3.7/site-packages/requests/compat.py�<module> sP , 0