grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026§ åôó§ñäjãóÌ—dZgd¢ZddlZddlZddlZddlZ ddl Z ddl Z ddlZddlmZddlZddlZddlZddlZejZe je jze jzZe e d¦«r ee j!zZeZ"e e d¦«r e"e j#zZ"e e d¦«re j$Z$ndZ$d Z%e¦«Z&d „Z'd „Z(d „Z)Gd „d¦«Z*d„Z+d„Z,da-d„Z.d„Z/d„Z0d„Z1d„Z2d„Z3da4d„Z5d„Z6d„Z7d0d„Z8d1d„Z9de%dfd„Z:Gd„d ¦«Z;Gd!„d"¦«Z< d2dd&œd'„Z=e j>d(ks ej?d)kre=Z@ne e d*¦«aA d3dd&œd+„Z@Gd,„d-ejB¦«ZCGd.„d/¦«ZDdS)4a�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— tj|¦«dS#t$rYdSwxYw)NTF)Ú_osÚlstatÚOSError)Úfns ú//opt/alt/python311/lib64/python3.11/tempfile.pyÚ_existsrMs?€ðÝ Œ �"‰ Œ ˆ ðˆtøõ ððð؈uˆuðøøøs ‚˜ &¥&có€—d}|D]‡}|€Œt|tj¦«rtj|¦«}t|t¦«r |t urt d¦«‚t}Œh|turt d¦«‚t }Œˆ|€/t�ttt ¦«rt StS|S)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%Vs΀à€KØððˆØ ˆ;Ø å �c�3œ<Ñ (Ô (ð "Ý”*˜S‘/”/ˆCå �c�5Ñ !Ô !ð Ø�cÐ!Ð!Ýð!3ñ4ô4ð4åˆKˆKà�eÐ#Ð#Ýð!3ñ4ô4ð4åˆKˆKØÐÝ ˆ?�j­µ#Ñ6Ô6ˆ?݈JõˆLØ Ðócóð—t|||¦«}|€ |¦«}|€*|turt}ntjt¦«}|€&|turt ¦«}nt ¦«}||||fS)z9Common parameter processing for most APIs in this module.)r%r ÚtemplaterÚfsencoder r)ÚprefixÚsuffixÚdirÚ output_types rÚ_sanitize_paramsr.ss|€å$ V¨V°SÑ9Ô9€KØ €~Ø�‘”ˆØ €~Ø �#РР݈FˆFå”\¥(Ñ+Ô+ˆFØ €{Ø �#Ð Ð Ý‘,”,ˆCˆCå‘-”-ˆCØ �6˜3  Ð +Ð+r&có8—eZdZdZdZed„¦«Zd„Zd„ZdS)Ú_RandomNameSequencea,An 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ó”—tj¦«}|t|dd¦«krt¦«|_||_|jS)NÚ_rng_pid)rÚgetpidÚgetattrÚ_RandomÚ_rngr3)ÚselfÚcur_pids rÚrngz_RandomNameSequence.rng�s>€å”*‘,”,ˆØ •g˜d J°Ñ5Ô5Ò 5Ð 5Ý™ œ ˆDŒIØ#ˆDŒMØŒyÐr&có—|S©N©©r8s rÚ__iter__z_RandomNameSequence.__iter__—s€Øˆ r&cój—d |j |jd¬¦«¦«S)NÚé)Úk)Újoinr:ÚchoicesÚ charactersr>s rÚ__next__z_RandomNameSequence.__next__šs+€Ø�wŠw�t”x×'Ò'¨¬¸1Ð'Ñ=Ô=Ñ>Ô>Ð>r&N) Ú__name__Ú __module__Ú __qualname__Ú__doc__rFÚpropertyr:r?rGr=r&rr0r0…s\€€€€€ð+ð+ð9€Jà ððñ„Xððððð?ð?ð?ð?ð?r&r0có —g}dD]-}tj|¦«}|r| |¦«Œ.tjdkrV| tj d¦«tj d¦«ddddg¦«n| gd ¢¦« | tj¦«¦«n6#ttf$r"| tj ¦«YnwxYw|S) z[Generate 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_listr_�s!€ð€Gð+ð,ð,ˆÝ”*˜WÑ%Ô%ˆØ Ð+�G—N’N 7Ñ+Ô+Ð+øõ „x�4ÒÐØ�Š�œ×,Ò,Ð-DÑEÔEÝœ×,Ò,Ð-AÑBÔBØ# Y°¸'ðDñ Eô Eð Eð Eð �ŠÐ9Ð9Ð9Ñ:Ô:Ð:ð#Ø�Š•s”z‘|”|Ñ$Ô$Ð$Ð$øÝ �GÐ $ð#ð#ð#Ø�Š•s”zÑ"Ô"Ð"Ð"Ð"ð#øøøð €NsÂ1&CÃ0D Ä D có€—t¦«}t¦«}|D�]‚}|tjkrtj |¦«}t d¦«D�]?}t|¦«}tj ||¦«} tj |td¦«} tj |d¦«tj |¦«n#tj |¦«wxYw tj |¦«n#tj |¦«wxYw|ccS#t$rYŒÔt$rUtjdkrAtj |¦«r"tj|tj¦«rY�Œ.Ynt($rYnwxYw�Œ„t+t,jd|z¦«‚)aqCalculate 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é€sblatrQz)No usable temporary directory found in %s)r0r_rr[rVÚabspathÚrangeÚnextrDÚopenÚ_bin_openflagsÚwriteÚcloseÚunlinkÚFileExistsErrorÚPermissionErrorrTÚisdirÚaccessÚW_OKrÚFileNotFoundErrorÚ_errnoÚENOENT)Únamerr\r,ÚseqrTÚfilenameÚfds rÚ_get_default_tempdirrw¸s¾€õ Ñ !Ô !€EÝ%Ñ'Ô'€GàðñˆØ •#”*Ò Ð Ý”(×"Ò" 3Ñ'Ô'ˆC嘑:”:ð ñ ˆCݘ‘;”;ˆDÝ”x—}’} S¨$Ñ/Ô/ˆHð Ý”X˜h­¸Ñ>Ô>�ð)ð&Ýœ  " gÑ.Ô.Ð.åœ  "™ œ ˜ ˜ ø�œ  "™ œ ˜ ˜ øøø˜ å”J˜xÑ(Ô(Ð(Ð(ø•C”J˜xÑ(Ô(Ð(Ð(øøøØ� � � � � øÝ"ð ð ð Ø�Ý"ð ð ð õ”H Ò$Ð$­¬¯ª¸Ñ)<Ô)<Ð$Ý”J˜s¥C¤HÑ-Ô-ð%à‘HØ��Ýð ð ð Ø��ð øøøùå �FœMØGØ#ñ$ñ %ô %ð%sIÂD(Â0CÃD ÃC0Ã0D Ã4D(Ä DÄD(Ä( FÄ4AFÆ FÆFcóì—t€gt ¦« t€t¦«at ¦«n#t ¦«wxYwtS)z7Common setup sequence for all user-callable interfaces.)Ú_name_sequenceÚ _once_lockÚacquirer0Úreleaser=r&rÚ_get_candidate_namesr}æse€õÐÝ×ÒÑÔÐð !ÝÐ%Ý!4Ñ!6Ô!6�å × Ò Ñ Ô Ð Ð ø�J× Ò Ñ Ô Ð Ð øøøÝ Ðó ¢AÁA,có¦—tj |¦«}t¦«}|turt tj|¦«}tt¦«D]Ó}t|¦«}tj  |||z|z¦«}tj d|¦« tj ||d¦«} nj#t$rYŒpt$rRtjdkr@tj |¦«r!tj|tj¦«rYŒÉ‚wxYw| |fcStt(jd¦«‚)z>Code common to mkstemp, TemporaryFile, and NamedTemporaryFile.ztempfile.mkstemprbrQz#No usable temporary file name found)rrVrcr}rÚmapr)rdr rerDÚ_sysÚauditrfrkrlrTrmrnrorqÚEEXIST) r,ÚpreÚsufÚflagsr-ÚnamesrtrTÚfilervs rÚ_mkstemp_innerr‰ôsH€õ Œ(× Ò ˜3Ñ Ô €CÝ Ñ "Ô "€EØ•eÐÐÝ•C”L %Ñ(Ô(ˆå•W‰~Œ~ððˆÝ�E‰{Œ{ˆÝŒx�}Š}˜S #¨¡*¨sÑ"2Ñ3Ô3ˆÝ Œ Ð% tÑ,Ô,Ð,ð Ý”˜$  uÑ-Ô-ˆBˆBøÝð ð ð Ø ˆHÝð ð ð õ”˜DÒ Ð ¥S¤X§^¢^°CÑ%8Ô%8Ð Ý” ˜3¥¤Ñ)Ô)ð!à�àð øøøð�4ˆxˆˆˆå �&œ-Ø?ñ Aô AðAsÂ2C à D0ÃAD0Ä.D0có²—|tjvr||g|¢RddiŽdStjdkstj |¦«s ||g|¢RŽdSdS)NÚfollow_symlinksFrQ)rÚsupports_follow_symlinksrTrVÚislink)ÚfuncrVr"s rÚ_dont_follow_symlinksr�s|€à �sÔ+Ð+Ð+Ø ˆˆTÐ0�DÐ0Ð0Ð0¨%Ð0Ð0Ð0Ð0Ð0Ý Œ�TÒ Ð ¥¤§¢°Ñ!6Ô!6Ð Ø ˆˆTÐ�DÐÐÐÐÐÐð Ð r&cóš— tj}t||d¦«n#t$rYnwxYwttj|d¦«dS)NréÀ)rÚchflagsr�rZÚchmod)rVr’s rÚ _resetpermsr”sc€ð0Ý”+ˆõ ˜g t¨QÑ/Ô/Ð/Ð/øõ ð ð ð Ø ˆð øøøõ�#œ) T¨5Ñ1Ô1Ð1Ð1Ð1s ‚   -¬-có4—tjt¦«S)z7The default prefix for temporary directories as string.)rÚfsdecoder(r=r&rr r $ó€å Œ<�Ñ !Ô !Ð!r&có4—tjt¦«S)z6The default prefix for temporary directories as bytes.)rr)r(r=r&rr r (r—r&cóì—t€gt ¦« t€t¦«at ¦«n#t ¦«wxYwtS)z&Private accessor for tempfile.tempdir.)r rzr{rwr|r=r&rÚ _gettempdirrš.sb€õ€Ý×ÒÑÔÐð !݈Ý.Ñ0Ô0�å × Ò Ñ Ô Ð Ð ø�J× Ò Ñ Ô Ð Ð øøøÝ €Nr~cóB—tjt¦«¦«S)z Returns tempfile.tempdir as str.)rr–ršr=r&rr r :ó€å Œ<� ™ œ Ñ &Ô &Ð&r&cóB—tjt¦«¦«S)z"Returns tempfile.tempdir as bytes.)rr)ršr=r&rrr>rœr&Fcóv—t|||¦«\}}}}|rt}nt}t|||||¦«S)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_openflagsrgr‰)r+r*r,Útextr-r†s rrrBsH€õ:(8¸ÀÈÑ'LÔ'LÑ$€FˆF�C˜à ð݈ˆåˆå ˜#˜v v¨u°kÑ BÔ BÐBr&cóŽ—t|||¦«\}}}}t¦«}|turttj|¦«}t t¦«D]Ð}t|¦«}tj   |||z|z¦«}tj d|¦« t j |d¦«nj#t$rYŒot$rRtjdkr@tj  |¦«r!t j|tj¦«rYŒÈ‚wxYw|cStt(jd¦«‚)aUser-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‘rQz(No usable temporary directory name found)r.r}rr€rr)rdr rerVrDr�r‚ÚmkdirrkrlrTrmrnrorqrƒ)r+r*r,r-r‡rtrTrˆs rrrisI€õ(8¸ÀÈÑ'LÔ'LÑ$€FˆF�C˜å Ñ "Ô "€EØ•eÐÐÝ•C”L %Ñ(Ô(ˆå•W‰~Œ~ððˆÝ�E‰{Œ{ˆÝŒx�}Š}˜S &¨4¡-°&Ñ"8Ñ9Ô9ˆÝ Œ Ð% tÑ,Ô,Ð,ð Ý ŒI�d˜EÑ "Ô "Ð "Ð "øÝð ð ð Ø ˆHÝð ð ð õ”˜DÒ Ð ¥S¤X§^¢^°CÑ%8Ô%8Ð Ý” ˜3¥¤Ñ)Ô)ð!à�àð øøøðˆ ˆ ˆ å �&œ-ØDñ Fô FðFsÂ)B?Â? D&à AD&Ä$D&rAcó0—|€t¦«}t¦«}tt¦«D]J}t |¦«}t j |||z|z¦«}t|¦«s|cSŒKttj d¦«‚)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. Nz"No usable temporary filename found) r r}rdr rerrVrDrrkrqrƒ)r+r*r,r‡rtrTrˆs rrr‘s•€ð$ €{݉lŒlˆå Ñ "Ô "€EÝ•W‰~Œ~ððˆÝ�E‰{Œ{ˆÝŒx�}Š}˜S &¨4¡-°&Ñ"8Ñ9Ô9ˆÝ�t‰}Œ}ð ØˆKˆKˆKð õ �&œ-Ø>ñ @ô @ð@r&có\—eZdZdZdZdZd d„Zejdkrej fd„Z d„Z dSd „Z dS) Ú_TemporaryFileCloserz–A separate object allowing proper closing of a temporary file's underlying file object, without adding a __del__ method to the temporary file.NFTcó0—||_||_||_dSr<)rˆrTÚdelete©r8rˆrTr§s rÚ__init__z_TemporaryFileCloser.__init__¹s€ØˆŒ ؈Œ ؈Œ ˆ ˆ r&rQcóØ—|js`|j�[d|_ |j ¦«|jr||j¦«dSdS#|jr||j¦«wwxYwdSdS©NT)Ú close_calledrˆrir§rT)r8rjs rriz_TemporaryFileCloser.closeÈs–€ØÔ$ð *¨¬Ð)>Ø$(�Ô!ð*Ø”I—O’OÑ%Ô%Ð%à”{ð*ؘ˜tœyÑ)Ô)Ð)Ð)Ð)ð*ð*ø�t”{ð*ؘ˜tœyÑ)Ô)Ð)Ð)ð*øøøð  *ð *Ð)>Ð)>s —A Á A%có.—| ¦«dSr<)rir>s rÚ__del__z_TemporaryFileCloser.__del__Òs€Ø �JŠJ‰LŒLˆLˆLˆLr&cóX—|js"d|_|j ¦«dSdSr«)r¬rˆrir>s rriz_TemporaryFileCloser.closeÖs7€ØÔ$ð "Ø$(�Ô!Ø” —’Ñ!Ô!Ð!Ð!Ð!ð "ð "r&©T) rHrIrJrKrˆr¬r©rrTrjrir®r=r&rr¥r¥±s�€€€€€ððð €DØ€Lððððð „x�4ÒÐð #œzð *ð *ð *ð *ð ð ð ð ð ð "ð "ð "ð "ð "r&r¥có8—eZdZdZd d„Zd„Zd„Zd„Zd„Zd„Z d S) Ú_TemporaryFileWrapperzÄ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. Tcó\—||_||_||_t|||¦«|_dSr<)rˆrTr§r¥Ú_closerr¨s rr©z_TemporaryFileWrapper.__init__äs.€ØˆŒ ؈Œ ؈Œ Ý+¨D°$¸Ñ?Ô?ˆŒ ˆ ˆ r&có ‡—|jd}t||¦«}t|d¦«r/|Štj‰¦«ˆfd„¦«}|j|_|}t |t¦«st|||¦«|S)NrˆÚ__call__có•—‰|i|¤ŽSr<r=)r"ÚkwargsrŽs €rÚ func_wrapperz7_TemporaryFileWrapper.__getattr__..func_wrapperòsø€à�t˜TÐ, VÐ,Ð,Ð,r&) Ú__dict__r5ÚhasattrÚ _functoolsÚwrapsr´rÚintÚsetattr)r8rTrˆÚar¹rŽs @rÚ __getattr__z!_TemporaryFileWrapper.__getattr__ês ø€ðŒ}˜VÔ$ˆÝ �D˜$Ñ Ô ˆÝ �1�jÑ !Ô !ð ØˆDÝ Ô ˜dÑ #Ô #ð -ð -ð -ð -ñ$Ô #ð -ð$(¤<ˆLÔ ØˆAݘ!�SÑ!Ô!ð #Ý �D˜$ Ñ "Ô "Ð "؈r&có8—|j ¦«|Sr<)rˆÚ __enter__r>s rrÃz_TemporaryFileWrapper.__enter__ÿs€Ø Œ ×ÒÑÔÐØˆ r&cóf—|j |||¦«}| ¦«|Sr<)rˆÚ__exit__ri)r8ÚexcÚvalueÚtbÚresults rrÅz_TemporaryFileWrapper.__exit__s-€Ø”×#Ò# C¨°Ñ3Ô3ˆØ � Š ‰ Œ ˆ ؈ r&có8—|j ¦«dS)zA Close the temporary file, possibly deleting it. N)r´rir>s rriz_TemporaryFileWrapper.close s€ð Œ ×ÒÑÔÐÐÐr&c#ó&K—|jD]}|V—ŒdSr<)rˆ)r8Úlines rr?z_TemporaryFileWrapper.__iter__s.èè€ð ”Ið ð ˆD؈JˆJˆJˆJð ð r&Nr°) rHrIrJrKr©rÁrÃrÅrir?r=r&rr²r²Üs�€€€€€ððð@ð@ð@ð@ð ððð*ððð ððð ðððððððr&r²úw+béÿÿÿÿT©Úerrorsc 󇇇‡ ‡ ‡—t‰‰‰¦«\ŠŠŠŠtŠ tjdkr|r‰ tjzŠ d|vrt j|¦«}dŠ ˆˆ ˆ ˆˆˆfd„} t j‰|||||| ¬¦«} t| d| ¦«} t| d| ¦«} ‰ | _t| ‰ |¦«S#|   ¦«‚xYw#‰ �&tjdkr|stj ‰ ¦«‚xYw)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) 'delete' -- whether the file is deleted on close (default True). '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. rQÚbNcó4•—t‰‰‰‰‰¦«\}Š|Sr<)r‰)r"rvr,r†rTr-r*r+s €€€€€€rÚopenerz"NamedTemporaryFile..opener?s!ø€å! # v¨v°u¸kÑJÔJ‰ˆˆD؈ r&©Ú bufferingÚnewlineÚencodingrÐrÔÚbufferÚraw) r.rgrrTÚ O_TEMPORARYÚ_ioÚ text_encodingrfr5r²rirj)ÚmoderÖrØr×r+r*r,r§rÐrÔrˆrÚr†rTr-s ``` @@@rrrsPøøøøøø€õ.(8¸ÀÈÑ'LÔ'LÑ$€FˆF�C˜å €Eõ „x�4ÒИFÐØ •”Ñ ˆà �$€€ÝÔ$ XÑ.Ô.ˆà €DðððððððððððÝŒx˜˜T¨YØ '°(À6Ø%ð'ñ'ô'ˆð ݘ$ ¨$Ñ/Ô/ˆCݘ#˜u cÑ*Ô*ˆC؈CŒHÝ(¨¨t°VÑ<Ô<Ð <øð Ø �JŠJ‰LŒLˆLØ øøøøðØ Ð ¥S¤X°Ò%5Ð%5¸&Ð%5Ý ŒJ�tÑ Ô Ð Ø øøøsÁ*CÂ9CÃCÃCÃ+DÚposixÚcygwinÚ O_TMPFILEc 󇇇‡ ‡ ‡ —d|vrtj|¦«}t‰‰‰¦«\ŠŠŠŠ tŠ trmdŠ ˆˆ ˆ fd„} tj‰||||||¬¦«} t | d| ¦«} t | d| ¦«} ‰ | _| S#t$rdaYnt$rYnwxYwdŠ ˆˆ ˆ ˆ ˆˆfd„}tj‰||||||¬¦«} t | d| ¦«} t | d| ¦«} ‰ | _| S) 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ón•—‰tjztjz}tj‰|d¦«Š‰S)Nrb)rráÚO_CREATrf)r"Úflags2r,rvr†s €€€rrÔzTemporaryFile..openerys0ø€à¥#¤-Ñ/µC´K°<Ñ?�Ý”X˜c 6¨5Ñ1Ô1�Ø� r&rÕrÙrÚFcó®•—t‰‰‰‰‰¦«\Š} tj|¦«n'#t$r}tj‰¦«‚d}~wwxYw‰Sr<)r‰rrjÚ BaseExceptionri) r"rTÚer,rvr†r-r*r+s €€€€€€rrÔzTemporaryFile..opener™sjø€å% c¨6°6¸5À+ÑNÔN‰HˆB�ð Ý” ˜4Ñ Ô Ð Ð øÝ ð ð ð Ý” ˜"‘ ” � Øøøøøð øøøðˆIs™.® A¸A Á A) rÜrÝr.rgÚ_O_TMPFILE_WORKSrfr5rTÚIsADirectoryErrorr)rÞrÖrØr×r+r*r,rÐrÔrˆrÚrvr†r-s ``` @@@rrr_s øøøøøø€ð$ �dˆ?ˆ?ÝÔ(¨Ñ2Ô2ˆHå+;¸FÀFÈCÑ+PÔ+PÑ(ˆ�˜˜[åˆÝ ð ØˆBð ð ð ð ð ð ð ð  Ý”x  T°YØ(/¸(Ø'-°fð>ñ>ô>�õ˜d H¨dÑ3Ô3�ݘc 5¨#Ñ.Ô.�Ø�”Ø� øÝ$ð )ð )ð )ð $)Ð Ð Ð Ýð ð ð ð�ð øøøðˆð ð ð ð ð ð ð ð ð ð õŒx˜˜T¨YØ '°(À6Ø%ð'ñ'ô'ˆõ�d˜H dÑ+Ô+ˆÝ�c˜5 #Ñ&Ô&ˆØˆŒØˆ sÁ AB B-Â! B-Â,B-cóf—eZdZdZdZ d(ddœd„Zeej¦«Z d „Z d „Z d „Z d „Z d „Zd„Zd„Zed„¦«Zed„¦«Zed„¦«Zd„Zd„Zd„Zed„¦«Zed„¦«Zed„¦«Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z!d „Z"d!„Z#d"„Z$d)d#„Z%d$„Z&d%„Z'd&„Z(d'„Z)dS)*rz�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. FrrÍrÎNrÏc  ó—d|vrtj¦«|_nBtj|¦«}tjtj¦«|| |¬¦«|_||_d|_|||||||| dœ|_dS)NrÒ)rØrÐr×F)rÞrÖr+r*rØr×r,rÐ)rÜÚBytesIOÚ_filerÝÚ TextIOWrapperÚ _max_sizeÚ_rolledÚ_TemporaryFileArgs) r8Úmax_sizerÞrÖrØr×r+r*r,rÐs rr©zSpooledTemporaryFile.__init__±s�€ð �$ˆ;ˆ;Ýœ™œˆDŒJˆJåÔ(¨Ñ2Ô2ˆHÝÔ*­3¬;©=¬=Ø%-°fØ$+ð-ñ-ô-ˆDŒJð"ˆŒØˆŒ Ø+/¸iØ-3¸vØ/7ÀGØ*-¸ð#Að#AˆÔÐÐr&cóŠ—|jrdS|j}|r.| ¦«|kr| ¦«dSdSdSr<)rñrðÚtellÚrollover)r8rˆrós rÚ_checkzSpooledTemporaryFile._checkÄsP€Ø Œ<И˜Ø”>ˆØ 𠘟 š ™ œ  hÒ.Ð.Ø �MŠM‰OŒOˆOˆOˆOð ð Ð.Ð.r&có¨—|jrdS|j}tdi|j¤Žx}|_|`| ¦«}t |d¦«r?|j | ¦«  ¦«¦«n'| |  ¦«¦«|  |d¦«d|_dS)NrÙrTr=) rñrîrròrõr»rÙrhÚdetachÚgetvalueÚseek)r8rˆÚnewfileÚposs rrözSpooledTemporaryFile.rolloverÊs½€Ø Œ<И˜ØŒzˆÝ,ÐGÐG¨tÔ/FÐGÐGÐGˆ�$”*Ø Ð #à�iŠi‰kŒkˆÝ �7˜HÑ %Ô %ð +Ø ŒN× Ò  §¢¡¤×!7Ò!7Ñ!9Ô!9Ñ :Ô :Ð :Ð :à �MŠM˜$Ÿ-š-™/œ/Ñ *Ô *Ð *Ø� Š �S˜!ÑÔÐàˆŒ ˆ ˆ r&có<—|jjrtd¦«‚|S)Nz%Cannot enter context with closed file)rîÚclosedÚ ValueErrorr>s rrÃzSpooledTemporaryFile.__enter__ßs$€Ø Œ:Ô ð FÝÐDÑEÔEÐ E؈ r&có8—|j ¦«dSr<©rîri©r8rÆrÇrÈs rrÅzSpooledTemporaryFile.__exit__äó€Ø Œ ×ÒÑÔÐÐÐr&có4—|j ¦«Sr<)rîr?r>s rr?zSpooledTemporaryFile.__iter__èó€ØŒz×"Ò"Ñ$Ô$Ð$r&có —|jsFtjd |¦«td|¬¦«| ¦«dSdS)NzUnclosed file {!r}é)Ú stacklevelÚsource)rÿÚ _warningsÚwarnÚformatÚResourceWarningrir>s rr®zSpooledTemporaryFile.__del__ës\€ØŒ{ð Ý ŒNØ$×+Ò+¨DÑ1Ô1ÝØØð  ñ ô ð ð �JŠJ‰LŒLˆLˆLˆLð ð r&có8—|j ¦«dSr<rr>s rrizSpooledTemporaryFile.closeõrr&có—|jjSr<)rîrÿr>s rrÿzSpooledTemporaryFile.closedøó €àŒzÔ Ð r&có—|jjSr<)rîrØr>s rrØzSpooledTemporaryFile.encodingüó €àŒzÔ"Ð"r&có—|jjSr<)rîrÐr>s rrÐzSpooledTemporaryFile.errorsrr&có\—| ¦«|j ¦«Sr<)rörîÚfilenor>s rrzSpooledTemporaryFile.filenos#€Ø � Š ‰ŒˆØŒz× Ò Ñ"Ô"Ð"r&có8—|j ¦«dSr<)rîÚflushr>s rrzSpooledTemporaryFile.flushrr&có4—|j ¦«Sr<)rîÚisattyr>s rrzSpooledTemporaryFile.isatty ó€ØŒz× Ò Ñ"Ô"Ð"r&cóV— |jjS#t$r|jdcYSwxYw)NrÞ)rîrÞrZròr>s rrÞzSpooledTemporaryFile.modes@€ð 3Ø”:”?Ð "øÝð 3ð 3ð 3ØÔ*¨6Ô2Ð 2Ð 2Ð 2ð 3øøøs ‚ Ž(§(có>— |jjS#t$rYdSwxYwr<)rîrTrZr>s rrTzSpooledTemporaryFile.names3€ð Ø”:”?Ð "øÝð ð ð Ø�4�4ð øøøs ‚ Ž ›có—|jjSr<)rîÚnewlinesr>s rrzSpooledTemporaryFile.newlinesrr&có4—|j ¦«Sr<)rîÚreadabler>s rr!zSpooledTemporaryFile.readable rr&có —|jj|ŽSr<)rîÚread©r8r"s rr#zSpooledTemporaryFile.read#ó€ØˆtŒzŒ Ð%Ð%r&có —|jj|ŽSr<)rîÚread1r$s rr'zSpooledTemporaryFile.read1&s€ØˆtŒzÔ Ð&Ð&r&có6—|j |¦«Sr<)rîÚreadinto©r8rÒs rr)zSpooledTemporaryFile.readinto)s€ØŒz×"Ò" 1Ñ%Ô%Ð%r&có6—|j |¦«Sr<)rîÚ readinto1r*s rr,zSpooledTemporaryFile.readinto1,s€ØŒz×#Ò# AÑ&Ô&Ð&r&có —|jj|ŽSr<)rîÚreadliner$s rr.zSpooledTemporaryFile.readline/s€Ø"ˆtŒzÔ" DÐ)Ð)r&có —|jj|ŽSr<)rîÚ readlinesr$s rr0zSpooledTemporaryFile.readlines2s€Ø#ˆtŒzÔ# TÐ*Ð*r&có4—|j ¦«Sr<)rîÚseekabler>s rr2zSpooledTemporaryFile.seekable5rr&có —|jj|ŽSr<)rîrûr$s rrûzSpooledTemporaryFile.seek8r%r&có4—|j ¦«Sr<)rîrõr>s rrõzSpooledTemporaryFile.tell;s€ØŒz�ŠÑ Ô Ð r&cóª—|€|j ¦«S||jkr| ¦«|j |¦«Sr<)rîÚtruncaterðrö)r8Úsizes rr6zSpooledTemporaryFile.truncate>sK€Ø ˆ<Ø”:×&Ò&Ñ(Ô(Ð (à�d”nÒ$Ð$Ø— ’ ‘”�Ø”:×&Ò& tÑ,Ô,Ð ,r&có4—|j ¦«Sr<)rîÚwritabler>s rr9zSpooledTemporaryFile.writableFrr&cóh—|j}| |¦«}| |¦«|Sr<)rîrhr÷)r8ÚsrˆÚrvs rrhzSpooledTemporaryFile.writeIs/€ØŒzˆØ �ZŠZ˜‰]Œ]ˆØ � Š �DÑÔÐØˆ r&cóh—|j}| |¦«}| |¦«|Sr<)rîÚ writelinesr÷)r8Úiterablerˆr<s rr>zSpooledTemporaryFile.writelinesOs1€ØŒzˆØ �_Š_˜XÑ &Ô &ˆØ � Š �DÑÔÐØˆ r&có4—|j ¦«Sr<)rîrùr>s rrùzSpooledTemporaryFile.detachUrr&)rrÍrÎNNNNNr<)*rHrIrJrKrñr©Ú classmethodÚ_typesÚ GenericAliasÚ__class_getitem__r÷rörÃrÅr?r®rirLrÿrØrÐrrrrÞrTrr!r#r'r)r,r.r0r2rûrõr6r9rhr>rùr=r&rrrªsˆ€€€€€ððð€Gà9;Ø(,Ø/3ðAà?CðAðAðAðAðAð"$˜  FÔ$7Ñ8Ô8Ððððð ð ð ð*ððð ððð%ð%ð%ðððððððð!ð!ñ„Xð!ðð#ð#ñ„Xð#ðð!ð!ñ„Xð!ð#ð#ð#ðððð#ð#ð#ðð3ð3ñ„Xð3ð ððñ„Xðð ð#ð#ñ„Xð#ð%ð%ð%ð&ð&ð&ð'ð'ð'ð&ð&ð&ð'ð'ð'ð*ð*ð*ð+ð+ð+ð%ð%ð%ð&ð&ð&ð!ð!ð!ð-ð-ð-ð-ð%ð%ð%ðððð ððð #ð#ð#ð#ð#r&rcó†—eZdZdZ d d„Zed d„¦«Zed d„¦«Zd„Zd„Z d „Z d „Z ee j ¦«ZdS)ra+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. NFcóÀ—t|||¦«|_||_tj||j|jd |¦«|j¬¦«|_dS)NzImplicitly cleaning up {!r})Ú warn_messageÚ ignore_errors)rrTÚ_ignore_cleanup_errorsÚ_weakrefÚfinalizeÚ_cleanupr Ú _finalizer)r8r+r*r,Úignore_cleanup_errorss rr©zTemporaryDirectory.__init__es\€å˜F F¨CÑ0Ô0ˆŒ Ø&;ˆÔ#Ý"Ô+Ø �$”- ¤Ø6×=Ò=¸dÑCÔCØÔ5ð7ñ7ô7ˆŒˆˆr&cóJ‡‡‡‡—ˆˆˆˆfd„}tj‰|¬¦«dS)NcóJ•—t|dt¦«�re‰r |‰kr‰rdS‚ |‰kr,ttj |¦«¦«t|¦« tj|¦«dS#t$r‰ |‰¬¦«YnÇt$r» tj |¦«}n#t$r‰rYYdS‚wxYwtj |j ¦«sRtj|j ¦«r9t|d¦«r/|jtjzr|jtjkr‰rYdS‚‰ |‰|‰k¬¦«YnwxYwdSdS#t($rYdSwxYwt|dt(¦«rdS‰s‚dS)Nr©rHÚst_file_attributes)rHÚrepeated)Ú issubclassrlr”rrVr^rjrêÚ_rmtreerrÚ_statÚS_ISLNKÚst_modeÚS_ISDIRr»rRÚFILE_ATTRIBUTE_REPARSE_POINTÚst_reparse_tagÚIO_REPARSE_TAG_MOUNT_POINTrp)rŽrVÚexc_infoÚstÚclsrHrTrSs €€€€rÚonerrorz+TemporaryDirectory._rmtree..onerrorps*ø€Ý˜( 1œ+¥Ñ7Ô7ñ. Øð ¨¢   Ø$ðØ˜Øð#ؘt’|�|Ý#¥C¤H×$4Ò$4°TÑ$:Ô$:Ñ;Ô;Ð;Ý Ñ%Ô%Ð%ð=Ýœ  4Ñ(Ô(Ð(Ð(Ð(øÝ,ðGðGðGØŸ š  D¸ ˜ ÑFÔFÐFÐFÐFÝ*ð=ð=ð=ð"Ý!$¤¨4¡¤˜B˜BøÝ&ð"ð"ð"Ø,ð'Ø &   Ø!ð"øøøõ"œM¨"¬*Ñ5Ô5ð"Ý %¤ ¨b¬jÑ 9Ô 9ð"å$ RÐ)=Ñ>Ô>ð"ð Ô2µUÔ5WÑWð"ð Ô.µ%Ô2RÒRÐRà,ð'Ø &  Ø!ØŸ š  D¸ Ø.2°dªlð$ñ=ô=ð=ð=ð=ð/=øøøðGÐFð0=ð=øå(ðððØ�D�Dðøøøå˜H QœKÕ):Ñ;Ô;ð Ø�à$ðØððss¬AE2Á.BÂ!E+Â%E2Â' E+Â1CÃE+à CÃE+ÃE2ÃCÃA0E+ÅE2Å E+Å(E2Å*E+Å+E2Å2 FÅ?F)r`)Ú_shutilÚrmtree)r_rTrHrSr`s```` rrUzTemporaryDirectory._rmtreensLøøøø€ð/ ð/ ð/ ð/ ð/ ð/ ð/ ð/ õb Œ�t WÐ-Ñ-Ô-Ð-Ð-Ð-r&cóh—| ||¬¦«tj|t¦«dS©NrQ)rUr r r)r_rTrGrHs rrLzTemporaryDirectory._cleanup£s0€à � Š �D¨ ˆ Ñ6Ô6Ð6ÝŒ�|¥_Ñ5Ô5Ð5Ð5Ð5r&cóL—d |jj|j¦«S)Nz <{} {!r}>)r Ú __class__rHrTr>s rÚ__repr__zTemporaryDirectory.__repr__¨s€Ø×!Ò! $¤.Ô"9¸4¼9ÑEÔEÐEr&có—|jSr<)rTr>s rrÃzTemporaryDirectory.__enter__«s €ØŒyÐr&có.—| ¦«dSr<)Úcleanuprs rrÅzTemporaryDirectory.__exit__®s€Ø � Š ‰Œˆˆˆr&cóÆ—|j ¦«s$tj |j¦«r#| |j|j¬¦«dSdSrd)rMrùrrVÚexistsrTrUrIr>s rrjzTemporaryDirectory.cleanup±s^€Ø Œ?× !Ò !Ñ #Ô #ð O¥s¤x§¢°t´yÑ'AÔ'Að OØ �LŠL˜œ°$Ô2MˆLÑ NÔ NÐ NÐ NÐ Nð Oð Or&©NNNF)FF)F)rHrIrJrKr©rArUrLrgrÃrÅrjrBrCrDr=r&rrrYs΀€€€€ð ð ð6:Ø',ð7ð7ð7ð7ðð2.ð2.ð2.ñ„[ð2.ðhð6ð6ð6ñ„[ð6ðFðFðFðððððððOðOðOð$˜  FÔ$7Ñ8Ô8ÐÐÐr&rrm)NNN)rÍrÎNNNNNT)rÍrÎNNNNN)ErKÚ__all__Ú functoolsr¼Úwarningsr ÚiorÜÚosrÚshutilraÚstatrVÚerrnorqÚrandomrr6Úsysr�ÚtypesrBÚweakrefrJÚ_threadÚ allocate_lockÚ_allocate_lockÚO_RDWRräÚO_EXCLrŸr»rrgrr r(rzrr%r.r0r_rwryr}r‰r�r”r r r ršr rrrrr¥r²rrTÚplatformrréÚIOBaserrr=r&rúr�sðððð2 ð ð €ðÐÐÐØÐÐÐØÐÐÐØÐÐÐØÐÐÐØÐÐÐØÐÐÐØ$Ð$Ð$Ð$Ð$Ð$ØÐÐÐØÐÐÐØÐÐÐØ€€€ØÔ&€à”*˜sœ{Ñ*¨S¬ZÑ7€Ø €7ˆ3� ÑÔð&Ø�s”~Ñ%€Oà €Ø €7ˆ3� ÑÔð#Ø�c”lÑ"€Nà €7ˆ3� ÑÔðØŒk€G€Gà€Gð €ðˆ^Ñ Ô € ððððððð:,ð,ð,ð$?ð?ð?ð?ð?ñ?ô?ð?ð0ððð6*%ð*%ð*%ðX€ð ð ð ðAðAðAð:ððð2ð2ð2ð"ð"ð"ð"ð"ð"ð €ð ð ð ð'ð'ð'ð'ð'ð'ð$Cð$Cð$Cð$CðN&Fð&Fð&Fð&FðP˜X¨4ð@ð@ð@ð@ð@("ð("ð("ð("ð("ñ("ô("ð("ðV<ð<ð<ð<ð<ñ<ô<ð<ð~;?Ø9=Ø(,ð7à8<ð7ð7ð7ð7ð7ðr„8ˆwÒИ$œ-¨8Ò3Ð3ð'€M€Mð �w˜s KÑ0Ô0Ðà9=Ø8<ØðIà*.ðIðIðIðIðIðVl#ðl#ðl#ðl#ðl#˜3œ:ñl#ôl#ðl#ð^\9ð\9ð\9ð\9ð\9ñ\9ô\9ð\9ð\9ð\9r&