/snap/core20/2866/usr/lib/python3.8/__pycache__
NameSizeModeActions
abc.cpython-38.pyc53340644editdlrm
aifc.cpython-38.pyc254740644editdlrm
antigravity.cpython-38.pyc7970644editdlrm
argparse.cpython-38.pyc625910644editdlrm
ast.cpython-38.pyc167630644editdlrm
asynchat.cpython-38.pyc68510644editdlrm
asyncore.cpython-38.pyc160280644editdlrm
base64.cpython-38.pyc170710644editdlrm
bdb.cpython-38.pyc249210644editdlrm
binhex.cpython-38.pyc121340644editdlrm
bisect.cpython-38.pyc23540644editdlrm
bz2.cpython-38.pyc114450644editdlrm
calendar.cpython-38.pyc270640644editdlrm
cgi.cpython-38.pyc265440644editdlrm
cgitb.cpython-38.pyc101500644editdlrm
chunk.cpython-38.pyc48390644editdlrm
cmd.cpython-38.pyc126260644editdlrm
code.cpython-38.pyc99130644editdlrm
codecs.cpython-38.pyc339560644editdlrm
codeop.cpython-38.pyc64170644editdlrm
colorsys.cpython-38.pyc32400644editdlrm
compileall.cpython-38.pyc94100644editdlrm
configparser.cpython-38.pyc457180644editdlrm
contextlib.cpython-38.pyc202290644editdlrm
contextvars.cpython-38.pyc2430644editdlrm
copy.cpython-38.pyc69870644editdlrm
copyreg.cpython-38.pyc43180644editdlrm
cProfile.cpython-38.pyc54800644editdlrm
crypt.cpython-38.pyc33870644editdlrm
csv.cpython-38.pyc119100644editdlrm
dataclasses.cpython-38.pyc236530644editdlrm
datetime.cpython-38.pyc571730644editdlrm
decimal.cpython-38.pyc3590644editdlrm
difflib.cpython-38.pyc594380644editdlrm
dis.cpython-38.pyc158080644editdlrm
doctest.cpython-38.pyc759740644editdlrm
dummy_threading.cpython-38.pyc11100644editdlrm
enum.cpython-38.pyc259620644editdlrm
filecmp.cpython-38.pyc84270644editdlrm
fileinput.cpython-38.pyc133730644editdlrm
fnmatch.cpython-38.pyc33550644editdlrm
formatter.cpython-38.pyc175450644editdlrm
fractions.cpython-38.pyc187390644editdlrm
ftplib.cpython-38.pyc280070644editdlrm
functools.cpython-38.pyc279010644editdlrm
genericpath.cpython-38.pyc40010644editdlrm
getopt.cpython-38.pyc62710644editdlrm
getpass.cpython-38.pyc41780644editdlrm
gettext.cpython-38.pyc180000644editdlrm
glob.cpython-38.pyc43430644editdlrm
gzip.cpython-38.pyc181840644editdlrm
hashlib.cpython-38.pyc67270644editdlrm
heapq.cpython-38.pyc140700644editdlrm
hmac.cpython-38.pyc63880644editdlrm
imaplib.cpython-38.pyc413420644editdlrm
imghdr.cpython-38.pyc41180644editdlrm
imp.cpython-38.pyc98090644editdlrm
inspect.cpython-38.pyc805930644editdlrm
io.cpython-38.pyc34540644editdlrm
ipaddress.cpython-38.pyc628290644editdlrm
keyword.cpython-38.pyc9980644editdlrm
linecache.cpython-38.pyc38670644editdlrm
locale.cpython-38.pyc346740644editdlrm
lzma.cpython-38.pyc120180644editdlrm
mailbox.cpython-38.pyc602640644editdlrm
mailcap.cpython-38.pyc72060644editdlrm
mimetypes.cpython-38.pyc160310644editdlrm
modulefinder.cpython-38.pyc161150644editdlrm
netrc.cpython-38.pyc37770644editdlrm
nntplib.cpython-38.pyc339740644editdlrm
ntpath.cpython-38.pyc140910644editdlrm
nturl2path.cpython-38.pyc17440644editdlrm
numbers.cpython-38.pyc122020644editdlrm
opcode.cpython-38.pyc54200644editdlrm
operator.cpython-38.pyc136910644editdlrm
optparse.cpython-38.pyc480570644editdlrm
os.cpython-38.pyc313970644editdlrm
pathlib.cpython-38.pyc442090644editdlrm
pdb.cpython-38.pyc472260644editdlrm
pickle.cpython-38.pyc469080644editdlrm
pickletools.cpython-38.pyc672040644editdlrm
pipes.cpython-38.pyc77950644editdlrm
pkgutil.cpython-38.pyc163090644editdlrm
platform.cpython-38.pyc243260644editdlrm
plistlib.cpython-38.pyc273740644editdlrm
poplib.cpython-38.pyc134590644editdlrm
posixpath.cpython-38.pyc104610644editdlrm
pprint.cpython-38.pyc162810644editdlrm
profile.cpython-38.pyc147580644editdlrm
pstats.cpython-38.pyc220660644editdlrm
pty.cpython-38.pyc39550644editdlrm
pyclbr.cpython-38.pyc104510644editdlrm
pydoc.cpython-38.pyc836460644editdlrm
py_compile.cpython-38.pyc73520644editdlrm
queue.cpython-38.pyc106260644editdlrm
quopri.cpython-38.pyc57480644editdlrm
random.cpython-38.pyc201080644editdlrm
re.cpython-38.pyc144220644editdlrm
reprlib.cpython-38.pyc53030644editdlrm
rlcompleter.cpython-38.pyc57550644editdlrm
runpy.cpython-38.pyc81810644editdlrm
sched.cpython-38.pyc65320644editdlrm
secrets.cpython-38.pyc21900644editdlrm
selectors.cpython-38.pyc169350644editdlrm
shelve.cpython-38.pyc94900644editdlrm
shlex.cpython-38.pyc75360644editdlrm
shutil.cpython-38.pyc372190644editdlrm
signal.cpython-38.pyc28430644editdlrm
site.cpython-38.pyc171680644editdlrm
sitecustomize.cpython-38.pyc2200644editdlrm
smtpd.cpython-38.pyc264630644editdlrm
smtplib.cpython-38.pyc355320644editdlrm
sndhdr.cpython-38.pyc69890644editdlrm
socket.cpython-38.pyc277870644editdlrm
socketserver.cpython-38.pyc253610644editdlrm
sre_compile.cpython-38.pyc151420644editdlrm
sre_constants.cpython-38.pyc63590644editdlrm
sre_parse.cpython-38.pyc216470644editdlrm
ssl.cpython-38.pyc450370644editdlrm
stat.cpython-38.pyc43720644editdlrm
statistics.cpython-38.pyc336530644editdlrm
string.cpython-38.pyc73000644editdlrm
stringprep.cpython-38.pyc110170644editdlrm
struct.cpython-38.pyc3300644editdlrm
subprocess.cpython-38.pyc419670644editdlrm
sunau.cpython-38.pyc170800644editdlrm
symbol.cpython-38.pyc24040644editdlrm
symtable.cpython-38.pyc113220644editdlrm
sysconfig.cpython-38.pyc158370644editdlrm
tabnanny.cpython-38.pyc70300644editdlrm
tarfile.cpython-38.pyc630430644editdlrm
telnetlib.cpython-38.pyc182370644editdlrm
tempfile.cpython-38.pyc266530644editdlrm
textwrap.cpython-38.pyc135190644editdlrm
this.cpython-38.pyc12610644editdlrm
threading.cpython-38.pyc399760644editdlrm
timeit.cpython-38.pyc117770644editdlrm
token.cpython-38.pyc24850644editdlrm
tokenize.cpython-38.pyc171600644editdlrm
trace.cpython-38.pyc200260644editdlrm
traceback.cpython-38.pyc199380644editdlrm
tracemalloc.cpython-38.pyc173630644editdlrm
tty.cpython-38.pyc10760644editdlrm
turtle.cpython-38.pyc1300220644editdlrm
types.cpython-38.pyc91770644editdlrm
typing.cpython-38.pyc624200644editdlrm
uu.cpython-38.pyc36050644editdlrm
uuid.cpython-38.pyc236830644editdlrm
warnings.cpython-38.pyc136520644editdlrm
wave.cpython-38.pyc181490644editdlrm
weakref.cpython-38.pyc195180644editdlrm
webbrowser.cpython-38.pyc171200644editdlrm
xdrlib.cpython-38.pyc82210644editdlrm
zipapp.cpython-38.pyc58540644editdlrm
zipfile.cpython-38.pyc593360644editdlrm
zipimport.cpython-38.pyc172750644editdlrm
_bootlocale.cpython-38.pyc12430644editdlrm
_collections_abc.cpython-38.pyc287410644editdlrm
_compat_pickle.cpython-38.pyc55010644editdlrm
_compression.cpython-38.pyc41460644editdlrm
_dummy_thread.cpython-38.pyc60370644editdlrm
_markupbase.cpython-38.pyc77900644editdlrm
_osx_support.cpython-38.pyc115930644editdlrm
_pydecimal.cpython-38.pyc1607350644editdlrm
_pyio.cpython-38.pyc740790644editdlrm
_py_abc.cpython-38.pyc46700644editdlrm
_sitebuiltins.cpython-38.pyc34810644editdlrm
_strptime.cpython-38.pyc160440644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-38.pyc211210644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-38.pyc211150644editdlrm
_threading_local.cpython-38.pyc64460644editdlrm
_weakrefset.cpython-38.pyc76000644editdlrm
__future__.cpython-38.pyc41580644editdlrm
__phello__.foo.cpython-38.pyc1270644editdlrm
Edit: /snap/core20/2866/usr/lib/python3.8/__pycache__/tempfile.cpython-38.pyc (26653B)
U ʦi @sdZddddddddd d d d d g ZddlZddlZddlZddlZ zddl Z e j Z Wnpek rddlZddlZddZddZe je je je jhe jkoe je jkoe je jkZdGddZ YnXddlZddlm Z!ddlZddl"Z#ddl$Z$e$j%Z&e j'e j(Be j)BZ*e+e dr e*e j,OZ*e*Z-e+e dr:e-e j.OZ-e+e drNe j/Z/ndZ/dZ0e&Z1ddZ2ddZ3d d!Z4Gd"d#d#Z5d$d%Z6d&d'Z7da8d(d)Z9d*d+Z:d,d-Z;d.d/Zda?d2d Z@d3d ZAdHd4dZBdId5dZCd6e0dfd7dZDGd8d9d9ZEGd:d;d;ZFdJdd?d@dZGe jHdAksBejIdBkrHeGZJne+e dCaKdKdd?dDdZJGdEddZLGdFddeMZNdS)LaTemporary 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 TemporaryFileSpooledTemporaryFileTemporaryDirectorymkstempmkdtempmktempTMP_MAX gettempprefixtempdir gettempdirgettempprefixb gettempdirbNc CsJztj|rtdWn*tk rB|tjj|tYdSXg}zt|}Wn&tk r||tj|tYnX|D]}tj||}zt|j }Wntk rd}YnXt |rt ||qzt |Wqtk r |tj |tYqXqzt|Wn(tk rD|tj|tYnXdS)N%Cannot call rmtree on a symbolic linkr)_ospathislinkOSError_sysexc_infolistdirjoinlstatst_mode_statS_ISDIR_rmtree_unsafeunlinkrmdir)ronerrornamesnamefullnamemoder$/usr/lib/python3.8/tempfile.pyr2s6     rc Csg}zt|}Wn:tk rL}z||_|tj|tW5d}~XYnX|D]x}tj||}ztj||dd}|j }Wntk rd}YnXt |rztj |tj |d} Wn&tk r|tj |tYnXztj|t| rFt| ||ztj||dWn(tk rB|tj|tYnXn8z tdWn*tk r||tjj|tYnXW5t| XqRztj||dWqRtk r|tj|tYqRXqRdS)NF)dir_fdfollow_symlinksr)r&r)rrrfilenamerrrrstatrrropenO_RDONLYclosesamestatfstat_rmtree_safe_fdrrr) topfdrrr errr!r"orig_str#dirfdr$r$r%r/SsD$      r/Fc Csb|rdd}n|dkrdd}trTt|tr8t|}zt|}Wn(tk rn|tj|tYdSXzt |tj }Wn(tk r|tj|tYdSXztj |t|r t|||zt|Wn(tk r|tj|tYnXn8z tdWn*tk r@|tj j|tYnXW5t |Xn t||SdS)aRecursively delete a directory tree. If ignore_errors is set, errors are ignored; otherwise, if onerror is set, it is called to handle the error with arguments (func, path, exc_info) where func is platform and implementation dependent; path is the argument to that function that caused it to fail; and exc_info is a tuple returned by sys.exc_info(). If ignore_errors is false and onerror is None, an exception is raised. cWsdSNr$argsr$r$r%rsz_rmtree..onerrorNcWsdSr4r$r5r$r$r%rsr)_use_fd_functions isinstancebytesrfsdecoder Exceptionrrr*r+r,rr-r.r/rrrr)r ignore_errorsrr2fdr$r$r%_rmtrees<      r>)Random O_NOFOLLOWO_BINARYi'ZtmpcCs.zt|Wntk r$YdSXdSdS)NFT)rrr)fnr$r$r%_existss rCcGs\d}|D]B}|dkrqt|tr6|tkr0tdt}q|tkrFtdt}q|dkrXtS|S)zBLook at the type of all args and divine their implied return type.Nz1Can't mix bytes and non-bytes in path components.)r8r9str TypeError)r6Z return_typeargr$r$r%_infer_return_types rGcCsdt|||}|dkr|}|dkr:|tkr0t}n tt}|dkrX|tkrRt}nt}||||fS)z9Common parameter processing for most APIs in this module.N)rGrDtemplaterfsencoder r )prefixsuffixdir output_typer$r$r%_sanitize_paramss  rNc@s0eZdZdZdZeddZddZddZd S) _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.Z%abcdefghijklmnopqrstuvwxyz0123456789_cCs,t}|t|ddkr&t|_||_|jS)N_rng_pid)rgetpidgetattr_RandomZ_rngrP)selfZcur_pidr$r$r%rngs z_RandomNameSequence.rngcCs|Sr4r$rTr$r$r%__iter__sz_RandomNameSequence.__iter__cs0|j|jjfddtdD}d|S)Ncsg|] }qSr$r$).0ZdummycZchooser$r% sz0_RandomNameSequence.__next__..) charactersrUZchoiceranger)rTZlettersr$rYr%__next__sz_RandomNameSequence.__next__N) __name__ __module__ __qualname____doc__r^propertyrUrWr`r$r$r$r%rOs  rOc Csg}dD]}t|}|r||qtjdkrX|tjdtjdddddgn|d d d gz|tWn$t t fk r|tj YnX|S) z[Generate a list of candidate temporary directories which _get_default_tempdir will try.)ZTMPDIRZTEMPZTMPntz~\AppData\Local\Tempz%SYSTEMROOT%\Tempzc:\tempzc:\tmpz\tempz\tmpz/tmpz/var/tmpz/usr/tmp) rgetenvappendr!extendr expanduser expandvarsgetcwdAttributeErrorrcurdir)dirlistZenvnamedirnamer$r$r%_candidate_tempdir_list!s&    rqc CsFt}t}|D]}|tjkr,tj|}tdD]}t|}tj||}zft |t d}zCode common to mkstemp, TemporaryFile, and NamedTemporaryFile.ztempfile.mkstemprsrfz#No usable temporary file name foundN)rr9maprrIr_rrwrrrauditr*r{r|r!r}r~rrvrEEXIST) rLZpreZsufflagsrMr rr!filer=r$r$r%_mkstemp_innerys*    rcGsH|tjkr ||f|ddin$tjdks6tj|sD||f|dS)Nr'Frf)rsupports_follow_symlinksr!rr)funcrr6r$r$r%_dont_follow_symlinkss rcCs>z tj}Wntk rYnXt||dttj|ddS)Nr)rchflagsrmrchmod)rrr$r$r% _resetpermss   rcCstS)z-The default prefix for temporary directories.)rHr$r$r$r%r scCs ttS)z6The default prefix for temporary directories as bytes.)rrIr r$r$r$r%r scCs2tdkr.tztdkr taW5tXtS)zAccessor for tempfile.tempdir.N)r rrrrr$r$r$r%r s  cCs ttS)z)A bytes version of tempfile.gettempdir().)rrIr r$r$r$r%r scCs2t|||\}}}}|rt}nt}t|||||S)aUser-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. )rN_text_openflagsrxr)rKrJrLtextrMrr$r$r%rs c Cst|||\}}}}t}|tkr.ttj|}ttD]}t|}tj ||||}t d|zt |dWnVtk rYq6Yn@tk rtjdkrtj |rt|tjrYq6nYnX|SttjddS)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.mkdtemprrfz(No usable temporary directory name foundN)rNrr9rrrIr_rrwrrrrmkdirr{r|r!r}r~rrr)rKrJrLrMr rr!rr$r$r%rs,     r]cCs`|dkrt}t}ttD]2}t|}tj||||}t|s|Sqt t j ddS)aUser-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 rr_rrwrrrrCr{rr)rKrJrLr rr!rr$r$r%rs  c@sLeZdZdZdZdZd ddZejdkr@ej fdd Z d d Z nd d Z dS)_TemporaryFileCloserzA separate object allowing proper closing of a temporary file's underlying file object, without adding a __del__ method to the temporary file.NFTcCs||_||_||_dSr4)rr!deleterTrr!rr$r$r%__init__9sz_TemporaryFileCloser.__init__rfcCs<|js8|jdk r8d|_z|jW5|jr6||jXdSNT) close_calledrrr!r,)rTrr$r$r%r,Hs z_TemporaryFileCloser.closecCs |dSr4)r,rVr$r$r%__del__Rsz_TemporaryFileCloser.__del__cCs|jsd|_|jdSr)rrr,rVr$r$r%r,Vs)T) rarbrcrdrrrrr!rr,rr$r$r$r%r1s   rc@sBeZdZdZdddZddZddZd d Zd d Zd dZ dS)_TemporaryFileWrapperzTemporary 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. TcCs$||_||_||_t||||_dSr4)rr!rr_closerrr$r$r%rdsz_TemporaryFileWrapper.__init__cs^|jd}t||}t|drD|tfdd}|j|_|}t|tsZt||||S)Nr__call__cs ||Sr4r$)r6kwargsrr$r% func_wrapperrsz7_TemporaryFileWrapper.__getattr__..func_wrapper) __dict__rRhasattr _functoolswrapsrr8intsetattr)rTr!rarr$rr% __getattr__js     z!_TemporaryFileWrapper.__getattr__cCs|j|Sr4)r __enter__rVr$r$r%rs z_TemporaryFileWrapper.__enter__cCs|j|||}||Sr4)r__exit__r,)rTexcvaluetbresultr$r$r%rsz_TemporaryFileWrapper.__exit__cCs|jdS)zA Close the temporary file, possibly deleting it. N)rr,rVr$r$r%r,sz_TemporaryFileWrapper.closeccs|jD] }|VqdSr4)r)rTliner$r$r%rWs z_TemporaryFileWrapper.__iter__N)T) rarbrcrdrrrrr,rWr$r$r$r%r\s rw+bTerrorscCst|||\}}}} t} tjdkr0|r0| tjO} t|||| | \} } z$tj| |||||d} t| | |WSt k rt | t | YnXdS)aCreate 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. rf bufferingnewlineencodingrN) rNrxrr!Z O_TEMPORARYrryr*r BaseExceptionrr,)r#rrrrKrJrLrrrMrr=r!rr$r$r%rs     posixcygwin O_TMPFILEc Cst|||\}}}}t} trz$| tjBtj@} t|| d} Wn*tk rXdaYnFtk rjYn4Xzt j| |||||dWSt | YnXt |||| |\} } z"t | t j| |||||dWSt | YnXdS)aCreate 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. rsFrN) rNrx_O_TMPFILE_WORKSrrO_CREATr*IsADirectoryErrorrryr,rr) r#rrrrKrJrLrrMrZflags2r=r!r$r$r%rs<     c@seZdZdZdZd:dddd Zd d Zd d ZddZddZ ddZ ddZ e ddZ e ddZe ddZddZddZd d!Ze d"d#Ze d$d%Ze d&d'Zd(d)Zd*d+Zd,d-Zd.d/Ze d0d1Zd2d3Zd;d4d5Zd6d7Zd8d9ZdS)r)rrrclsr!r$r%rsz+TemporaryDirectory._rmtree..onerror)r)r>)rr!rr$rr%r>szTemporaryDirectory._rmtreecCs||t|tdSr4)r> _warningswarnResourceWarning)rr!rr$r$r%rs zTemporaryDirectory._cleanupcCsd|jj|jS)Nz <{} {!r}>)r __class__rar!rVr$r$r%__repr__szTemporaryDirectory.__repr__cCs|jSr4)r!rVr$r$r%rszTemporaryDirectory.__enter__cCs |dSr4)cleanuprr$r$r%rszTemporaryDirectory.__exit__cCs|jr||jdSr4)rrr>r!rVr$r$r%rs zTemporaryDirectory.cleanup)NNN) rarbrcrdr classmethodr>rrrrrr$r$r$r%rs   )FN)NNNF)NNN)rrNNNNNT)rrNNNNN)Ord__all__ functoolsrwarningsrioryosrZshutilZ_shutilZrmtreer> ImportErrorsysrr)rrr/r*rrsupports_dir_fdr supports_fdrr7errnorZrandomr?rSweakrefr_thread allocate_lockZ_allocate_lockO_RDWRrO_EXCLrrr@rxrArrHrrCrGrNrOrqrrrrrrr r r r r rrrrrrr!platformrrrobjectrr$r$r$r%s  !,  3       -   ' ( +? '  <