shell bypass 403

GrazzMean-Shell Shell

Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 18.219.217.5
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : tempfile.cpython-313.pyc
�

*}g�}���Sr/SQrSSKrSSKrSSKrSSKr	SSK
rSSKr
SSKJr SSKrSSKrSSKrSSKr\R0r\	R4\	R6-\	R8-r\"\	S5(a\\	R>-r\r \"\	S5(a\ \	RB-r \"\	S5(a
\	RDr"OSr"S	r#\"5r$S
r%Sr&Sr'"S
S5r(Sr)Sr*Sq+Sr,Sr-Sr.Sr/Sr0Sr1Sq2Sr3Sr4Sr5S.Sjr6S/Sjr7S\#S4Sjr8"SS5r9"S S!5r:S0SS"S#.S$jjr;\	RxS%:wd\RzS&:Xa\;r>O\"\	S'5q?S1SS(.S)jjr>"S*S+\R�5rA"S,S-5rBg)2a�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_BINARYr	i'�tmpc�R�[R"U5 g![a gf=f)NTF)�_os�lstat�OSError)�fns �//opt/alt/python313/lib64/python3.13/tempfile.py�_existsrLs+����	�	�"�
�������s��
&�&c��SnUH�nUcM[U[R5(a[R"U5n[U[5(aU[
La[
S5e[nMnU[La[
S5e[
nM� Uc,[b[[[
5(a[
$[$U$)zBLook at the type of all args and divine their implied return type.Nz1Can't mix bytes and non-bytes in path components.)�
isinstancer�PathLike�fspath�bytes�str�	TypeErrorr)�args�return_type�args   r�_infer_return_typer%Us����K����;���c�3�<�<�(�(��*�*�S�/�C��c�5�!�!��c�!��!3�4�4��K��e�#��!3�4�4��K�!�"���?�j��#�6�6��J��L���c���[XU5nUcU"5nUc*U[La[nO[R"[5nUcU[La[5nO
[
5nXX#4$)z9Common parameter processing for most APIs in this module.)r%r �templater�fsencoderr)�prefix�suffix�dir�output_types    r�_sanitize_paramsr.rs`��$�V�S�9�K�
�~����
�~��#���F��\�\�(�+�F�
�{��#���,�C��-�C��3�+�+r&c�8�\rSrSrSrSr\S5rSrSr	Sr
g)	�_RandomNameSequence�aAn instance of _RandomNameSequence generates an endless
sequence of unpredictable strings which can safely be incorporated
into file names.  Each string is eight characters long.  Multiple
threads can safely use the same instance at the same time.

_RandomNameSequence is an iterator.�%abcdefghijklmnopqrstuvwxyz0123456789_c��[R"5nU[USS5:wa[5UlXlUR$)N�_rng_pid)r�getpid�getattr�_Random�_rngr4)�self�cur_pids  r�rng�_RandomNameSequence.rng�s6���*�*�,���g�d�J��5�5��	�D�I�#�M��y�y�r&c��U$�N��r9s r�__iter__�_RandomNameSequence.__iter__�s���r&c�h�SRURRURSS95$)N��)�k)�joinr;�choices�
charactersr@s r�__next__�_RandomNameSequence.__next__�s)���w�w�t�x�x�'�'����1�'�=�>�>r&)r8r4N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rI�propertyr;rArJ�__static_attributes__r?r&rr0r0�s*��+�9�J�
�����?r&r0c�$�/nSH3n[R"U5nU(dM"URU5 M5 [RS:XaRUR	[R
R
S5[R
RS5SSSS/5 OUR	/S	Q5 UR[R"55 U$![[4a# UR[R5 U$f=f)
zWGenerate a list of candidate temporary directories which
_get_default_tempdir will try.)�TMPDIR�TEMP�TMP�ntz~\AppData\Local\Tempz%SYSTEMROOT%\Tempzc:\tempzc:\tmpz\tempz\tmp)z/tmpz/var/tmpz/usr/tmp)r�getenv�append�name�extend�path�
expanduser�
expandvars�getcwd�AttributeErrorr�curdir)�dirlist�envname�dirnames   r�_candidate_tempdir_listre�s����G�+���*�*�W�%���7�G�N�N�7�+�+�
�x�x�4��������,�,�-D�E����,�,�-A�B�#�Y��'�D�	E�	���9�:�#����s�z�z�|�$��N��
�G�$�#����s�z�z�"��N�#�s�6$C�/D�Dc��[5n[5nUH�nU[R:wa[RRU5n[
S5H�n[U5n[RRX$5n[R"U[S5n[R"US5 [R"U5 [R"U5 Us s $ M� [+[,R.SU-5e![R"U5 f=f![R"U5 f=f![a M�[al [R S:XaR[RR#U5(a.[R$"U[R&5(aGMk GM�[(a  GM�f=f)a]Calculate the default directory to use for temporary files.
This routine should be called exactly once.

We determine whether or not a candidate temp dir is usable by
trying to create and write to a file in that directory.  If this
is successful, the test file is deleted.  To prevent denial of
service, the name of the test file must be randomized.�d�sblatrWz)No usable temporary directory found in %s)r0rerrar\�abspath�range�nextrG�open�_bin_openflags�write�close�unlink�FileExistsError�PermissionErrorrZ�isdir�access�W_OKr�FileNotFoundError�_errno�ENOENT)�namerrbr,�seqrZ�filename�fds       r�_get_default_tempdirr}�sM��
 �!�E�%�'�G����#�*�*���(�(�"�"�3�'�C���:�C���;�D��x�x�}�}�S�/�H�
��X�X�h���>��)�&��	�	�"�g�.��	�	�"�
��J�J�x�(��
��	�8�F�M�M�G�#�$�%�%���	�	�"�
���J�J�x�(��"�
��"�
��H�H��$�������)<�)<��J�J�s�C�H�H�-�-����
��
�sI�E�$D�;D,�E�D)�)D,�,E�E�
G�A+G�	G�Gc���[c@[R5 [c
[5q[R	5 [$[$![R	5 f=f)z7Common setup sequence for all user-callable interfaces.)�_name_sequence�
_once_lock�acquirer0�releaser?r&r�_get_candidate_namesr��sP��������	!��%�!4�!6����� ���>���
��� ���A�A$c��[RRU5n[5nU[La[[RU5n[[5Hen[U5n[RRXU-U-5n[R"SU5 [R"X�S5n	X�4s $ [[(R*S5e![a M�[ag [R S:XaQ[RR#U5(a-[R$"U[R&5(aM�ef=f)z>Code common to mkstemp, TemporaryFile, and NamedTemporaryFile.ztempfile.mkstemprhrWz#No usable temporary file name found)rr\rir�r�mapr)rjr	rkrG�_sys�auditrlrqrrrZrsrtrurw�EEXIST)
r,�pre�suf�flagsr-�namesrzrZ�filer|s
          r�_mkstemp_innerr��s���(�(�
�
�3�
�C� �"�E��e���C�L�L�%�(���W�~���E�{���x�x�}�}�S��*�s�"2�3���
�
�%�t�,�	����$�u�-�B��x��!�$�&�-�-�?�A�A���	���	����D� �S�X�X�^�^�C�%8�%8��
�
�3����)�)���	�s�'C�
E�,A+E�Ec��U[R;a
U"U/UQ7SS06 g[RRU5(d
U"U/UQ76 gg)N�follow_symlinksF)r�supports_follow_symlinksr\�islink)�funcr\r"s   r�_dont_follow_symlinksr�sG���s�+�+�+��T�0�D�0�%�0�
�X�X�_�_�T�
"�
"��T��D��#r&c��[Rn[XS5 [[RUS5 g![a N(f=f)Nr�)r�chflagsr�r`�chmod)r\r�s  r�_resetpermsr�s@��0��+�+��	�g�Q�/��#�)�)�T�5�1��	�
��
�s�:�
A�Ac�6�[R"[5$)z7The default prefix for temporary directories as string.)r�fsdecoder(r?r&rr
r
#����<�<��!�!r&c�6�[R"[5$)z6The default prefix for temporary directories as bytes.)rr)r(r?r&rr
r
'r�r&c���[c@[R5 [c
[5q[R	5 [$[$![R	5 f=f)z&Private accessor for tempfile.tempdir.)rr�r�r}r�r?r&r�_gettempdirr�-sL��������	!���.�0����� ��N�7�N��
��� �r�c�>�[R"[55$)z Returns tempfile.tempdir as str.)rr�r�r?r&rrr9����<�<��
�&�&r&c�>�[R"[55$)z"Returns tempfile.tempdir as bytes.)rr)r�r?r&rrr=r�r&c�b�[XU5upp$U(a[nO[n[X!XU5$)a@User-callable function to create and return a unique temporary
file.  The return value is a pair (fd, name) where fd is the
file descriptor returned by os.open, and name is the filename.

If 'suffix' is not None, the file name will end with that suffix,
otherwise there will be no suffix.

If 'prefix' is not None, the file name will begin with that prefix,
otherwise a default prefix is used.

If 'dir' is not None, the file will be created in that directory,
otherwise a default directory is used.

If 'text' is specified and true, the file is opened in text
mode.  Else (the default) the file is opened in binary mode.

If any of 'suffix', 'prefix' and 'dir' are not None, they must be the
same type.  If they are bytes, the returned name will be bytes; str
otherwise.

The file is readable and writable only by the creating user ID.
If the operating system uses permission bits to indicate whether a
file is executable, the file is executable by no one. The file
descriptor is not inherited by children of this process.

Caller is responsible for deleting the file when done with it.
)r.�_text_openflagsrmr�)r+r*r,�textr-r�s      rrrAs1��:(8���'L�$�F�C�������#�v�k�B�Br&c���[XU5upp#[5nU[La[[R
U5n[
[5H�n[U5n[RRX!U-U-5n[R"SU5 [R"US5 [RR)U5s $ [[*R,S5e![a M�[ah [R S:XaR[RR#U5(a.[R$"U[R&5(aGMef=f)acUser-callable function to create and return a unique temporary
directory.  The return value is the pathname of the directory.

Arguments are as for mkstemp, except that the 'text' argument is
not accepted.

The directory is readable, writable, and searchable only by the
creating user.

Caller is responsible for deleting the directory when done with it.
ztempfile.mkdtempr�rWz(No usable temporary directory name found)r.r�rr�rr)rjr	rkr\rGr�r��mkdirrqrrrZrsrtrurirwr�)r+r*r,r-r�rzrZr�s        rrrhs��(8���'L�$�F�C� �"�E��e���C�L�L�%�(���W�~���E�{���x�x�}�}�S�4�-�&�"8�9���
�
�%�t�,�	��I�I�d�E�"��x�x����%�%�!�$�&�-�-�D�F�F���	���	����D� �S�X�X�^�^�C�%8�%8��
�
�3����)�)���	�s�C+�+
E)�8A+E)�'E)rDc��Uc
[5n[5n[[5HGn[	U5n[
RRX!U-U-5n[U5(aMEUs $ [[RS5e)a�User-callable function to return a unique temporary file name.  The
file is not created.

Arguments are similar to mkstemp, except that the 'text' argument is
not accepted, and suffix=None, prefix=None and bytes file names are not
supported.

THIS FUNCTION IS UNSAFE AND SHOULD NOT BE USED.  The file name may
refer to a file that did not exist at some point, but by the time
you get around to creating it, someone else may have beaten you to
the punch.
z"No usable temporary filename found)rr�rjr	rkrr\rGrrqrwr�)r+r*r,r�rzrZr�s       rrr�sr��$�{��l�� �"�E��W�~���E�{���x�x�}�}�S�4�-�&�"8�9���t�}�}��K�	��&�-�-�>�@�@r&c�r�\rSrSrSrSrSrSSjr\RS:H\R4SjrSrSr
S	rg
)�_TemporaryFileCloseri�z�A separate object allowing proper closing of a temporary file's
underlying file object, without adding a __del__ method to the
temporary file.Fc�4�XlX lX0lX@lgr>)r�rZ�delete�delete_on_close�r9r�rZr�r�s     r�__init__�_TemporaryFileCloser.__init__�s���	��	���.�r&rWc���UR(dySUlUR(d!SUlURR5 UR(a-U(aUR
(dU"UR5 gggg![a gf=f!UR(a=U(aUR
(d$U"UR5 f![a ff=fff=f�NT)�cleanup_called�close_calledr�ror�r�rZrv)r9�windowsrps   r�cleanup�_TemporaryFileCloser.cleanup�s����"�"�"&�D��
��(�(�(,�D�%��I�I�O�O�%��;�;��D�4H�4H���t�y�y�)�5I�;�#��-������;�;��D�4H�4H���t�y�y�)��,�����5I�;�sA�2B�6B�
B�B�*C,�C�C,�
C'�$C,�&C'�'C,c�F�UR(dWSUlURR5 UR(a#UR(aUR5 gggg!UR(a#UR(aUR5 fff=fr�)r�r�ror�r�r�r@s rro�_TemporaryFileCloser.close�sm��� � � $�D��
#��	�	���!��;�;�4�#7�#7��L�L�N�$8�;�!��
�;�;�4�#7�#7��L�L�N�$8�;�s�A*�*6B c�$�UR5 gr>)r�r@s r�__del__�_TemporaryFileCloser.__del__�s�����r&)r�r�r�r�r�rZN�TT)rLrMrNrOrPr�r�r�rrZrpr�ror�rRr?r&rr�r��s;����N��L�/� #�x�x�4�/����� #�r&r�c�@�\rSrSrSrSSjrSrSrSrSr	Sr
S	rg
)�_TemporaryFileWrapperi�z�Temporary file wrapper

This class provides a wrapper around files opened for
temporary use.  In particular, it seeks to automatically
remove the file when it is no longer needed.
c�@�XlX l[XUU5Ulgr>)r�rZr��_closerr�s     rr��_TemporaryFileWrapper.__init__�s���	��	�+�D��,;�=��r&c�^�URSn[X!5n[US5(a4Um[R"T5U4Sj5nUR
UlUn[
U[5(d[XU5 U$)Nr��__call__c�>�T"U0UD6$r>r?)r"�kwargsr�s  �r�func_wrapper�7_TemporaryFileWrapper.__getattr__.<locals>.func_wrapper�s����T�,�V�,�,r&)	�__dict__r6�hasattr�
_functools�wrapsr�r�int�setattr)r9rZr��ar�r�s     @r�__getattr__�!_TemporaryFileWrapper.__getattr__�s{����}�}�V�$���D����1�j�!�!��D�
�
�
�d�
#�
-�$�
-�$(�<�<�L� ��A��!�S�!�!��D��"��r&c�:�URR5 U$r>)r��	__enter__r@s rr��_TemporaryFileWrapper.__enter__�s���	�	�����r&c�r�URRXU5nURR5 U$r>)r��__exit__r�r�)r9�exc�value�tb�results     rr��_TemporaryFileWrapper.__exit__s-�����#�#�C��3���������
r&c�8�URR5 g)z1
Close the temporary file, possibly deleting it.
N)r�ror@s rro�_TemporaryFileWrapper.close	s��	
�����r&c#�:# �URHnUv� M	 g7fr>)r�)r9�lines  rrA�_TemporaryFileWrapper.__iter__s����I�I�D��J��s�)r�r�rZNr�)rLrMrNrOrPr�r�r�r�rorArRr?r&rr�r��s%���=��*��
�r&r�T)�errorsr�c
�8^^^^
^^�[TTT5ummmm[m
[RS:Xa!U(aU	(aT
[R-m
SU;a[
R"U5nSmUU
UUUU4Sjn
[
R"TXX2UU
S9n[USU5n[USU5nTUl[UTXy5$! UR5 e=f! Tb8[RS:XaU(aU	(d[R"T5 e=f)aGCreate and return a temporary file.
Arguments:
'prefix', 'suffix', 'dir' -- as for mkstemp.
'mode' -- the mode argument to io.open (default "w+b").
'buffering' -- the buffer size argument to io.open (default -1).
'encoding' -- the encoding argument to io.open (default None)
'newline' -- the newline argument to io.open (default None)
'delete' -- whether the file is automatically deleted (default True).
'delete_on_close' -- if 'delete', whether the file is deleted on close
   (default True) or otherwise either on context manager exit
   (if context manager was used) or on object finalization. .
'errors' -- the errors argument to io.open (default None)
The file is created as mkstemp() would do it.

Returns an object with a file-like interface; the name of the file
is accessible as its 'name' attribute.  The file will be automatically
deleted when it is closed unless the 'delete' argument is set to False.

On POSIX, NamedTemporaryFiles cannot be automatically deleted if
the creating process is terminated abruptly with a SIGKILL signal.
Windows can delete the file even in this case.
rW�bNc�,>�[TTTTT5unmU$r>)r�)r"r|r,r�rZr-r*r+s  ������r�opener�"NamedTemporaryFile.<locals>.openerAs���!�#�v�v�u�k�J���D��	r&��	buffering�newline�encodingr�r��buffer�raw)r.rmrrZ�O_TEMPORARY�_io�
text_encodingrlr6r�rorp)�moder�r�r�r+r*r,r�r�r�r�r�r�r�rZr-s    ```      @@@rrrs����6(8����'L�$�F�F�C���E��x�x�4��F��
���� ��
�$���$�$�X�.���D�����x�x��T� '�6�%�'��	��$��$�/�C��#�u�c�*�C��C�H�(��t�V�M�M��	��J�J�L�������H�H����O��J�J�t��
�s�>C�-C�C�C�>D�posix�cygwin�	O_TMPFILE�r�c
��^^^^^^
�SU;a[R"U5n[TTT5ummmm
[m[(aESmUUU4Sjn[R
"TXX2XxS9n	[
U	SU	5n
[
U
SU
5n
TU
lU	$SmUUUU
UU4Sjn[R
"TXX2UUS9n	[
U	SU	5n
[
U
SU
5n
TU
lU	$![a SqNV[a Naf=f)	a(Create and return a temporary file.
Arguments:
'prefix', 'suffix', 'dir' -- as for mkstemp.
'mode' -- the mode argument to io.open (default "w+b").
'buffering' -- the buffer size argument to io.open (default -1).
'encoding' -- the encoding argument to io.open (default None)
'newline' -- the newline argument to io.open (default None)
'errors' -- the errors argument to io.open (default None)
The file is created as mkstemp() would do it.

Returns an object with a file-like interface.  The file has no
name, and will cease to exist when it is closed.
r�Nc�>�T[R-[R)-n[R"TUS5mT$)Nrh)rr��O_CREATrl)r"�flags2r,r|r�s  ���rr��TemporaryFile.<locals>.opener|s3����#�-�-�/�C�K�K�<�?���X�X�c�6�5�1���	r&r�r�r�Fc�>�[TTTTT5umn[R"U5 T$![an[R"T5 eSnAff=fr>)r�rrp�
BaseExceptionro)	r"rZ�er,r|r�r-r*r+s	   ������rr�r��sQ���%�c�6�6�5�+�N�H�B��
��
�
�4� ��I��!�
��	�	�"�
���
�s�-�
A�A�A)
r�r�r.rm�_O_TMPFILE_WORKSrlr6rZ�IsADirectoryErrorr)r�r�r�r�r+r*r,r�r�r�r�r|r�r-s    ```    @@@rrrbs
���$�d�?��(�(��2�H�+;�F�F�C�+P�(����[������B�
�

��x�x��T�(/�'-�>���d�H�d�3���c�5�#�.�������&��	�	��x�x��T� '�6�%�'���d�H�d�+���c�5�#�&��������E%�
)�$)� ��
��
�s�9C�C-�!	C-�,C-c�R�\rSrSrSrSrS'SS.Sjjr\"\R5r
SrSrS	r
S
rSrSrS
r\S5r\S5r\S5rSrSrSr\S5r\S5r\S5rSrSrSrSrSr Sr!Sr"Sr#Sr$S r%S(S!jr&S"r'S#r(S$r)S%r*S&r+g))ri�z�Temporary file wrapper, specialized to switch from BytesIO
or StringIO to a real file when it exceeds a certain size or
when a fileno is needed.
FNr�c		��SU;a"5UlOD[R"U5n[R"[R"5XIUS9UlXlSUlX#XgXEX�S.Ulg)Nr�)r�r�r�F)r�r�r+r*r�r�r,r�)r��BytesIO�_filer��
TextIOWrapper�	_max_size�_rolled�_TemporaryFileArgs)
r9�max_sizer�r�r�r�r+r*r,r�s
          rr��SpooledTemporaryFile.__init__�sm���$�;�����D�J��(�(��2�H��*�*�3�;�;�=�%-�$+�-�D�J�"�����+/�-3�/7�*-�#A��r&c��UR(agURnU(a&UR5U:�aUR5 gggr>)rr�tell�rollover)r9r�rs   r�_check�SpooledTemporaryFile._check�s4���<�<���>�>����	�	��h�.��M�M�O�/�8r&c��UR(agURn[S0URD6=o lU?UR	5n[US5(a8URRUR5R55 OURUR55 URUS5 SUlg)Nr�rTr?)rrrrrr�r�rn�detach�getvalue�seek)r9r��newfile�poss    rr�SpooledTemporaryFile.rollover�s����<�<���z�z��,�G�t�/F�/F�G�G��*��#��i�i�k���7�H�%�%��N�N� � �����!7�!7�!9�:��M�M�$�-�-�/�*����S�!����r&c�R�URR(a[S5eU$)Nz%Cannot enter context with closed file)r�closed�
ValueErrorr@s rr��SpooledTemporaryFile.__enter__�s ���:�:����D�E�E��r&c�8�URR5 gr>�rro�r9r�r�r�s    rr��SpooledTemporaryFile.__exit__�����
�
���r&c�6�URR5$r>)rrAr@s rrA�SpooledTemporaryFile.__iter__�����z�z�"�"�$�$r&c��UR(d;[R"SRU5[SUS9 UR5 gg)NzUnclosed file {!r}�)�
stacklevel�source)r�	_warnings�warn�format�ResourceWarningror@s rr��SpooledTemporaryFile.__del__�s<���{�{��N�N�$�+�+�D�1����	
�
�J�J�L�r&c�8�URR5 gr>rr@s rro�SpooledTemporaryFile.close�rr&c�.�URR$r>)rrr@s rr�SpooledTemporaryFile.closed�����z�z� � � r&c�.�URR$r>)rr�r@s rr��SpooledTemporaryFile.encoding�����z�z�"�"�"r&c�.�URR$r>)rr�r@s rr��SpooledTemporaryFile.errorsr/r&c�V�UR5 URR5$r>)rr�filenor@s rr6�SpooledTemporaryFile.filenos���
�
���z�z� � �"�"r&c�8�URR5 gr>)r�flushr@s rr9�SpooledTemporaryFile.flushrr&c�6�URR5$r>)r�isattyr@s rr<�SpooledTemporaryFile.isatty����z�z� � �"�"r&c�n�URR$![a URSs$f=f)Nr�)rr�r`rr@s rr��SpooledTemporaryFile.modes5��	3��:�:�?�?�"���	3��*�*�6�2�2�	3�s��4�4c�P�URR$![a gf=fr>)rrZr`r@s rrZ�SpooledTemporaryFile.names'��	��:�:�?�?�"���	��	�s��
%�%c�.�URR$r>)r�newlinesr@s rrD�SpooledTemporaryFile.newlinesr2r&c�6�URR5$r>)r�readabler@s rrG�SpooledTemporaryFile.readable#r!r&c�4�URR"U6$r>)r�read�r9r"s  rrJ�SpooledTemporaryFile.read&����z�z����%�%r&c�4�URR"U6$r>)r�read1rKs  rrO�SpooledTemporaryFile.read1)s���z�z����&�&r&c�8�URRU5$r>)r�readinto�r9r�s  rrR�SpooledTemporaryFile.readinto,s���z�z�"�"�1�%�%r&c�8�URRU5$r>)r�	readinto1rSs  rrV�SpooledTemporaryFile.readinto1/s���z�z�#�#�A�&�&r&c�4�URR"U6$r>)r�readlinerKs  rrY�SpooledTemporaryFile.readline2s���z�z�"�"�D�)�)r&c�4�URR"U6$r>)r�	readlinesrKs  rr\�SpooledTemporaryFile.readlines5s���z�z�#�#�T�*�*r&c�6�URR5$r>)r�seekabler@s rr_�SpooledTemporaryFile.seekable8r!r&c�4�URR"U6$r>)rrrKs  rr�SpooledTemporaryFile.seek;rMr&c�6�URR5$r>)rrr@s rr�SpooledTemporaryFile.tell>s���z�z��� � r&c��UcURR5$XR:�aUR5 URRU5$r>)r�truncaterr)r9�sizes  rrf�SpooledTemporaryFile.truncateAsB���<��:�:�&�&�(�(��n�n�$��
�
���:�:�&�&�t�,�,r&c�6�URR5$r>)r�writabler@s rrj�SpooledTemporaryFile.writableIr!r&c�b�URnURU5nURU5 U$r>)rrnr
)r9�sr��rvs    rrn�SpooledTemporaryFile.writeLs)���z�z��
�Z�Z��]�����D���	r&c�b�URnURU5nURU5 U$r>)r�
writelinesr
)r9�iterabler�rns    rrq�SpooledTemporaryFile.writelinesRs*���z�z��
�_�_�X�
&�����D���	r&c�6�URR5$r>)rrr@s rr�SpooledTemporaryFile.detachXr>r&)rrrr)r�w+b���NNNNNr>),rLrMrNrOrPrr��classmethod�_types�GenericAlias�__class_getitem__r
rr�r�rAr�rorQrr�r�r6r9r<r�rZrDrGrJrOrRrVrYr\r_rrrfrjrnrqrrRr?r&rrr�s.����G�9;�(,�/3�A�?C�A�"$�F�$7�$7�8���
�*�
�%����!��!��#��#��!��!�#��#��3��3������#��#�%�&�'�&�'�*�+�%�&�!�-�%���#r&rc��\rSrSrSrSSS.Sjjr\SSj5r\SSj5rS	r	S
r
SrSr\"\
R5rS
rg)ri\a�Create and return a temporary directory.  This has the same
behavior as mkdtemp but can be used as a context manager.  For
example:

    with TemporaryDirectory() as tmpdir:
        ...

Upon exiting the context, the directory and everything contained
in it are removed (unless delete=False is passed or an exception
is raised during cleanup and ignore_cleanup_errors is not True).

Optional Arguments:
    suffix - A str suffix for the directory name.  (see mkdtemp)
    prefix - A str prefix for the directory name.  (see mkdtemp)
    dir - A directory to create this temp dir in.  (see mkdtemp)
    ignore_cleanup_errors - False; ignore exceptions during cleanup?
    delete - True; whether the directory is automatically deleted.
NT)r�c	���[XU5UlX@lXPl[R
"XRURSRU5URURS9Ulg)NzImplicitly cleaning up {!r})�warn_message�
ignore_errorsr�)	rrZ�_ignore_cleanup_errors�_delete�_weakref�finalize�_cleanupr(�
_finalizer)r9r+r*r,�ignore_cleanup_errorsr�s      rr��TemporaryDirectory.__init__psX���F�C�0��	�&;�#���"�+�+��-�-����6�=�=�d�C��5�5�d�l�l�L��r&c�H^^^^�UUUU4Sjn[R"TUS9 g)Nc�~>�[U[5(ahT(aUT:Xa	T(ageUT:wa([[RRU55 [U5 [R"U5 g[U[5(agT(deg![a TRUTS9 g[ai [RRU5(a$[RRU5(a
T(ageTRUTUT:HS9 gf=f![a gf=f)N�r)r�repeated)rrrr�rr\rdrpr��_rmtreers�
isjunctionrv)r�r\r��clsrrZr�s   ����r�onexc�)TemporaryDirectory._rmtree.<locals>.onexc|s����#��/�/�����$�����t�|�#�C�H�H�$4�$4�T�$:�;���%�=��
�
�4�(�&�C�!2�3�3��$��%��+-�G����D�
��F�*�
=� #�x�x�~�~�d�3�3�s�x�x�7J�7J�4�7P�7P�,� &�!����D�
�.2�d�l�$�=�
=��)����sH�9D/�(B�D,�8D/�:AD,�D/�D,�)D/�+D,�,D/�/
D<�;D<)r�)�_shutil�rmtree)r�rZrr�r�s```` rr��TemporaryDirectory._rmtreezs���$	�$	�L	���t�5�)r&c�h�U(a+URXS9 [R"U[5 gg�Nr�)r�r&r'r))r�rZr~rr�s     rr��TemporaryDirectory._cleanup�s&����K�K��K�:��N�N�<��9�r&c�b�SRURRUR5$)Nz	<{} {!r}>)r(�	__class__rLrZr@s r�__repr__�TemporaryDirectory.__repr__�s#���!�!�$�.�.�"9�"9�4�9�9�E�Er&c��UR$r>)rZr@s rr��TemporaryDirectory.__enter__�s���y�y�r&c�H�UR(aUR5 ggr>)r�r�rs    rr��TemporaryDirectory.__exit__�s���<�<��L�L�N�r&c���URR5(d.[RR	UR
5(a%UR
UR
URS9 ggr�)r�rrr\�existsrZr�r�r@s rr��TemporaryDirectory.cleanup�sK���?�?�!�!�#�#�s�x�x���t�y�y�'A�'A��L�L����$�2M�2M�L�N�(Br&)r�r�r�rZ�NNNF)FF)FT)rLrMrNrOrPr�rxr�r�r�r�r�r�ryrzr{rRr?r&rrr\sp���&6:�',�L�8<�L��'*��'*�R�:��:�
F���O�$�F�$7�$7�8�r&rr�)NNN)rvrwNNNNNT)rvrwNNNNN)CrP�__all__�	functoolsr��warningsr&�ior��osr�shutilr��errnorw�randomrr7�sysr��typesry�weakrefr��_thread�
allocate_lock�_allocate_lock�O_RDWRr��O_EXCLr�r�rrmrr	r(r�rr%r.r0rer}rr�r�r�r�r
r
rr�rrrrrr�r�rrZ�platformrr��IOBaserrr?r&r�<module>r�s����2��������$������&�&���*�*�s�{�{�*�S�Z�Z�7��
�3�����s�~�~�%�O� ��
�3�
����c�l�l�"�N�
�3�	����k�k�G��G����
�
���:,�$?�?�0�6*%�X���A�:�2�"�"���
�'�'�$C�N&F�P�X�4�@�@(�(�V<�<�|;?�9=�(,�<�8<�'+�<�|�8�8�w��$�-�-�8�3�'�M��s�K�0��9=�8<��I�*.�I�Vl#�3�:�:�l#�^\9�\9r&
© 2025 GrazzMean-Shell