관리-도구
편집 파일: __init__.cpython-312.pyc
� G��e1 � �F � d Z ddlZddlmZ ddlmZ dZ ddlmZ d� Zd� Z eej e e� dd lmZ es e d� � ddlZ eedd � s%ddlmZ ej. � ddlmZ ee� ddlmZ ej8 de� ddlZddlmZ ddlm Z m!Z! ddlm"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*mZ ddl+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3 ddlm4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z= ddl>m?Z?m@Z@mAZA ddlBmCZCmDZD ddlEmFZF ej� eH� j� e� � ej8 de6d�� y# e $ r dZ Y ��-w xY w# e ef$ r2 ej d j! ej e e� e� Y ��Nw xY w# e $ r dZY ��Fw xY w# e $ r Y ��#w xY w)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 >>> b'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": { "key1": "value1", "key2": "value2" }, ... } The other HTTP methods are supported - see `requests.api`. Full documentation is at <https://requests.readthedocs.io>. :copyright: (c) 2017 by Kenneth Reitz. :license: Apache 2.0, see LICENSE for more details. � N)�urllib3� )�RequestsDependencyWarning)�__version__c �: � | j d� } | dgk7 sJ �t | � dk( r| j d� | \ }}}t |� t |� t |� }}}|dk\ sJ �|dk( r|dk\ sJ �|rN |j d� d d \ }}}t |� t |� t |� }}}d|||fcxk rd k sJ � J �y |rM|j d� d d \ }}}t |� t |� t |� }}}d |||fcxk rdk sJ � J �y t d� �) N�.�dev� �0r � � )r r r )� r r )r r r )� r r z7You need either charset_normalizer or chardet installed)�split�len�append�int� Exception)�urllib3_version�chardet_version�charset_normalizer_version�major�minor�patchs ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/requests/__init__.py�check_compatibilityr 7 sB � �%�+�+�C�0�O��u�g�%�%� �?��q� ����s�#� *��E�5�%��e�*�c�%�j�#�e�*�%�5�E��A�:����z���{�� �3�o�3�3�C�8��!�<���u�e�!�%�j�#�e�*�c�%�j�e�u���U�E�5�1�=�I�=�=�=�=�=� #�8�>�>�s�C�B�Q�G���u�e�!�%�j�#�e�*�c�%�j�e�u���U�E�5�1�=�I�=�=�=�=�=��Q�R�R� c �� � t t t | j d� � � } | g d�k r,dj | � }t j |t � y y # t $ r Y y w xY w)Nr )r r r z4Old version of cryptography ({}) may cause slowdown.) �list�mapr r � ValueError�format�warnings�warnr )�cryptography_version�warnings r �_check_cryptographyr'