관리-도구
편집 파일: retry.cpython-311.pyc
� �Re�S � �V � d dl mZ d dlZd dlZd dlZd dlZd dlZd dlmZ d dl m Z ddlmZm Z mZmZmZmZmZ ddlmZ ej e� � Z edg d �� � Z e� � Z G d � de� � Z ej e� � G d� d e� � � � Z ed� � e_ dS )� )�absolute_importN)� namedtuple)� takewhile� )�ConnectTimeoutError� InvalidHeader� MaxRetryError� ProtocolError� ProxyError�ReadTimeoutError� ResponseError)�six�RequestHistory)�method�url�error�status�redirect_locationc �z � e Zd Zed� � � Zej d� � � Zed� � � Zej d� � � ZdS )� _RetryMetac �D � t j dt � � | j S �Nz}Using 'Retry.DEFAULT_METHOD_WHITELIST' is deprecated and will be removed in v2.0. Use 'Retry.DEFAULT_ALLOWED_METHODS' instead��warnings�warn�DeprecationWarning�DEFAULT_ALLOWED_METHODS��clss ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/urllib3/util/retry.py�DEFAULT_METHOD_WHITELISTz#_RetryMeta.DEFAULT_METHOD_WHITELIST$ s* � �� � S�� � � � �*�*� c �H � t j dt � � || _ d S r r �r �values r r! z#_RetryMeta.DEFAULT_METHOD_WHITELIST- s/ � �� � S�� � � � ',��#�#�#r"