관리-도구
편집 파일: zipfile.cpython-310.opt-1.pyc
o 6��fY` � @ sL d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlZddl Z ddlZddlZddlZz ddlZejZW n eyU dZejZY nw zddlZW n eyg dZY nw zddlZW n eyy dZY nw g d�ZG dd� de�ZG dd� de�Ze ZZdZd Zd ZdZd Z dZ!dZ"d Z#dZ$dZ%dZ&dZ'dZ(dZ)e�*e(�Z+dZ,dZ-dZ.dZ/dZ0dZ1dZ2dZ3d Z4dZ5dZ6dZ7e�*e6�Z8dZ9dZ:dZ;dZ<dZ=dZ>dZ?dZ@d ZAdZBdZCdZDdZEdZFdZGd ZHd!ZId"ZJd#ZKd$ZLd%ZMe�*eL�ZNdZOdZPdZQdZRdZSdZTdZUdZVd ZWdZXdZYdZZd&Z[d'Z\e�*e[�Z]d(Z^d)Z_e�*e^�Z`dZadZbdZcdZddZedZfdZgdZhd ZidZjd*Zke�ld+�Zmd,d-� Znd.d/� Zod0d1� Zpd2d3� Zqd4d5� ZrG d6d7� d7es�Ztdaud8d9� Zvd:d;� ZwG d<d=� d=�ZxG d>d?� d?�Zyi dd@�ddA�ddB�ddB�ddB�ddB�ddC�ddD�d dE�ddF�ddC�ddG�ddH�d#dI�dJdK�dLdM�dNdO�ZzdPdQ� Z{dsdRdS�Z|dTdU� Z}G dVdW� dW�Z~G dXdY� dY�ZG dZd[� d[ej��Z�G d\d]� d]ej��Z�G d^d_� d_�Z�G d`da� dae��Z�dbdc� Z�ddde� Z�e�j�Z� dfdg� Z�G dhdi� die��Z�G djdk� dke��Z�dsdldm�Z�G dndo� do�Z�dsdpdq�Z�e�drk�r$e�� dS dS )tzP Read and write ZIP files. XXX references to utf-8 need further investigation. � N) � BadZipFile� BadZipfile�error� ZIP_STORED�ZIP_DEFLATED� ZIP_BZIP2�ZIP_LZMA� is_zipfile�ZipInfo�ZipFile� PyZipFile�LargeZipFile�Pathc @ s e Zd ZdS )r N)�__name__� __module__�__qualname__� r r �./opt/alt/python310/lib64/python3.10/zipfile.pyr , s r c @ s e Zd ZdZdS )r zu Raised when writing a zipfile, the zipfile requires ZIP64 extensions and those extensions are disabled. N)r r r �__doc__r r r r r 0 s r i���� � � � � �- �. �? s <4s4H2LHs PK� � � � � � � � z<4s4B4HL2L5H2Ls PK� � � � � � � z<4s2B4HL2L2Hs PKz<4sLQLs PKz <4sQ2H2L4Qs PKiPK�<HHc C s� t j}d}g }d }}|d t| �krD|| ||d � �\}}|d | } ||v r:||kr6|�| ||� � | }d}| }|d t| �ks|sH| S |t| �krW|�| |d � � d�|�S )NFr r T� )�_EXTRA_FIELD_STRUCT�unpack�len�append�join) �extraZxidsr/ Zmodified�buffer�start�iZxidZxlen�jr r r �_strip_extra� s&