+
     Bik                     :   . R,Ot ^ RIt^ RIt^ RIt^ RIt^ RI	t
^ RIt^ RIHt ^ RIt^ RIt^ RIt^ RIt]P.                  t]P2                  ]P4                  ,          ]P6                  ,          t]! ]R4      '       d   ]]P<                  ,          t]t]! ]R4      '       d   ]]P@                  ,          t]! ]R4      '       d   ]PB                  t!MRt!R	t"]! 4       t#R
 t$R t%R t& ! R R4      t'R t(R-R lt)Rs*R t+R t,R t-R t.R t/R t0Rs1R t2R t3R t4R.R lt5R/R lt6R]"R3R lt7 ! R R4      t8 ! R  R!4      t9R0R#RR$R"/R% llt:]Pv                  R&8w  g   ]Px                  R'8X  d   ]:t=M]! ]R(4      s>R1R#R/R) llt= ! R* R]P~                  4      t@ ! R+ R4      tAR# )2NamedTemporaryFileSpooledTemporaryFileTemporaryDirectoryTMP_MAXN)Random
O_NOFOLLOWO_BINARYi'  tmpc                 X     \         P                  ! V 4       R #   \         d     R# i ; i)TF)_oslstatOSError)fns   &/usr/lib/python3.14/tempfile.py_existsr   L   s+    		"   s    ))c                     R pV  F  pVf   K	  \        V\        P                  4      '       d   \        P                  ! V4      p\        V\        4      '       d   V\
        J d   \        R4      h\        pKr  V\        J d   \        R4      h\
        pK  	  Vf/   \        e   \        \        \
        4      '       d   \
        # \        # V# )Nz1Can't mix bytes and non-bytes in path components.)
isinstancer   PathLikefspathbytesstr	TypeErrortempdir)argsreturn_typeargs   *  r   _infer_return_typer   U   s    K;c3<<((**S/Cc5!!c! !3 4 4Ke# !3 4 4K! " ?j#66J L    c                     \        WV4      pVf   V! 4       pV f,   V\        J d   \        p M\        P                  ! \        4      p Vf    V\        J d   \        4       pM
\        4       pWW#3# N)r   r   templater   fsencode
gettempdirgettempdirb)prefixsuffixdiroutput_types   &&& r   _sanitize_paramsr(   r   s`    $VS9K~~#F\\(+F
{#,C-C3++r   c                   @   a  ] tR t^t o Rt]R 4       tR tR tRt	V t
R# )_RandomNameSequence%abcdefghijklmnopqrstuvwxyz0123456789_c                    \         P                  ! 4       pV\        V R R4      8w  d   \        4       V n        Wn        V P                  # )_rng_pidN)r   getpidgetattr_Random_rngr-   )selfcur_pids   & r   rng_RandomNameSequence.rng   s6    **,gdJ55	DI#Myyr   c                    V # r    r2   s   &r   __iter___RandomNameSequence.__iter__   s    r   c                n    R P                  V P                  P                  V P                  ^R7      4      # ) )k)joinr4   choices
charactersr8   s   &r   __next___RandomNameSequence.__next__   s)    wwtxx''1'=>>r   )r1   r-   N)__name__
__module____qualname____firstlineno__r@   propertyr4   r9   rA   __static_attributes____classdictcell____classdict__s   @r   r*   r*      s-      9J ? ?r   r*   c                  *   . p R F4  p\         P                  ! V4      pV'       g   K#  V P                  V4       K6  	  \         P                  R8X  dS   V P	                  \         P
                  P                  R4      \         P
                  P                  R4      RRRR.4       MV P	                  . R	O4        V P                  \         P                  ! 4       4       V #   \        \        3 d$    T P                  \         P                  4        T # i ; i)
TMPDIRntz~\AppData\Local\Tempz%SYSTEMROOT%\Tempzc:\tempzc:\tmpz\tempz\tmp)rM   TEMPTMP)z/tmpz/var/tmpz/usr/tmp)r   getenvappendnameextendpath
expanduser
expandvarsgetcwdAttributeErrorr   curdir)dirlistenvnamedirnames      r   _candidate_tempdir_listr^      s     G +**W%7GNN7+ +
 xx4,,-DE,,-AB#Y'D 	E 	9:#szz|$ N G$ #szz"N#s   8$C 0DDc                    \        4       pV f   \        4       p V  F  pV\        P                  8w  d    \        P                  P                  V4      p\        ^d4       F  p\        V4      p\        P                  P                  W$4      p \        P                  ! V\        R4      p  \        P                  ! VR4       \        P                  ! V4        \        P                  ! V4       Vu u # 	  K  	  \+        \,        P.                  RV ,          4      h  \        P                  ! T4       i ; i  \        P                  ! T4       i ; i  \         d     EK  \         dp    \        P                   R8X  dU   \        P                  P#                  T4      '       d0   \        P$                  ! T\        P&                  4      '       d    EKu    EK  \(         d      EK  i ; i)N  s   blatrN   z)No usable temporary directory found in %s)r*   r^   r   rZ   rU   abspathrangenextr>   open_bin_openflagswritecloseunlinkFileExistsErrorPermissionErrorrS   isdiraccessW_OKr   FileNotFoundError_errnoENOENT)r[   namerr&   seqrS   filenamefds   &      r   _get_default_tempdirru      sR     !E)+#**((""3'C:C;Dxx}}S/HXXh>)&		"g.		"JJx(
 	 8 FMMG#$% % 		"JJx(" "  HH$)<)<JJsCHH-- sZ   E)D D5ED22D55EEG'G'(:G'#*G'G' G'&G'c                      \         fB   \        P                  4         \         f   \        4       s \        P	                  4        \         # \         #   \        P	                  4        i ; ir   )_name_sequence
_once_lockacquirer*   releaser7   r   r   _get_candidate_namesr{      sP     	!%!4!6 >     A A&c                    \         P                  P                  V 4      p \        4       pV\        J d   \        \         P                  V4      p\        \        4       Fm  p\        V4      p\         P                  P                  WV,           V,           4      p\        P                  ! R V4        \         P                  ! WR4      p	Y3u # 	  \        \(        P*                  R4      h  \         d     K  \         dl    \         P                   R8X  dU   \         P                  P#                  T 4      '       d0   \         P$                  ! T \         P&                  4      '       d    EK  h i ; i)ztempfile.mkstempr`   rN   z#No usable temporary file name found)r   rU   ra   r{   r   mapr!   rb   r   rc   r>   _sysauditrd   ri   rj   rS   rk   rl   rm   ro   EEXIST)
r&   presufflagsr'   namesrr   rS   filert   s
   &&&&&     r   _mkstemp_innerr      s    ((

3
C "EeCLL%(W~E{xx}}S*s"23

%t,	$u-B x! $ &--?A A  	 	 D SXX^^C%8%8

3))	s$   0C((E+6E+?:E+:*E+)E+c                     V \         P                  9   d   V ! V.VO5R R/  R# \         P                  P                  V4      '       g   V ! V.VO5!   R# R# )follow_symlinksFN)r   supports_follow_symlinksrU   islink)funcrU   r   s   &&*r   _dont_follow_symlinksr     sG    s+++T0D0%0XX__T""TD #r   c                      \         P                  p\        W^ 4       \        \         P                  V R4       R#   \         d     L*i ; i)      N)r   chflagsr   rY   chmod)rU   r   s   & r   _resetpermsr     s@    0++ 	gQ/#))T51	  s   ; A	A	c                  6    \         P                  ! \        4      # r   )r   fsdecoder    r7   r   r   gettempprefixr   $      <<!!r   c                  6    \         P                  ! \        4      # r   )r   r!   r    r7   r   r   gettempprefixbr   (  r   r   c                      \         fB   \        P                  4         \         f   \        4       s \        P	                  4        \         # \         #   \        P	                  4        i ; ir   )r   rx   ry   ru   rz   r7   r   r   _gettempdirr   .  sL     	!.0 N7N  r|   c                  >    \         P                  ! \        4       4      # r   )r   r   r   r7   r   r   r"   r"   :      <<&&r   c                  >    \         P                  ! \        4       4      # r   )r   r!   r   r7   r   r   r#   r#   >  r   r   c                 d    \        WV4      w  rr$V'       d   \        pM\        p\        W!WV4      # r   )r(   _text_openflagsre   r   )r%   r$   r&   textr'   r   s   &&&&  r   mkstempr   B  s1    : (8'L$FC#vkBBr   c                    \        WV4      w  rr#\        4       pV\        J d   \        \        P
                  V4      p\        \        4       F  p\        V4      p\        P                  P                  W!V,           V ,           4      p\        P                  ! R V4        \        P                  ! VR4       \        P                  P)                  T4      u # 	  \        \*        P,                  R4      h  \         d     K  \         dl    \        P                   R8X  dU   \        P                  P#                  T4      '       d0   \        P$                  ! T\        P&                  4      '       d    EK(  h i ; i)ztempfile.mkdtempr   rN   z(No usable temporary directory name found)r(   r{   r   r~   r   r!   rb   r   rc   rU   r>   r   r   mkdirri   rj   rS   rk   rl   rm   ra   ro   r   )r%   r$   r&   r'   r   rr   rS   r   s   &&&     r   mkdtempr   i  s    (8'L$FC "EeCLL%(W~E{xx}}S4-&"89

%t,	IIdE" xx%%! $ &--DF F  	 	 D SXX^^C%8%8

3))	s$    C44E7E7:E7*E75E7r<   c                 ,   Vf   \        4       p\        4       p\        \        4       FP  p\	        V4      p\
        P                  P                  W!V,           V ,           4      p\        V4      '       d   KN  Vu # 	  \        \        P                  R4      h)Nz"No usable temporary filename found)r"   r{   rb   r   rc   r   rU   r>   r   ri   ro   r   )r%   r$   r&   r   rr   rS   r   s   &&&    r   mktempr     sr    $ {l "EW~E{xx}}S4-&"89t}}K	  &-->@ @r   c                   z   a  ] tR tRt o RtRtR
