| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/PIL/__pycache__/ |
Upload File : |
o
Z#�a� � @ s* d dl Z ddlmZ G dd� dej�ZdS )� N� )�ContainerIOc s8 e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Z� ZS )
�TarIOzHA file object that provides read access to a given member of a TAR file.c s� t |d�| _ | j�d�}t|�dkrtd��|dd� �d�}|�d�}|d kr-td
��|d kr7|d|� }t|dd� d
�}||krEn
| j�|d d@ t j
� qt� �| j| j�
� |� dS )zz
Create file object.
:param tarfile: Name of TAR file.
:param file: Name of member file.
�rbTi zunexpected end of tar fileN�d zutf-8� r zcannot find subfile�| � � i� i ���)�open�fh�read�len�OSError�decode�find�int�seek�io�SEEK_CUR�super�__init__�tell)�self�tarfile�file�s�name�i�size�� __class__� �+/usr/lib/python3/dist-packages/PIL/TarIO.pyr s"