관리-도구
편집 파일: __init__.cpython-38.pyc
U ��.e� � @ s d Z ddlmZ ddlmZ ddlZddlmZ dd� Zd d � Zzeej ej � W n0 e efk r� e�d� ej ej �e� Y nX ddlmZ es�z,dd lmZ e�� ddlm Z ee� W n ek r� Y nX ddlmZ e�de� ddl mZmZmZm Z ddl mZmZmZmZ ddl m Z m!Z! ddl"m#Z# ddl"m$Z$ ddl%m&Z&m'Z'm(Z( ddl)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1 ddl2m3Z3m4Z4 ddl5m6Z6 ddlm7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z? ddl@Z@ddl@mAZA e@�BeC��DeA� � ejde=dd� dS )a� Requests HTTP Library ~~~~~~~~~~~~~~~~~~~~~ Requests is an HTTP library, written in Python, for human beings. Basic GET usage: >>> import requests >>> r = requests.get('https://www.python.org') >>> r.status_code 200 >>> 'Python is a programming language' in r.content True ... or POST: >>> payload = dict(key1='value1', key2='value2') >>> r = requests.post('https://httpbin.org/post', data=payload) >>> print(r.text) { ... "form": { "key2": "value2", "key1": "value1" }, ... } The other HTTP methods are supported - see `requests.api`. Full documentation is at <http://python-requests.org>. :copyright: (c) 2017 by Kenneth Reitz. :license: Apache 2.0, see LICENSE for more details. � )�urllib3)�chardetN� )�RequestsDependencyWarningc C s� | � d�} | dgkst�t| �dkr.| �d� | \}}}t|�t|�t|� }}}|dks`t�|dkslt�|dksxt�|� d�d d� \}}}t|�t|�t|� }}}|dks�t�|dk s�t�|dks�t�d S ) N�.Zdev� �0r � � � )�split�AssertionError�len�append�int)Zurllib3_versionZchardet_version�major�minor�patch� r �A/usr/lib/python3.8/site-packages/pip/_vendor/requests/__init__.py�check_compatibility1 s r c C sX zt tt| �d���} W n tk r. Y d S X | dddgk rTd�| �}t�|t� d S )Nr r r � z4Old version of cryptography ({}) may cause slowdown.) �list�mapr r � ValueError�format�warnings�warnr )�cryptography_versionZwarningr r r �_check_cryptographyJ s r z?urllib3 ({}) or chardet ({}) doesn't match a supported version!)�WINDOWS)� pyopenssl)�__version__)�DependencyWarning�ignore)� __title__�__description__�__url__r"