R lt]P                  R8H  ]P                  3R lt
R tR tRtV tR	# )_TemporaryFileCloseri  Fc                B    Wn         W n        W0n        W@n        WPn        R # r   )r   rS   deletedelete_on_closewarn_message)r2   r   rS   r   r   r   s   &&&&&&r   __init___TemporaryFileCloser.__init__  s     		.(r   rN   c                   V P                   '       g   R V n          V P                  '       g"   R V n        V P                  P                  4        V P                  '       d2   V'       d   V P
                  '       g    V! V P                  4       R# R# R# R#   \         d     R# i ; i  T P                  '       dA   T'       d   T P
                  '       g&    T! T P                  4       i   \         d     i i ; ii i ; iTN)cleanup_calledclose_calledr   rg   r   r   rS   rn   )r2   windowsrh   s   &&&r   cleanup_TemporaryFileCloser.cleanup  s    """"&D((((,D%IIOO% ;;;D4H4H4Htyy) 5I; # -  ;;;D4H4H4Htyy),  5I;sL   B' !B' ;B B$#B$'C;C;C('C;(C63C;5C66C;c                X   V P                   '       g]   R V n          V P                  P                  4        V P                  '       d'   V P                  '       d   V P                  4        R# R# R# R#   T P                  '       d%   T P                  '       d   T P                  4        i i i ; ir   )r   r   rg   r   r   r   r8   s   &r   rg   _TemporaryFileCloser.close  sz        $D#		!;;;4#7#7#7LLN $8; !
 ;;;4#7#7#7LLN $8;s   A1 1$B)B)c                    V P                   pV P                  4        V'       g(   \        P                  ! V P                  \
        4       R # R # r   )r   r   	_warningswarnr   ResourceWarning)r2   r   s   & r   __del___TemporaryFileCloser.__del__  s2    ((NN4,,o> r   )r   r   r   r   r   rS   r   N)TTz#Implicitly cleaning up unknown file)rC   rD   rE   rF   r   r   r   r   rS   rh   r   rg   r   rH   rI   rJ   s   @r   r   r     s>     
 NL)  #xx4/  #? ?r   r   c                   N   a  ] tR tRt o RR ltR tR tR tR tR t	R t
