관리-도구
편집 파일: exceptions.cpython-38.pyc
U ʗRe�Q � @ s� d Z ddlZddlZddlmZmZmZ ddlmZm Z m Z mZmZ ddl mZmZ ddlmZmZmZ ddlmZ ddlmZ er�dd lmZ dd lmZ ddlmZ ddlmZ ee d �dd�Z!eeef eeeed�dd�Z"G dd� de#�Z$G dd� de$�Z%G dd� de$�Z&G dd� de$�Z'G dd� de$�Z(G dd� de%�Z)G dd � d e%�Z*G d!d"� d"e$�Z+G d#d$� d$e'�Z,G d%d&� d&e'�Z-G d'd(� d(e'�Z.G d)d*� d*e'�Z/G d+d,� d,e$�Z0G d-d.� d.e$�Z1G d/d0� d0e$�Z2G d1d2� d2e$�Z3G d3d4� d4e$�Z4G d5d6� d6e'�Z5G d7d8� d8e'�Z6G d9d:� d:e'�Z7G d;d<� d<e'�Z8G d=d>� d>e%�Z9G d?d@� d@e%e'�Z:G dAdB� dBe:e'�Z;G dCdD� dDe'�Z<G dEdF� dFe'�Z=G dGdH� dHe=�Z>G dIdJ� dJe=�Z?G dKdL� dLe=�Z@G dMdN� dNe=�ZAG dOdP� dPe=�ZBG dQdR� dRe'�ZCG dSdT� dTe&�ZDdS )Uz�Exceptions used throughout package. This module MUST NOT try to import from anything within `pip._internal` to operate. This is expected to be importable from any/all files within the subpackage and, thus, should not depend on them. � N)�chain�groupby�repeat)� TYPE_CHECKING�Dict�List�Optional�Union)�Request�Response)�Console�ConsoleOptions�RenderResult)�escape)�Text)�_Hash)�Literal)�BaseDistribution)�InstallRequirement)�s�returnc C s t �d| �d k S )Nz^[a-z]+(-[a-z]+)*$)�re�match)r � r ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/exceptions.py�_is_kebab_case s r )r �console�prefix�indentr c C sJ t | t�r| }n |�| �}|j|dd�|jd|� �dd��|jdd�� S )N�ignore)�overflow� T)�allow_blank)� isinstancer � render_str�join�split)r r r r �textr r r �_prefix_with_indent! s � �r( c @ s e Zd ZdZdS )�PipErrorzThe base pip error.N��__name__� __module__�__qualname__�__doc__r r r r r) 2 s r) c s� e Zd ZU dZeed<