shell bypass 403
o
`b�z � @ s& d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl m
Z
mZ ddlm
Z
ddlmZ ddlmZmZ ddlmZmZ e
�d�Zd Zd
Zej�ej�d ZG dd
� d
ej�ZG dd� dej�ZG dd� de�Z G dd� de�Z!dd� Z"G dd� dej�Z#e$dkr�e�%� dS dS )z!Test script for the gzip module.
� N)�PIPE�Popen)�
import_helper)� os_helper)�_4G�
bigmemtest)�assert_python_ok�assert_python_failure�gzipsy int length=DEFAULTALLOC, err = Z_OK;
PyObject *RetVal;
int flushmode = Z_FINISH;
unsigned long start_total_out;
s� /* zlibmodule.c -- gzip-compatible data compression */
/* See http://www.gzip.org/zlib/
/* See http://www.winimage.com/zLibDll for Windows */
z-gzdirc @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�UnseekableIOc C s dS )NF� ��selfr r �7/usr/local/python-3.10/lib/python3.10/test/test_gzip.py�seekable% s zUnseekableIO.seekablec C � t j��N��io�UnsupportedOperationr
r r r �tell( � zUnseekableIO.tellc G r r r )r �argsr r r �seek+ r zUnseekableIO.seekN)�__name__�
__module__�__qualname__r r r r r r r r $ s r c @ s"