Server IP : 172.67.214.6 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.8/site-packages/pip/_internal/network/__pycache__/ |
Upload File : |
U ��.e� � @ s� d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z m Z ddlmZ ddl mZ erhdd lmZ ed d� �ZG dd � d e�ZdS )zHTTP cache implementation. � N)�contextmanager)� BaseCache)� FileCache)�adjacent_tmp_file�replace)� ensure_dir)�MYPY_CHECK_RUNNING)�Optionalc c s( z dV W n t tfk r" Y nX dS )zvIf we can't access the cache then we can just skip caching and process requests as if caching wasn't enabled. N)�OSError�IOError� r r �?/usr/lib/python3.8/site-packages/pip/_internal/network/cache.py�suppressed_cache_errors s r c s@ e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Zd d� Z� Z S )� SafeFileCachezw A file based cache which is safe to use even when the target directory may not be accessible or writable. c s( |d k st d��tt| ��� || _d S )Nz!Cache directory must not be None.)�AssertionError�superr �__init__� directory)�selfr �� __class__r r r &