/opt/cloudlinux/venv/lib/python3.11/site-packages/dill/__pycache__
NameSizeModeActions
detect.cpython-311.pyc158400644editdlrm
logger.cpython-311.pyc133630644editdlrm
objtypes.cpython-311.pyc7250644editdlrm
pointers.cpython-311.pyc56570644editdlrm
session.cpython-311.pyc284550644editdlrm
settings.cpython-311.pyc4270644editdlrm
source.cpython-311.pyc485660644editdlrm
temp.cpython-311.pyc105480644editdlrm
_dill.cpython-311.pyc1102920644editdlrm
_objects.cpython-311.pyc263520644editdlrm
_shims.cpython-311.pyc80740644editdlrm
__diff.cpython-311.pyc110290644editdlrm
__info__.cpython-311.pyc105770644editdlrm
__init__.cpython-311.pyc58290644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/dill/__pycache__/temp.cpython-311.pyc (10548B)
§ ¯ÂÈs²¸"ãót—dZgd¢ZddlZejdd„¦«Zd„Zd„Zd„Zd „Zd „Z d „Z d „Z d „Z d„Z [dS)zb Methods for serialized objects (or source code) stored in temporary files and file-like objects. ) Ú dump_sourceÚdumpÚ dumpIO_sourceÚdumpIOÚ load_sourceÚloadÚ loadIO_sourceÚloadIOÚcaptureéNÚstdoutc#óäK—ddl}ddlm}t||¦«}t |||¦«¦« t||¦«V—t |||¦«dS#t |||¦«wxYw)z¸builds a context that temporarily replaces the given stream name >>> with capture('stdout') as out: ... print ("foo!") ... >>> print (out.getvalue()) foo! r N)ÚStringIO)ÚsysÚiorÚgetattrÚsetattr)ÚstreamrrÚorigs ú[/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/dill/temp.pyr r s•èè€ð€J€J€JØÐÐÐÐÐÝ �3˜Ñ Ô €DÝ ˆC�˜˜™œÑ$Ô$Ð$ð#Ý�c˜6Ñ"Ô"Ð"Ð"Ð"å��V˜TÑ"Ô"Ð"Ð"Ð"ø���V˜TÑ"Ô"Ð"Ð"øøøs ·AÁA/có@—ddl}| |¦«dS)Nr )ÚcodecsÚlatin_1_encode)Úxrs rÚbr+s$€Ø€M€M€MØ × Ò  Ñ #Ô # AÔ &Ð&óc ó —| dd¦«}| dd¦«}t|d|¦«}t|fd|i|¤Ž ¦«}|s~| ¦« ¦«d ¦«}|ddkr,| ¦«d}td |z¦«‚|d}i}t||¦«td |z|¦«} | S) aCload an object that was stored with dill.temp.dump_source file: filehandle alias: string name of stored object mode: mode to open the file, one of: {'r', 'rb'} >>> f = lambda x: x**2 >>> pyfile = dill.temp.dump_source(f, alias='_f') >>> _f = dill.temp.load_source(pyfile) >>> _f(4) 16 ÚaliasNÚmodeÚrÚnameéÿÿÿÿr ú#NAME:úunknown name for code: %sú%s) ÚpoprÚopenÚreadÚstripÚ splitlinesÚsplitÚIOErrorÚexecÚeval) ÚfileÚkwdsrrÚfnameÚsourceÚtagÚstubÚlocalÚ_s rrr/s€ð �HŠH�W˜dÑ #Ô #€EØ �8Š8�F˜CÑ Ô €DÝ �D˜& $Ñ 'Ô '€EÝ �%Ð +Ð +˜dÐ + dÐ +Ð +× 0Ò 0Ñ 2Ô 2€FØ ðØ�lŠl‰nŒn×'Ò'Ñ)Ô)¨"Ô-×3Ò3Ñ5Ô5ˆØ ˆqŒ6�XÒ Ð Ø×$Ò$Ñ&Ô& qÔ)ˆDÝÐ5¸Ñ<Ñ=Ô=Ð =Ø�B”ˆØ €E݈�ÑÔÐÝ ˆT�E‰\˜5Ñ!Ô!€AØ €Hrc óª—ddlm}m}ddl}| dd¦«| dd¦«| d d¦«}t |¦«p ||¦«}d |z}|jd dd i|¤Ž}| td  |||¬ ¦«|g¦«¦«¦«|  ¦«|S)aMwrite object source to a NamedTemporaryFile (instead of dill.dump) Loads with "import" or "dill.temp.load_source". Returns the filehandle. >>> f = lambda x: x**2 >>> pyfile = dill.temp.dump_source(f, alias='_f') >>> _f = dill.temp.load_source(pyfile) >>> _f(4) 16 >>> f = lambda x: x**2 >>> pyfile = dill.temp.dump_source(f, dir='.') >>> modulename = os.path.basename(pyfile.name).split('.py')[0] >>> exec('from %s import f as _f' % modulename) >>> _f(4) 16 Optional kwds: If 'alias' is specified, the object will be renamed to the given string. If 'prefix' is specified, the file name will begin with that prefix, otherwise a default prefix is used. If 'dir' is specified, 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. On some operating systems, this makes no difference. NOTE: Keep the return value for as long as you want your file to exist ! é©Ú importableÚgetnamer NÚdeleteTÚsuffixÚrú #NAME: %s z.py©r©) r1r9r:ÚtempfileÚ setdefaultr%ÚstrÚNamedTemporaryFileÚwriterÚjoinÚflush)Úobjectr/r9r:rArr r.s rrrKsì€ð@,Ð+Ð+Ð+Ð+Ð+Ð+Ð+Ø€O€O€O؇O‚O�H˜dÑ#Ô#Ð#؇H‚HˆX�rÑÔÐØ �HŠH�W˜bÑ !Ô !€EÝ ˆu‰:Œ:Ð (˜˜ ™œ€DØ ˜TÑ !€Dà &ˆ8Ô &Ð <Ð <¨eÐ <°tÐ <Ð <€D؇J‚J�q�—’˜*˜* V°5Ð9Ñ9Ô9¸$Ð?Ñ@Ô@ÑAÔAÑBÔBÐB؇J‚J�L„L€LØ €Krc óœ—ddl}| dd¦«}t|d|¦«}| t |fd|i|¤Ž¦«S)zëload an object that was stored with dill.temp.dump file: filehandle mode: mode to open the file, one of: {'r', 'rb'} >>> dumpfile = dill.temp.dump([1, 2, 3, 4, 5]) >>> dill.temp.load(dumpfile) [1, 2, 3, 4, 5] r NrÚrbr )Údillr%rrr&)r.r/Úpicklerr s rrrxs[€ðÐÐÐØ �8Š8�F˜DÑ !Ô !€DÝ �4˜ Ñ &Ô &€DØ �;Š;•t˜DÐ4Ð4 tÐ4¨tÐ4Ð4Ñ 5Ô 5Ð5rc ó°—ddl}ddl}| dd¦«|jdi|¤Ž}| ||¦«| ¦«|S)aEdill.dump of object to a NamedTemporaryFile. Loads with "dill.temp.load". Returns the filehandle. >>> dumpfile = dill.temp.dump([1, 2, 3, 4, 5]) >>> dill.temp.load(dumpfile) [1, 2, 3, 4, 5] Optional kwds: If 'suffix' is specified, the file name will end with that suffix, otherwise there will be no suffix. If 'prefix' is specified, the file name will begin with that prefix, otherwise a default prefix is used. If 'dir' is specified, 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. On some operating systems, this makes no difference. NOTE: Keep the return value for as long as you want your file to exist ! r Nr;Tr@)rKrArBrDrrG)rHr/rLrAr.s rrr‡sk€ð0ÐÐÐØ€O€O€O؇O‚O�H˜dÑ#Ô#Ð#Ø &ˆ8Ô &Ð .Ð .¨Ð .Ð .€DØ ‡K‚K�˜ÑÔÐØ‡J‚J�L„L€LØ €Krc ó”—ddl}ddlm}t|d|¦«}||kr |¦«}| ||¦«¦«S)zÁload an object that was stored with dill.temp.dumpIO buffer: buffer object >>> dumpfile = dill.temp.dumpIO([1, 2, 3, 4, 5]) >>> dill.temp.loadIO(dumpfile) [1, 2, 3, 4, 5] r N©ÚBytesIOÚgetvalue)rKrrPrr)Úbufferr/rLrÚvalues rr r §s`€ðÐÐÐØ&Ð&Ð&Ð&Ð&Ð&Ý �F˜J¨Ñ /Ô /€EØ �‚€  ¡¤˜Ø �;Š;�x�x ‘”Ñ 'Ô 'Ð'rc ó‚—ddl}ddlm}|¦«}| ||¦«| ¦«|S)zÍdill.dump of object to a buffer. Loads with "dill.temp.loadIO". Returns the buffer object. >>> dumpfile = dill.temp.dumpIO([1, 2, 3, 4, 5]) >>> dill.temp.loadIO(dumpfile) [1, 2, 3, 4, 5] r NrO)rKrrPrrG)rHr/rLrr.s rrr¶sS€ðÐÐÐØ&Ð&Ð&Ð&Ð&Ð&Ø ˆ8‰:Œ:€DØ ‡K‚K�˜ÑÔÐØ‡J‚J�L„L€LØ €Krc óæ—| dd¦«}t|d|¦«}||kr |¦«}| ¦«}|s~| ¦« ¦«d ¦«}|ddkr,| ¦«d}t d|z¦«‚|d}i}t||¦«td|z|¦«}|S) aload an object that was stored with dill.temp.dumpIO_source buffer: buffer object alias: string name of stored object >>> f = lambda x:x**2 >>> pyfile = dill.temp.dumpIO_source(f, alias='_f') >>> _f = dill.temp.loadIO_source(pyfile) >>> _f(4) 16 rNrQr!r r"r#r$) r%rÚdecoder(r)r*r+r,r-)rRr/rr1r2r3r4r5s rrrÅsë€ð �HŠH�W˜dÑ #Ô #€EÝ �V˜Z¨Ñ 0Ô 0€FØ �ÒР& &¡(¤(˜Ø �]Š]‰_Œ_€FØ ðØ�lŠl‰nŒn×'Ò'Ñ)Ô)¨"Ô-×3Ò3Ñ5Ô5ˆØ ˆqŒ6�XÒ Ð Ø×$Ò$Ñ&Ô& qÔ)ˆDÝÐ5¸Ñ<Ñ=Ô=Ð =Ø�B”ˆØ €E݈�ÑÔÐÝ ˆT�E‰\˜5Ñ!Ô!€AØ €Hrc óL—ddlm}m}ddlm}| dd¦«}t |¦«p ||¦«}d|z}|¦«}| td  |||¬¦«|g¦«¦«¦«|  ¦«|S) apwrite object source to a buffer (instead of dill.dump) Loads by with dill.temp.loadIO_source. Returns the buffer object. >>> f = lambda x:x**2 >>> pyfile = dill.temp.dumpIO_source(f, alias='_f') >>> _f = dill.temp.loadIO_source(pyfile) >>> _f(4) 16 Optional kwds: If 'alias' is specified, the object will be renamed to the given string. r7r8r rOrr=r>r?) r1r9r:rrPr%rCrErrFrG)rHr/r9r:rrr r.s rrràsº€ð,Ð+Ð+Ð+Ð+Ð+Ð+Ð+Ø&Ð&Ð&Ð&Ð&Ð&Ø �HŠH�W˜bÑ !Ô !€EÝ ˆu‰:Œ:Ð (˜˜ ™œ€DØ ˜TÑ !€Dà ˆ8‰:Œ:€D؇J‚J�q�—’˜*˜* V°5Ð9Ñ9Ô9¸$Ð?Ñ@Ô@ÑAÔAÑBÔBÐB؇J‚J�L„L€LØ €Kr)r )Ú__doc__Ú__all__Ú contextlibÚcontextmanagerr rrrrrr rrrr@rrúr\säðððð ð ð €ðÐÐÐð Ôð#ð#ð#ñÔð#ð('ð'ð'ð ð ð ð8+ð+ð+ðZ 6ð 6ð 6ðððð@ (ð (ð (ð ð ð ð ð ð ð6ððð2€J€Jr