Server IP : 85.193.89.191 / Your IP : 3.145.180.168 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/981/root/lib64/python3.6/__pycache__/ |
Upload File : |
3 \� � @ s: d Z ddlZejZG dd� dej�ZG dd� dej�ZdS )z7Internal classes used by the gzip, lzma and bz2 modules� Nc @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd S )� BaseStreamzMode-checking helper functions.c C s | j rtd��d S )NzI/O operation on closed file)�closed� ValueError)�self� r �$/usr/lib64/python3.6/_compression.py�_check_not_closed s zBaseStream._check_not_closedc C s | j � stjd��d S )NzFile not open for reading)�readable�io�UnsupportedOperation)r r r r �_check_can_read s zBaseStream._check_can_readc C s | j � stjd��d S )NzFile not open for writing)�writabler r )r r r r �_check_can_write s zBaseStream._check_can_writec C s( | j � stjd��| j� s$tjd��d S )Nz3Seeking is only supported on files open for readingz3The underlying file object does not support seeking)r r r �seekable)r r r r �_check_can_seek s zBaseStream._check_can_seekN)�__name__� __module__�__qualname__�__doc__r r r r r r r r r s r c sl e Zd ZdZdd� Zf fdd�Z� fdd�Zdd � Zd d� Zdd d�Z dd� Z ejfdd�Z dd� Z� ZS )�DecompressReaderz5Adapts the decompressor API to a RawIOBase reader APIc C s dS )NTr )r r r r r $ s zDecompressReader.readablec K s>