R	tV tR
# )_TemporaryFileWrapperi  c                P    Wn         W n        \        VVVVR V : 2R7      V n        R# )zImplicitly cleaning up )r   N)r   rS   r   _closer)r2   r   rS   r   r   s   &&&&&r   r   _TemporaryFileWrapper.__init__  s.    		+24(;
r   c                b    V P                   R ,          pR\        V 4      P                   RV: R2# )r   <z file=>)__dict__typerC   )r2   r   s   & r   __repr___TemporaryFileWrapper.__repr__  s0    }}V$4:&&'wq11r   c                  a V P                   R ,          p\        W!4      p\        VR4      '       d5   Vo\        P                  ! S4      V3R l4       pV P
                  Vn        Tp\        V\        4      '       g   \        WV4       V# )r   __call__c                     < S! V / VB # r   r7   )r   kwargsr   s   *,r   func_wrapper7_TemporaryFileWrapper.__getattr__.<locals>.func_wrapper  s    T,V,,r   )	r   r/   hasattr
_functoolswrapsr   r   intsetattr)r2   rS   r   ar   r   s   &&   @r   __getattr__!_TemporaryFileWrapper.__getattr__  s{     }}V$D1j!!Dd#- $- $(<<L A!S!!D"r   c                :    V P                   P                  4        V # r   )r   	__enter__r8   s   &r   r   _TemporaryFileWrapper.__enter__  s    		r   c                r    V P                   P                  WV4      pV P                  P                  4        V# r   )r   __exit__r   r   )r2   excvaluetbresults   &&&& r   r   _TemporaryFileWrapper.__exit__  s-    ##C3r   c                :    V P                   P                  4        R # r   )r   rg   r8   s   &r   rg   _TemporaryFileWrapper.close  s     	r   c              #  <   "   V P                    F  pVx  K	  	  R # 5ir   )r   )r2   lines   & r   r9   _TemporaryFileWrapper.__iter__%  s      IIDJ s   )r   r   rS   N)TT)rC   rD   rE   rF   r   r   r   r   r   rg   r9   rH   rI   rJ   s   @r   r   r     s-     	
2*
 r   r   Terrorsr   c          
      V  aaaaaa \        SSS4      w  oooo\        o\        P                  R 8X  d(   V'       d    V	'       d   S\        P                  ,          oRV 9  d   \
        P                  ! V4      pRoVVVVVV3R lp
 \
        P                  ! SWW2VV
R7      p \        VRV4      p\        VRV4      pSVn        \        VSWy4      #    TP                  4        h ; i   Se<   \        P                  R 8X  d   T'       d	   T	'       g   \        P                  ! S4       h ; i)rN   bNc                  ,   < \        SSSSS4      w  poV# r   )r   )r   rt   r&   r   rS   r'   r$   r%   s   * r   opener"NamedTemporaryFile.<locals>.openerV  s    !#vvukJD	r   	bufferingnewlineencodingr   r   bufferraw)r(   re   r   rS   O_TEMPORARY_iotext_encodingrd   r/   r   rg   rh   )moder   r   r   r%   r$   r&   r   r   r   r   r   r   r   rS   r'   s   &&&&fff&$$   @@@r   r   r   .  s    6 (8'L$FFCE xx4F 
$$$X.D xxT '6%'	$$/C#uc*CCH(tVMM	JJLHHOJJts*   C& "-C C##C& &"D(	D(D(posixcygwin	O_TMPFILEc          
        aaaaaa R V 9  d   \         P                  ! V4      p\        SSS4      w  oooo\        o\        '       dI   RoVVV3R lp \         P
                  ! SWW2WxR7      p	\        V	RV	4      p
\        V
RV
4      p
SV
n        V	# RoVVVVVV3R lp\         P
                  ! SWW2VVR7      p	\        V	RV	4      p
\        V
RV
4      p
SV
n        V	#   \         d    Rs LZ\         d     Lfi ; i)r   Nc                     < S\         P                  ,          \         P                  ( ,          p\         P                  ! SVR 4      oS# )r`   )r   r   O_CREATrd   )r   flags2r&   rt   r   s   * r   r   TemporaryFile.<locals>.opener  s3    #--/CKK<?XXc651	r   r   r   r   Fc                     < \        SSSSS4      w  op \        P                  ! V4       S#   \         d   p\        P                  ! S4       h R p?ii ; ir   )r   r   rh   BaseExceptionrg   )	r   rS   er&   rt   r   r'   r$   r%   s	   *  r   r   r     sQ    %c665+NHB

4  I ! 		"s   - AAA)
r   r   r(   re   _O_TMPFILE_WORKSrd   r/   rS   IsADirectoryErrorr   )r   r   r   r   r%   r$   r&   r   r   r   r   rt   r   r'   s   &&&&fff$   @@@r   TemporaryFiler  w  s   $ d?((2H+;FFC+P([B
xxT(/'-> dHd3c5#.& 	 	 xxT '6%' dHd+c5#&E % ) $)   s   <C C7*C73C76C7c                   T  a  ] tR tRt o RtR&RR/R llt]! ]P                  4      t	R t
R tR tR	 tR
 tR tR t]R 4       t]R 4       t]R 4       tR tR tR t]R 4       t]R 4       t]R 4       tR tR tR tR tR tR t R t!R t"R t#R t$R'R  lt%R! t&R" t'R# t(R$ t)R%t*V t+R# )(r   i  FNr   c	                   R V9   d   \         P                  ! 4       V n        MG\         P                  ! V4      p\         P                  ! \         P                  ! 4       WIVR7      V n        Wn        RV n        RVRVRVRVRVRVR	VR
