관리-도구
편집 파일: logging.cpython-39.pyc
a ��Re- � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ d dlmZm Z m Z mZmZm Z mZmZ d dlmZmZ d dlmZ d dlmZ d dlmZ zd dlZW n ey� d dlZY n0 zd dlmZ W n ey� dZY n0 e�� Z ed �Z!G d d� de�Z"ee# e#e$d�d d�Z%e j&d&e'ed d�dd��Z(e'd�dd�Z)G dd� dej*�Z+e,e e,ge,f d�dd�Z-G dd� dej.�Z/G dd� dej0j1�Z2G dd � d e�Z3G d!d"� d"e�Z4e'e$ee, e'd#�d$d%�Z5dS )'� N)�Filter)�IO�Any�Callable�Iterator�Optional�TextIO�Type�cast)�VERBOSE� getLogger)�WINDOWS)�DEPRECATION_MSG_PREFIX)� ensure_dir)�coloramazpip.subprocessorc @ s e Zd ZdZdS )�BrokenStdoutLoggingErrorzO Raised if BrokenPipeError occurs for the stdout stream while logging. N)�__name__� __module__�__qualname__�__doc__� r r ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/utils/logging.pyr ! s r )� exc_class�exc�returnc C s0 | t u rdS tsdS t|t�o.|jtjtjfv S )NTF)�BrokenPipeErrorr � isinstance�OSError�errno�EINVAL�EPIPE)r r r r r �_is_broken_pipe_error'