| Server IP : 43.129.54.214 / Your IP : 216.73.217.113 Web Server : nginx/1.24.0 System : Linux VM-4-108-ubuntu 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/local/qcloud/python/lib/python3.7/__pycache__/ |
Upload File : |
B
��f� � @ 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 �6/usr/local/qcloud/python/lib/python3.7/_compression.py�_check_not_closed s zBaseStream._check_not_closedc C s | � � st�d��d S )NzFile not open for reading)�readable�io�UnsupportedOperation)r 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 �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 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 s>