/snap/core22/2411/usr/lib/python3.10/__pycache__
NameSizeModeActions
abc.cpython-310.pyc67510644editdlrm
aifc.cpython-310.pyc246850644editdlrm
antigravity.cpython-310.pyc8220644editdlrm
argparse.cpython-310.pyc635390644editdlrm
ast.cpython-310.pyc557390644editdlrm
asynchat.cpython-310.pyc70250644editdlrm
asyncore.cpython-310.pyc160020644editdlrm
base64.cpython-310.pyc171620644editdlrm
bdb.cpython-310.pyc258320644editdlrm
binhex.cpython-310.pyc128700644editdlrm
bisect.cpython-310.pyc25880644editdlrm
bz2.cpython-310.pyc108700644editdlrm
calendar.cpython-310.pyc263030644editdlrm
cgi.cpython-310.pyc267230644editdlrm
cgitb.cpython-310.pyc99980644editdlrm
chunk.cpython-310.pyc48600644editdlrm
cmd.cpython-310.pyc127070644editdlrm
code.cpython-310.pyc99570644editdlrm
codecs.cpython-310.pyc332190644editdlrm
codeop.cpython-310.pyc55950644editdlrm
colorsys.cpython-310.pyc32650644editdlrm
compileall.cpython-310.pyc127330644editdlrm
configparser.cpython-310.pyc454580644editdlrm
contextlib.cpython-310.pyc208950644editdlrm
contextvars.cpython-310.pyc2460644editdlrm
copy.cpython-310.pyc69960644editdlrm
copyreg.cpython-310.pyc46830644editdlrm
cProfile.cpython-310.pyc51130644editdlrm
crypt.cpython-310.pyc35500644editdlrm
csv.cpython-310.pyc117980644editdlrm
dataclasses.cpython-310.pyc265780644editdlrm
datetime.cpython-310.pyc565330644editdlrm
decimal.cpython-310.pyc3620644editdlrm
difflib.cpython-310.pyc589050644editdlrm
dis.cpython-310.pyc156560644editdlrm
doctest.cpython-310.pyc761750644editdlrm
enum.cpython-310.pyc260630644editdlrm
filecmp.cpython-310.pyc87490644editdlrm
fileinput.cpython-310.pyc140720644editdlrm
fnmatch.cpython-310.pyc42440644editdlrm
fractions.cpython-310.pyc186000644editdlrm
ftplib.cpython-310.pyc289770644editdlrm
functools.cpython-310.pyc283350644editdlrm
genericpath.cpython-310.pyc39070644editdlrm
getopt.cpython-310.pyc63390644editdlrm
getpass.cpython-310.pyc42100644editdlrm
gettext.cpython-310.pyc182210644editdlrm
glob.cpython-310.pyc58520644editdlrm
graphlib.cpython-310.pyc76160644editdlrm
gzip.cpython-310.pyc185460644editdlrm
hashlib.cpython-310.pyc68450644editdlrm
heapq.cpython-310.pyc138650644editdlrm
hmac.cpython-310.pyc69730644editdlrm
imaplib.cpython-310.pyc424320644editdlrm
imghdr.cpython-310.pyc39050644editdlrm
imp.cpython-310.pyc97860644editdlrm
inspect.cpython-310.pyc851530644editdlrm
io.cpython-310.pyc36630644editdlrm
ipaddress.cpython-310.pyc626700644editdlrm
keyword.cpython-310.pyc9270644editdlrm
linecache.cpython-310.pyc41420644editdlrm
locale.cpython-310.pyc461540644editdlrm
lzma.cpython-310.pyc121000644editdlrm
mailbox.cpython-310.pyc600910644editdlrm
mailcap.cpython-310.pyc73200644editdlrm
mimetypes.cpython-310.pyc176190644editdlrm
modulefinder.cpython-310.pyc161660644editdlrm
netrc.cpython-310.pyc39330644editdlrm
nntplib.cpython-310.pyc316230644editdlrm
ntpath.cpython-310.pyc147040644editdlrm
nturl2path.cpython-310.pyc17470644editdlrm
numbers.cpython-310.pyc118660644editdlrm
opcode.cpython-310.pyc54470644editdlrm
operator.cpython-310.pyc135080644editdlrm
optparse.cpython-310.pyc477540644editdlrm
os.cpython-310.pyc315990644editdlrm
pathlib.cpython-310.pyc420520644editdlrm
pdb.cpython-310.pyc474400644editdlrm
pickle.cpython-310.pyc468820644editdlrm
pickletools.cpython-310.pyc677600644editdlrm
pipes.cpython-310.pyc77690644editdlrm
pkgutil.cpython-310.pyc183610644editdlrm
platform.cpython-310.pyc274290644editdlrm
plistlib.cpython-310.pyc237650644editdlrm
poplib.cpython-310.pyc136700644editdlrm
posixpath.cpython-310.pyc105600644editdlrm
pprint.cpython-310.pyc178750644editdlrm
profile.cpython-310.pyc143910644editdlrm
pstats.cpython-310.pyc236210644editdlrm
pty.cpython-310.pyc41430644editdlrm
pyclbr.cpython-310.pyc97750644editdlrm
pydoc.cpython-310.pyc856450644editdlrm
py_compile.cpython-310.pyc73390644editdlrm
queue.cpython-310.pyc107920644editdlrm
quopri.cpython-310.pyc57940644editdlrm
random.cpython-310.pyc227480644editdlrm
re.cpython-310.pyc142270644editdlrm
reprlib.cpython-310.pyc52500644editdlrm
rlcompleter.cpython-310.pyc59540644editdlrm
runpy.cpython-310.pyc94110644editdlrm
sched.cpython-310.pyc61150644editdlrm
secrets.cpython-310.pyc21750644editdlrm
selectors.cpython-310.pyc171050644editdlrm
shelve.cpython-310.pyc94920644editdlrm
shlex.cpython-310.pyc77820644editdlrm
shutil.cpython-310.pyc385360644editdlrm
signal.cpython-310.pyc29350644editdlrm
site.cpython-310.pyc179220644editdlrm
sitecustomize.cpython-310.pyc2250644editdlrm
smtpd.cpython-310.pyc261470644editdlrm
smtplib.cpython-310.pyc357660644editdlrm
sndhdr.cpython-310.pyc69620644editdlrm
socket.cpython-310.pyc289630644editdlrm
socketserver.cpython-310.pyc253470644editdlrm
sre_compile.cpython-310.pyc151940644editdlrm
sre_constants.cpython-310.pyc63570644editdlrm
sre_parse.cpython-310.pyc217550644editdlrm
ssl.cpython-310.pyc452710644editdlrm
stat.cpython-310.pyc42730644editdlrm
statistics.cpython-310.pyc370510644editdlrm
string.cpython-310.pyc71020644editdlrm
stringprep.cpython-310.pyc170750644editdlrm
struct.cpython-310.pyc3070644editdlrm
subprocess.cpython-310.pyc447410644editdlrm
sunau.cpython-310.pyc164820644editdlrm
symtable.cpython-310.pyc128350644editdlrm
sysconfig.cpython-310.pyc181510644editdlrm
tabnanny.cpython-310.pyc69500644editdlrm
tarfile.cpython-310.pyc706740644editdlrm
telnetlib.cpython-310.pyc185060644editdlrm
tempfile.cpython-310.pyc273390644editdlrm
textwrap.cpython-310.pyc138120644editdlrm
this.cpython-310.pyc12640644editdlrm
threading.cpython-310.pyc449690644editdlrm
timeit.cpython-310.pyc117690644editdlrm
token.cpython-310.pyc27380644editdlrm
tokenize.cpython-310.pyc171940644editdlrm
trace.cpython-310.pyc198700644editdlrm
traceback.cpython-310.pyc217120644editdlrm
tracemalloc.cpython-310.pyc175250644editdlrm
tty.cpython-310.pyc10790644editdlrm
turtle.cpython-310.pyc1288570644editdlrm
types.cpython-310.pyc95250644editdlrm
typing.cpython-310.pyc852770644editdlrm
uu.cpython-310.pyc38670644editdlrm
uuid.cpython-310.pyc224980644editdlrm
warnings.cpython-310.pyc136460644editdlrm
wave.cpython-310.pyc175940644editdlrm
weakref.cpython-310.pyc203430644editdlrm
webbrowser.cpython-310.pyc170000644editdlrm
xdrlib.cpython-310.pyc78800644editdlrm
zipapp.cpython-310.pyc60130644editdlrm
zipfile.cpython-310.pyc618450644editdlrm
zipimport.cpython-310.pyc170330644editdlrm
_aix_support.cpython-310.pyc28790644editdlrm
_bootsubprocess.cpython-310.pyc22940644editdlrm
_collections_abc.cpython-310.pyc329250644editdlrm
_compat_pickle.cpython-310.pyc58720644editdlrm
_compression.cpython-310.pyc45120644editdlrm
_distutils_system_mod.cpython-310.pyc54220644editdlrm
_markupbase.cpython-310.pyc75720644editdlrm
_osx_support.cpython-310.pyc115350644editdlrm
_pydecimal.cpython-310.pyc1577360644editdlrm
_pyio.cpython-310.pyc736540644editdlrm
_py_abc.cpython-310.pyc46830644editdlrm
_sitebuiltins.cpython-310.pyc35470644editdlrm
_strptime.cpython-310.pyc159450644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-310.pyc353850644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-310.pyc353790644editdlrm
_threading_local.cpython-310.pyc65390644editdlrm
_weakrefset.cpython-310.pyc76080644editdlrm
__future__.cpython-310.pyc41310644editdlrm
__phello__.foo.cpython-310.pyc1300644editdlrm
Edit: /snap/core22/2411/usr/lib/python3.10/__pycache__/binhex.cpython-310.pyc (12870B)
o `wi9@s dZddlZddlZddlZddlZddlZddlZejdeddgdZ Gddde Z dZ d Z d Zd Zd ZGd ddZddZGdddZejddZGdddZGdddZGdddZddZGdddZGdd d ZGd!d"d"Zd#d$ZdS)%zMacintosh binhex compression/decompression. easy interface: binhex(inputfilename, outputfilename) hexbin(inputfilename, outputfilename) Nzthe binhex module is deprecated) stacklevel)binhexhexbinErrorc@s eZdZdS)rN)__name__ __module__ __qualname__r r /usr/lib/python3.10/binhex.pyr%sri@c@seZdZddZdS)FInfocCsd|_d|_d|_dS)Nz????r)TypeCreatorFlagsselfr r r __init__6s zFInfo.__init__N)rrr rr r r r r5s rcCst}t|d}|d}d|vrd|_|dd|}Wdn1s*wYtj |\}}| ddd}|||dfS) NrbirTEXTr:-r ) rioopenreadrseektellospathsplitreplace)namefinfofpdatadsizedirfiler r r getfileinfo;s    r*c@s,eZdZddZddZddZddZd S) openrsrccGdSNr rargsr r r rIzopenrsrc.__init__cGsdSNr r.r r r rLr0z openrsrc.readcGr,r-r r.r r r writeOr0zopenrsrc.writecCr,r-r rr r r closeRr0zopenrsrc.closeN)rrr rrr3r4r r r r r+Hs  r+ccsDttddtdVWddS1swYdS)Nignore)warningscatch_warningsfilterwarningsDeprecationWarningr r r r _ignore_deprecation_warningXs  "r;c@0eZdZdZddZddZddZdd Zd S) _Hqxcoderenginez(Write data to the coder in 3-byte chunkscCs ||_d|_d|_td|_dS)Nr2r )ofpr&hqxdataLINELENlinelenrr>r r r rbsz_Hqxcoderengine.__init__cCs|j||_t|j}|dd}|jd|}|j|d|_|s$dSt|jt||_Wdn1s;wY|ddS)Nr)r&lenr;r?binasciib2a_hqx_flush)rr&datalentodor r r r3hs   z_Hqxcoderengine.writecCsd}|t|j|jkr-||j}|j|j||dt|_|}|t|j|jks |j|d|_|rB|j|jddSdS)Nr s: )rDr?rAr>r3r@)rforcefirstlastr r r rGts z_Hqxcoderengine._flushcCs\|jr t|jt|j|_Wdn1swY|d|j|`dS)Nr )r&r;r?rErFrGr>r4rr r r r4s  z_Hqxcoderengine.closeN)rrr __doc__rr3rGr4r r r r r=_s  r=c@(eZdZdZddZddZddZdS) _Rlecoderenginez4Write data to the RLE-coder in suitably large chunkscC||_d|_dSr1)r>r&rBr r r r z_Rlecoderengine.__init__cCsf|j||_t|jtkrdStt|j}Wdn1s#wY|j|d|_dSr1)r&rDREASONABLY_LARGEr;rE rlecode_hqxr>r3)rr&rledatar r r r3s   z_Rlecoderengine.writecCsV|jr"tt|j}Wdn1swY|j||j|`dSr-)r&r;rErTr>r3r4)rrUr r r r4s  z_Rlecoderengine.closeN)rrr rNrr3r4r r r r rPs  rPc@LeZdZddZddZddZddZd d Zd d Zd dZ ddZ dS)BinHexc Cs|\}}}}d}t|tr|}t|d}d}z*|dt|} t| |_d|_|dur0t }||_ ||_ | ||t |_WdS|rK|)NFwbTs0(This file must be converted with BinHex 4.0) :r) isinstancestrrrr3r=rPr>crcrdlenrlen _writeinfo _DID_HEADERstater4) rname_finfo_dlen_rlenr>r#r$r\r]close_on_errorofnamehqxerr r r rs*       zBinHex.__init__c Cst|}|dkr tdt|g|dd}|j|j}}t|tr)|d}t|tr3|d}||}t d|j }t d|j |j } |||| } | | |dS)N?zFilename too longzlatin-1>hz>ii)rDrbytesencoderrrYrZstructpackrr\r]_write _writecrc) rr#r$nldtpcrd2d3d4infor r r r^s      zBinHex._writeinfocCs t||j|_|j|dSr-)rEcrc_hqxr[r>r3rr&r r r rlsz BinHex._writecCs4|jdkrd}nd}|jt||jd|_dS)Nrrgz>H)r[r>r3rjrk)rfmtr r r rms  zBinHex._writecrccCs0|jtkr td|jt||_||dS)NzWriting data at the wrong time)r`r_rr\rDrlrwr r r r3s z BinHex.writecCs,|jdkr td|jf|t|_dS)NrzIncorrect data size, diff=%r)r\rr]rm _DID_DATAr`rr r r close_datas  zBinHex.close_datacCsB|jtkr ||jtkrtd|jt||_||dS)Nz'Writing resource data at the wrong time)r`ryrzrr]rDrlrwr r r write_rsrcs  zBinHex.write_rsrccCs|jdurdSz2|jtkr||jtkrtd|jdkr'td|jf|Wd|_|j}|`|dSd|_|j}|`|w)NzClose at the wrong timerz$Incorrect resource-datasize, diff=%r)r`ryrzrr]rmr>r4rBr r r r4s$       z BinHex.closeN) rrr rr^rlrmr3rzr{r4r r r r rWs  rWcCst|}t||}t|d} |d}|sn||q|Wdn1s-wYt|d} |d}|s@n||q8| | dS)zEbinhex(infilename, outfilename): create binhex-encoded copy of a filerTN) r*rWrrrr3rzr+r{r4)inpoutr$r>ifpror r r rs$        rc@rO) _Hqxdecoderenginez*Read data via the decoder in 4-byte chunkscCrQ)Nr)reofrrr r r rrRz_Hqxdecoderengine.__init__cCsd}|}|dkrl|jr |S|ddd}|j|} ztt|\}|_Wdn1s3wYWntjyCYnw|jd}|sPtd ||}q||}|t|}|sh|jshtd |dks|S) z&Read at least wtd bytes (or until EOF)r2rrrCTNr zPremature EOF on binhex file) rrrr;rEa2b_hqx IncompleterrD)rtotalwtddecdatawtdr& decdatacurnewdatar r r rs4     z_Hqxdecoderengine.readcC|jdSr-rr4rr r r r4:z_Hqxdecoderengine.closeN)rrr rNrrr4r r r r rs  !rc@r<) _RledecoderenginezRead data via the RLE-codercCs||_d|_d|_d|_dS)Nr2r)r pre_buffer post_bufferrrr r r r@s z_Rledecoderengine.__init__cCsD|t|jkr||t|j|jd|}|j|d|_|Sr-)rDr_fill)rrrvr r r rFs z_Rledecoderengine.readcCs@|j|j|d|_|jjr2t|jt|j|_Wdn1s(wYd|_dSt|j}|jddt dt krI|d}n,|jddt krW|d}n|jddt dkrg|d}n|jddt krqn|d }t|jt|jd||_Wdn1swY|j|d|_dS) Nrr2rfrCrr ) rrrrr;rrE rledecode_hqxrDRUNCHAR)rrmarkr r r rMs2     z_Rledecoderengine._fillcCrr-rrr r r r4rrz_Rledecoderengine.closeN)rrr rNrrrr4r r r r r=s  %rc@rV)HexBincCsht|tr t|d} |d}|std|dkrq |dkr!nq t|}t||_d|_ | dS)NrTr zNo binhex data foundrJ:r) rYrZrrrrrrrr[ _readheader)rrchhqxifpr r r rvs     zHexBin.__init__cCs |j|}t||j|_|Sr-)rrrErvr[)rrDr&r r r _reads z HexBin._readcCsNtd|jddd@}|jd@|_||jkr"td|j|fd|_dS)NrgrrizCRC error, computed %x, read %x)rjunpackrrr[r)rfilecrcr r r _checkcrcs   zHexBin._checkcrccCs|d}|t|}|d}||dd}|dd}td|ddd}td|dd d|_td|d dd|_||_t|_||j_ ||j_ ||j_ t |_ dS) Nr  rg rz>l)rordrrjrr\r]FNamerrrrr_r`)rrDfnameresttypecreatorflagsr r r rs     zHexBin._readheadercGst|jtkr td|r|d}t||j}n|j}d}t||kr2|||t|}t||ks!|j||_|S)NzRead data at wrong timerr2)r`r_rminr\rDr)rnrr r r rs   z HexBin.readcCs6|jtkr td|jr||j}|t|_dS)Nzclose_data at wrong time)r`r_rr\rrryrdummyr r r rzs   zHexBin.close_datacGsZ|jtkr ||jtkrtd|r|d}t||j}n|j}|j||_||S)Nz Read resource data at wrong timer)r`r_rzryrrr]r)rrr r r read_rsrcs    zHexBin.read_rsrccCsR|jdurdSz|jr||j}|Wd|_|jdSd|_|jwr-)r`r]rrrr4rr r r r4s    z HexBin.closeN) rrr rrrrrrzrr4r r r r rus  rcCst|}|j}|s |j}t|d} |d}|sn||qWdn1s,wY||d}|rYt |d}|| |d}|sOn||qG| | dS)z6hexbin(infilename, outfilename) - Decode binhexed filerXTr|N) rrrrrrr3rzrr+r4)r}r~rr$r>ror r r rs0        r)rNrE contextlibrrrjr7warnr:__all__ Exceptionrr_ryrSr@rrr*r+contextmanagerr;r=rPrWrrrrrr r r r s<  (^+8 h