관리-도구
편집 파일: session.cpython-38.opt-1.pyc
U ��.e�= � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl mZmZm Z ddlmZ ddlmZmZ ddlmZ ddlmZ ddlmZ dd lmZ dd lmZ ddlmZ ddl m!Z! dd l"m#Z#m$Z$m%Z% ddl&m'Z' ddl(m)Z) ddl*m+Z+m,Z,m-Z- ddl.m/Z/ ddl0m1Z1 e/�rhddl2m3Z3m4Z4m5Z5m6Z6m7Z7 ddl8m9Z9 e6e:e:e5e7e;e:f f Z<e�=e>�Z?e j@ded� ddddddgZAdZBdd� ZCd d!� ZDG d"d#� d#e�ZEG d$d%� d%e�ZFG d&d'� d'ejG�ZHdS )(zhPipSession and supporting code, containing all pip-specific network request configuration and behavior. � N)�requests�six�urllib3)�CacheControlAdapter)�BaseAdapter�HTTPAdapter)�Response)�CaseInsensitiveDict)�parse)�InsecureRequestWarning)�__version__)�MultiDomainBasicAuth)� SafeFileCache)�HAS_TLS� ipaddress�ssl)�check_path_owner)�libc_ver)�build_url_from_netloc�get_installed_version�parse_netloc)�MYPY_CHECK_RUNNING)�url_to_path)�Iterator�List�Optional�Tuple�Union)�Link�ignore)�category)Zhttps�*r! )r! Z localhostr! )r! z127.0.0.0/8r! )r! z::1/128r! )�filer! N)Zsshr! r! )Z BUILD_BUILDIDZBUILD_IDZCIZ PIP_IS_CIc C s t dd� tD ��S )z? Return whether it looks like pip is running under CI. c s s | ]}|t jkV qd S �N)�os�environ)�.0�name� r( �A/usr/lib/python3.8/site-packages/pip/_internal/network/session.py� <genexpr>a s z looks_like_ci.<locals>.<genexpr>)�any�CI_ENVIRONMENT_VARIABLESr( r( r( r) � looks_like_ciY s r- c C sB dt d�t�� dt�� id�} | d d dkr@t�� | d d<