V	/V n        R# )r   )r   r   r   Fr   r   r%   r$   r   r   r&   r   N)r   BytesIO_filer   TextIOWrapper	_max_size_rolled_TemporaryFileArgs)
r2   max_sizer   r   r   r   r%   r$   r&   r   s
   &&&&&&&&&$r   r   SpooledTemporaryFile.__init__  s     $;DJ((2H**3;;=%-$+-DJ "#)4i#+VXv#-xG#(#x#Ar   c                    V P                   '       d   R # V P                  pV'       d*   VP                  4       V8  d   V P                  4        R # R # R # r   )r  r  tellrollover)r2   r   r  s   && r   _checkSpooledTemporaryFile._check  s6    <<<>>		h.MMO /8r   c                   V P                   '       d   R # V P                  p\        R/ V P                  B ;q n        V =VP	                  4       p\        VR4      '       d9   VP                  P                  VP                  4       P                  4       4       MVP                  VP                  4       4       VP                  V^ 4       RV n         R # )Nr   Tr7   )r  r	  r  r  r  r   r   rf   detachgetvalueseek)r2   r   newfileposs   &   r   r  SpooledTemporaryFile.rollover  s    <<<zz,Gt/F/FGG*#iik7H%%NN  !7!7!9:MM$--/*S!r   c                T    V P                   P                  '       d   \        R 4      hV # )z%Cannot enter context with closed file)r	  closed
ValueErrorr8   s   &r   r   SpooledTemporaryFile.__enter__  s#    ::DEEr   c                :    V P                   P                  4        R # r   r	  rg   r2   r   r   r   s   &&&&r   r   SpooledTemporaryFile.__exit__      

r   c                6    V P                   P                  4       # r   )r	  r9   r8   s   &r   r9   SpooledTemporaryFile.__iter__       zz""$$r   c                    V P                   '       g@   \        P                  ! R P                  V 4      \        ^V R7       V P                  4        R# R# )zUnclosed file {!r})
stacklevelsourceN)r  r   r   formatr   rg   r8   s   &r   r   SpooledTemporaryFile.__del__  s>    {{{NN$++D1	 JJL r   c                :    V P                   P                  4        R # r   r!  r8   s   &r   rg   SpooledTemporaryFile.close  r$  r   c                .    V P                   P                  # r   )r	  r  r8   s   &r   r  SpooledTemporaryFile.closed      zz   r   c                .    V P                   P                  # r   )r	  r   r8   s   &r   r   SpooledTemporaryFile.encoding      zz"""r   c                .    V P                   P                  # r   )r	  r   r8   s   &r   r   SpooledTemporaryFile.errors  r1  r   c                V    V P                  4        V P                  P                  4       # r   )r  r	  filenor8   s   &r   r8  SpooledTemporaryFile.fileno  s    zz  ""r   c                :    V P                   P                  4        R # r   )r	  flushr8   s   &r   r;  SpooledTemporaryFile.flush   r$  r   c                6    V P                   P                  4       # r   )r	  isattyr8   s   &r   r>  SpooledTemporaryFile.isatty#      zz  ""r   c                x     V P                   P                  #   \         d    T P                  R ,          u # i ; i)r   )r	  r   rY   r  r8   s   &r   r   SpooledTemporaryFile.mode&  s5    	3::??" 	3**622	3s    99c                T     V P                   P                  #   \         d     R # i ; ir   )r	  rS   rY   r8   s   &r   rS   SpooledTemporaryFile.name-  s'    	::??" 		s    ''c                .    V P                   P                  # r   )r	  newlinesr8   s   &r   rF  SpooledTemporaryFile.newlines4  r4  r   c                6    V P                   P                  4       # r   )r	  readabler8   s   &r   rI  SpooledTemporaryFile.readable8  r'  r   c                6    V P                   P                  ! V!  # r   )r	  readr2   r   s   &*r   rL  SpooledTemporaryFile.read;      zz%%r   c                6    V P                   P                  ! V!  # r   )r	  read1rM  s   &*r   rQ  SpooledTemporaryFile.read1>  s    zz&&r   c                8    V P                   P                  V4      # r   )r	  readintor2   r   s   &&r   rT  SpooledTemporaryFile.readintoA  s    zz""1%%r   c                8    V P                   P                  V4      # r   )r	  	readinto1rU  s   &&r   rX  SpooledTemporaryFile.readinto1D  s    zz##A&&r   c                6    V P                   P                  ! V!  # r   )r	  readlinerM  s   &*r   r[  SpooledTemporaryFile.readlineG  s    zz""D))r   c                6    V P                   P                  ! V!  # r   )r	  	readlinesrM  s   &*r   r^  SpooledTemporaryFile.readlinesJ  s    zz##T**r   c                6    V P                   P                  4       # r   )r	  seekabler8   s   &r   ra  SpooledTemporaryFile.seekableM  r'  r   c                6    V P                   P                  ! V!  # r   )r	  r  rM  s   &*r   r  SpooledTemporaryFile.seekP  rO  r   c                6    V P                   P                  4       # r   )r	  r  r8   s   &r   r  SpooledTemporaryFile.tellS  s    zz  r   c                    Vf   V P                   P                  4       # WP                  8  d   V P                  4        V P                   P                  V4      # r   )r	  truncater  r  )r2   sizes   &&r   rh  SpooledTemporaryFile.truncateV  sB    <::&&((nn$::&&t,,r   c                6    V P                   P                  4       # r   )r	  writabler8   s   &r   rl  SpooledTemporaryFile.writable^  r'  r   c                b    V P                   pVP                  V4      pV P                  V4       V# r   )r	  rf   r  )r2   sr   rvs   &&  r   rf   SpooledTemporaryFile.writea  s)    zzZZ]D	r   c                *   V P                   ^ 8X  g   V P                  '       d   V P                  P                  V4      # \	        V4      pV FC  pV P                  V4       V P                  '       g   K(  V P                  P                  V4      u # 	  R# )r   N)r  r  r	  
writelinesiterrf   )r2   iterableitr   s   &&  r   rs  SpooledTemporaryFile.writelinesg  sh    >>Q$,,,::((22(^DJJt|||zz,,R00 r   c                6    V P                   P                  4       # r   )r	  r  r8   s   &r   r  SpooledTemporaryFile.detachq  r@  r   )r  r	  r  r  )r   w+bNNNNNr   ),rC   rD   rE   rF   r  r   classmethod_typesGenericAlias__class_getitem__r  r  r   r   r9   r   rg   rG   r  r   r   r8  r;  r>  r   rS   rF  rI  rL  rQ  rT  rX  r[  r^  ra  r  r  rh  rl  rf   rs  r  rH   rI   rJ   s   @r   r   r     s(    
 GA?CA" $F$7$78*
% ! ! # # ! !## 3 3   # #%&'&'*+%&!-%1# #r   c                      a  ] tR tRt o RRR/R llt]RR l4       t]RR l4       tR tR	 t	R
 t
R t]! ]P                  4      tRtV tR# )r   iu  Nr   Tc          	         \        WV4      V n        W@n        WPn        \        P
                  ! W P                  V P                  R P                  V 4      V P                  V P                  R7      V n        R# )zImplicitly cleaning up {!r})r   ignore_errorsr   N)	r   rS   _ignore_cleanup_errors_delete_weakreffinalize_cleanupr+  
_finalizer)r2   r%   r$   r&   ignore_cleanup_errorsr   s   &&&&&$r   r   TemporaryDirectory.__init__  sX    FC0	&;#"++--6==dC55dllLr   c                P   a aaa V VVV3R  lp\         P                  ! SVR7       R# )c                   < \        V\        4      '       do   S'       d   VS8X  d   S'       d   R # h  VS8w  d)   \        \        P                  P                  V4      4       \        V4        \        P                  ! V4       R # \        V\        4      '       d   R # S'       g   h R #   \         d    SP                  TSR7        R # \         dr    \        P                  P                  T4      '       d&   \        P                  P                  T4      '       d   S'       d    R # h SP                  TSTS8H  R7        R # i ; i  \         d     R # i ; i)Nr  )r  repeated)r   rj   r   r   rU   r]   rh   r  _rmtreerk   
isjunctionrn   )r   rU   r   clsr  rS   r  s   &&&r   onexc)TemporaryDirectory._rmtree.<locals>.onexc  s   #//$t|#CHH$4$4T$:;%=

4(& C!233$ %+ - GDF* =  #xx~~d33sxx7J7J47P7P, &!D.2dl $ == ) sY   :E .B) )EE 
E%E9$EE&E )EE EE EE)r  N)_shutilrmtree)r  rS   r  r  r  s   ffff r   r  TemporaryDirectory._rmtree  s    $	 $	L 	t5)r   c                t    V'       d0   V P                  WR 7       \        P                  ! V\        4       R# R# r  N)r  r   r   r   )r  rS   r   r  r   s   &&&&&r   r  TemporaryDirectory._cleanup  s&    KKK:NN<9 r   c                b    R P                  V P                  P                  V P                  4      # )z	<{} {!r}>)r+  	__class__rC   rS   r8   s   &r   r   TemporaryDirectory.__repr__  s#    !!$.."9"9499EEr   c                    V P                   # r   )rS   r8   s   &r   r   TemporaryDirectory.__enter__  s    yyr   c                N    V P                   '       d   V P                  4        R # R # r   )r  r   r"  s   &&&&r   r   TemporaryDirectory.__exit__  s    <<<LLN r   c                    V P                   P                  4       '       g0   \        P                  P	                  V P
                  4      '       d*   V P                  V P
                  V P                  R 7       R# R# r  )r  r  r   rU   existsrS   r  r  r8   s   &r   r   TemporaryDirectory.cleanup  sK    ??!!##sxxtyy'A'ALL$2M2MLN (Br   )r  r  r  rS   NNNF)FF)FT)rC   rD   rE   rF   r   r|  r  r  r   r   r   r   r}  r~  r  rH   rI   rJ   s   @r   r   r   u  sf     (L8<L '* '*R : :
FO $F$7$78r   )r   r  r   r   r   r   r   r   r   r   r"   r   r#   r   r  )NNN)rz  r{  NNNNNT)rz  r{  NNNNN)B__all__	functoolsr   warningsr   ior   osr   shutilr  errnoro   randomr   r0   sysr   typesr}  weakrefr  _threadallocate_lock_allocate_lockO_RDWRr   O_EXCLr   r   r   re   r   r   r    rx   r   r   r(   r*   r^   ru   rw   r{   r   r   r   r   r   r   r   r"   r#   r   r   r   r   r   r   rS   platformr  r  IOBaser   r   r7   r   r   <module>r     s  4       $    &&**s{{*SZZ7
3s~~%O 
3
cll"N
3	kkGG  
:,$? ?06+%Z A:2"" 
''$CN&FP X4 @@3? 3?lE EN<8<< (,<| 88w$--83 'M sK0I*.IVp#3:: p#f\9 \9r   