| Server IP : 43.141.49.119 / Your IP : 113.219.202.44 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 : |
�
��e
^ � �p � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZg d�Zd\ Z Z
ZZZ
d\ ZZdZdZdZdedddfd �Zd
� Z G d� d� � Z G d
� de� � Z G d� dej � � Zd� Zd� Z G d� dej � � Z ddedefd�Z efdd�d�Z!d� Z"d� Z#e$dk r e#� � dS dS )� N)�BadGzipFile�GzipFile�open�compress�
decompress)� � � � � )r r r � � �rbc �$ � d|v rd|v rt d|��� � �n3|�t d� � �|�t d� � �|�t d� � �|� dd� � }t | t t t
j f� � rt | ||� � }nBt | d� � st | d � � rt d ||| � � }nt d
� � �d|v r+t j |� � }t j ||||� � S |S )N�t�bzInvalid mode: z0Argument 'encoding' not supported in binary modez.Argument 'errors' not supported in binary modez/Argument 'newline' not supported in binary mode� �read�writez1filename must be a str or bytes object, or a file)
�
ValueError�replace�
isinstance�str�bytes�os�PathLiker �hasattr� TypeError�io�
text_encoding�
TextIOWrapper)�filename�mode�
compresslevel�encoding�errors�newline�gz_mode�binary_files �/usr/lib64/python3.11/gzip.pyr r s7 � ��$ �d�{�{��$�;�;��*�4�4�9�:�:�:� � ���O�P�P�P����M�N�N�N����N�O�O�O��l�l�3��#�#�G��(�S�%���5�6�6� M��x��-�@�@��� ��6� "� "� M�g�h��&@�&@� M��t�W�m�X�F�F����K�L�L�L�
�d�{�{��#�H�-�-�����X�v�w�G�G�G��� c �V � | � t j d|� � � � d S )Nz<L)r �struct�pack)�output�values r* �write32ur1 F s( � � �L�L���T�5�)�)�*�*�*�*�*r+ c �2 � e Zd Z dd�Zd� Zdd�Zd� Zd� ZdS ) �_PaddedFiler+ c �X � || _ t |� � | _ || _ d| _ d S �Nr )�_buffer�len�_length�file�_read)�self�f�prepends r* �__init__z_PaddedFile.__init__P s( � �����7�|�|����� ���
�
�
r+ c �F � | j �| j � |� � S | j |z | j k r+| j }| xj |z
c_ | j || j � S | j }d | _ | j |d � | j � || j z
|z � � z S �N)r: r9 r r8 r6 )r; �sizer s r* r z_PaddedFile.readV s� � ��:���9�>�>�$�'�'�'��:�����,�,��:�D��J�J�$��J�J��<��T�Z��0�0��:�D��D�J��<����&��9�>�>�$�t�|�"3�D�"8�9�9�:�
:r+ c � � | j �|| _ n| xj t |� � z c_ d S t | j � � | _ d| _ d S r5 )r: r6 r7 r8 )r; r= s r* r= z_PaddedFile.prependc sJ � ��:��"�D�L�L��J�J�#�g�,�,�&�J�J��F��4�<�(�(�����
�
�
r+ c �R � d | _ d | _ | j � |� � S r@ )r: r6 r9 �seek)r; �offs r* rD z_PaddedFile.seekl s$ � ���
�����y�~�~�c�"�"�"r+ c � � dS �NT� �r; s r* �seekablez_PaddedFile.seekableq � � ��tr+ N)r+ )�__name__�
__module__�__qualname__r>