Your IP : 18.191.116.61
3
�Qg�m � @ sB d Z ddddddddd d
ddd
g
ZddlZddlZddlZddlZ ddl
ZddlZ
ddlmZ ddlZyddlZW n ek
r� ddlZY nX ejZe je jB e jB Zee d�r�ee jO ZeZee d�r�ee jO Zee d�r�e j Z ndZ dZ!e� Z"ee d��re j#Z$nee d��re j%Z$ndd� Z$dd� Z&dd� Z'dd� Z(G dd � d �Z)d!d"� Z*d#d$� Z+da,d%d&� Z-d'd(� Z.d)d*� Z/d+d,� Z0d-d � Z1d.d� Z2da3d/d� Z4d0d
� Z5dDd2d�Z6dEd3d�Z7d4e!dfd5d�Z8G d6d7� d7�Z9G d8d9� d9�Z:dGd=d�Z;e j<d>k�se j=j>d?k�re;Z?nee d@�a@dIdAd�Z?G dBd� d�ZAG dCd� deB�ZCdS )Ja� 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� N)�Random�
O_NOFOLLOW�O_BINARYi'