Server IP : 149.255.58.128 / Your IP : 216.73.216.213
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /lib64/python3.9/__pycache__//_compression.cpython-39.opt-1.pyc
a
�DOg� � @ 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.9/_compression.py�_check_not_closed s zBaseStream._check_not_closedc C s | � � st�d��d S )NzFile not open for reading)�readable�io�UnsupportedOperationr r r r �_check_can_read s zBaseStream._check_can_readc C s | � � st�d��d S )NzFile not open for writing)�writabler r r r r r �_check_can_write s zBaseStream._check_can_writec C s( | � � st�d��| �� s$t�d��d S )Nz3Seeking is only supported on files open for readingz3The underlying file object does not support seeking)r
r r �seekabler 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 sj e Zd ZdZdd� Zddd�Z� fdd�Zd d
� Zdd� Zddd�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.readabler c K sB || _ d| _d| _d| _|| _|| _| jf i | j��| _|| _d S )NFr ���)�_fp�_eof�_pos�_size�_decomp_factory�_decomp_args�
_decompressor�_trailing_error)r �fp�decomp_factory�trailing_error�decomp_argsr r r �__init__'