| Server IP : 43.141.49.107 / Your IP : 113.219.202.173 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/__pycache__/ |
Upload File : |
�
��e1 � �t � d Z ddlZddlZej Z G d� dej � � Z G d� dej � � ZdS )z7Internal classes used by the gzip, lzma and bz2 modules� Nc �* � e Zd ZdZd� Zd� Zd� Zd� ZdS )�
BaseStreamzMode-checking helper functions.c �2 � | j rt d� � �d S )NzI/O operation on closed file)�closed�
ValueError��selfs �%/usr/lib64/python3.11/_compression.py�_check_not_closedzBaseStream._check_not_closed s% � ��;� =��;�<�<�<� =� =� c �V � | � � � st j d� � �d S )NzFile not open for reading)�readable�io�UnsupportedOperationr s r
�_check_can_readzBaseStream._check_can_read �1 � ��}�}��� G��)�*E�F�F�F� G� Gr c �V � | � � � st j d� � �d S )NzFile not open for writing)�writabler r r s r
�_check_can_writezBaseStream._check_can_write r r c � � | � � � st j d� � �| � � � st j d� � �d S )Nz3Seeking is only supported on files open for readingz3The underlying file object does not support seeking)r r r �seekabler s r
�_check_can_seekzBaseStream._check_can_seek sl � ��}�}��� G��)� +F� G� G�
G��}�}��� F��)� +E� F� F�
F� F� Fr N)�__name__�
__module__�__qualname__�__doc__r r r r � r r
r r sa � � � � � �)�)�=� =� =�G� G� G�G� G� G�F� F� F� F� Fr r c �j � � e Zd ZdZd� Zdd�Z� fd�Zd� Zd� Zdd �Z d
� Z
d� Zej
fd�Zd
� Z� xZS )�DecompressReaderz5Adapts the decompressor API to a RawIOBase reader APIc � � dS )NTr r s r
r zDecompressReader.readable$ s � ��tr r c � � || _ d| _ d| _ d| _ || _ || _ | j di | j ��| _ || _ d S )NFr ���r )�_fp�_eof�_pos�_size�_decomp_factory�_decomp_args�
_decompressor�_trailing_error)r �fp�decomp_factory�trailing_error�decomp_argss r
�__init__zDecompressReader.__init__'