Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /opt/alt/python38/lib64/python3.8/__pycache__/ |
U ��,a�S � @ s d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZdddddgZd\Z Z ZZZ d\ZZd Zd ZdZdedddfd d�Zdd� ZG dd� d�ZG dd� de�ZG dd� dej�ZG dd� dej�Zefdd�dd�Zdd� Zdd� Zedkr�e� dS )� N�BadGzipFile�GzipFile�open�compress� decompress)� � � � � )r r r � � �rbc C s� d|kr d|krPt d|f ��n0|d k r0t d��|d k r@t d��|d k rPt d��|�dd�}t| tttjf�r|t| ||�}n,t| d�s�t| d �r�td ||| �}nt d ��d|kr�t �||||�S |S d S )N�t�bzInvalid mode: %rz0Argument '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� TextIOWrapper)�filename�mode� compresslevel�encoding�errors�newlineZgz_modeZbinary_file� r% �)/opt/alt/python38/lib64/python3.8/gzip.pyr s$ c C s | � t�d|�� d S )Nz<L)r �structZpack)�output�valuer% r% r&