/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__/zipimport.cpython-38.pyc (17275B)
U ʦi-x@sRdZddlZddlmZmZddlZddlZddlZddl Z ddl Z ddl Z ddgZ ej Z ejddZGdddeZiZee ZdZd Zd ZGd ddZe d d d fe ddd fddfZddZddZddZddZdZdaddZ ddZ!dd Z"d!d"Z#ee#j$Z%d#d$Z&d%d&Z'd'd(Z(d)d*Z)d+d,Z*d-d.Z+Gd/d0d0Z,dS)1aPzipimport provides support for importing Python modules from Zip archives. This module exports three objects: - zipimporter: a class; its constructor takes a path to a Zip archive. - ZipImportError: exception raised by zipimporter objects. It's a subclass of ImportError, so it can be caught as ImportError, too. - _zip_directory_cache: a dict, mapping archive paths to zip directory info dicts, as used in zipimporter._files. It is usually not needed to use the zipimport module explicitly; it is used by the builtin import mechanism for sys.path items that are paths to Zip archives. N)_unpack_uint16_unpack_uint32ZipImportError zipimporterc@s eZdZdS)rN)__name__ __module__ __qualname__r r /usr/lib/python3.8/zipimport.pyr!ssPKic@sleZdZdZddZdddZdddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ ddZdS)razipimporter(archivepath) -> zipimporter object Create a new zipimporter instance. 'archivepath' must be a path to a zipfile, or to a specific path inside a zipfile. For example, it can be '/tmp/myimport.zip', or '/tmp/myimport.zip/mydirectory', if mydirectory is a valid directory inside the archive. 'ZipImportError is raised if 'archivepath' doesn't point to a valid Zip archive. The 'archive' attribute of zipimporter objects contains the name of the zipfile targeted. c Cs$t|tsddl}||}|s,td|dtr<|tt}g}zt |}WnHt t fk rt |\}}||krtd|d|}| |Yq@X|jd@dkrtd|dqq@z t|}Wn$tk rt|}|t|<YnX||_||_tj|ddd|_|jr |jt7_dS)Nrzarchive path is emptypathznot a Zip fileii) isinstancestrosfsdecoder alt_path_sepreplacepath_sep_bootstrap_external _path_statOSError ValueError _path_splitappendst_mode_zip_directory_cacheKeyError_read_directory_filesarchive _path_joinprefix)selfrrr$stdirnamebasenamefilesr r r __init__?s:       zzipimporter.__init__NcCsNt||}|dk r|gfSt||}t||rFd|jt|gfSdgfS)afind_loader(fullname, path=None) -> self, str or None. Search for a module specified by 'fullname'. 'fullname' must be the fully qualified (dotted) module name. It returns the zipimporter instance itself if the module was found, a string containing the full path name if it's possibly a portion of a namespace package, or None otherwise. The optional 'path' argument is ignored -- it's there for compatibility with the importer protocol. N)_get_module_info_get_module_path_is_dirr"r)r%fullnamermimodpathr r r find_loaderms   zzipimporter.find_loadercCs|||dS)afind_module(fullname, path=None) -> self or None. Search for a module specified by 'fullname'. 'fullname' must be the fully qualified (dotted) module name. It returns the zipimporter instance itself if the module was found, or None if it wasn't. The optional 'path' argument is ignored -- it's there for compatibility with the importer protocol. r)r1)r%r.rr r r find_modules zzipimporter.find_modulecCst||\}}}|S)zget_code(fullname) -> code object. Return the code object for the specified module. Raise ZipImportError if the module couldn't be found. _get_module_coder%r.code ispackager0r r r get_codeszzipimporter.get_codecCsvtr|tt}|}||jtr:|t|jtd}z|j|}Wn tk rhtdd|YnXt |j|S)zget_data(pathname) -> string with file data. Return the data associated with 'pathname'. Raise OSError if the file wasn't found. Nr) rrr startswithr"lenr!rr _get_data)r%pathnamekey toc_entryr r r get_datas zzipimporter.get_datacCst||\}}}|S)zjget_filename(fullname) -> filename string. Return the filename for the specified module. r3r5r r r get_filenameszzipimporter.get_filenamecCst||}|dkr$td||dt||}|r@t|d}n |d}z|j|}Wntk rnYdSXt|j| S)zget_source(fullname) -> source string. Return the source code for the specified module. Raise ZipImportError if the module couldn't be found, return None if the archive does contain the module, but has no source for it. Ncan't find module name __init__.py.py) r+rr,rr#r!rr<r"decode)r%r.r/rfullpathr?r r r get_sources   zzipimporter.get_sourcecCs(t||}|dkr$td||d|S)zis_package(fullname) -> bool. Return True if the module specified by fullname is a package. Raise ZipImportError if the module couldn't be found. NrBrC)r+r)r%r.r/r r r is_packages zzipimporter.is_packagecCst||\}}}tj|}|dks.t|ts@t|}|tj|<||_zT|rlt||}t |j |}|g|_ t |ds|t |_ t|j||t||jWntj|=YnXztj|}Wn$tk rtd|dYnXtd|||S)zload_module(fullname) -> module. Load the module specified by 'fullname'. 'fullname' must be the fully qualified (dotted) module name. It returns the imported module, or raises ZipImportError if it wasn't found. N __builtins__zLoaded module z not found in sys.moduleszimport {} # loaded from Zip {})r4sysmodulesgetr _module_type __loader__r,rr#r"__path__hasattrrK_fix_up_module__dict__execr ImportError _bootstrap_verbose_message)r%r.r6r7r0modrrHr r r load_modules0    zzipimporter.load_modulecCsXz||sWdSWntk r*YdSXtjsNddlm}|tdt_t||S)zReturn the ResourceReader for a package in a zip file. If 'fullname' is a package within the zip file, return the 'ResourceReader' object for the package. Otherwise return None. Nr)ResourceReaderT)rJr_ZipImportResourceReader _registered importlib.abcr[register)r%r.r[r r r get_resource_readers    zzipimporter.get_resource_readercCsd|jt|jdS)Nz)r"rr$)r%r r r __repr__"szzipimporter.__repr__)N)N)rrr __doc__r*r1r2r8r@rArIrJrZr`rar r r r r-s.    &z __init__.pycTrEF)z.pycTF)rFFFcCs|j|ddS)N.)r$ rpartition)r%r.r r r r,4sr,cCs|t}||jkSN)rr!)r%rdirpathr r r r-8sr-cCs8t||}tD]$\}}}||}||jkr|SqdSrf)r,_zip_searchorderr!)r%r.rsuffix isbytecoder7rHr r r r+As    r+c Cszt|}Wn&tk r4td||dYnX|z$|t d|}|t}Wn&tk rtd||dYnXt|tkrtd||d|ddt krz|dd|}Wn&tk rtd||dYnXt |t td}z|||}Wn(tk rJtd||dYnX| t }|dkrrtd||d|||t}t|tkrtd||d|t||}t |d d }t |d d } ||krtd ||d|| kr td ||d||8}|| } | dkr6td||di} d} z||Wn(tk rttd||dYnX|d}t|dkrtd|dddkrqt|dkrtdt|dd} t|dd }t|d d}t|dd }t |d d }t |d d}t |dd}t|dd}t|dd}t|dd}t |dd}|||}|| krtd||d|| 7}z||}Wn(tk rtd||dYnXt||krtd||dz2t|||||kr*td||dWn(tk rTtd||dYnX| d@rj|}n6z|d}Wn&tk r|dt}YnX|dt}t||}||||||||f}|| |<| d 7} qvW5QRXtd!| || S)"Nzcan't open Zip file: r rdcan't read Zip file: rznot a Zip file: zcorrupt Zip file: zbad central directory size: zbad central directory offset: z&bad central directory size or offset: .EOF read where not expectedsPK  "*zbad local header offset: iasciilatin1/rz!zipimport: found {} names in {!r})_io open_coderrseekEND_CENTRAL_DIR_SIZEtellreadr;STRING_END_ARCHIVEmaxMAX_COMMENT_LENrfindrEOFErrorrrGUnicodeDecodeError translate cp437_tablerrrr#rWrX)r"fpheader_positionbuffer file_sizemax_comment_startdatapos header_size header_offset arc_offsetr)countflagscompresstimedatecrc data_size name_size extra_size comment_size file_offsetrDrtr r r r `s                       r u  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ cCsltrtdtddaz      r<cCst||dkS)Nr)abs)t1t2r r r _eq_mtimeAsrcCs<||d}zt|||}Wntk r2YdSX|d@dk}|r|d@dk}tjdkr|shtjdkrt||} | dk rttj| } zt|| ||Wntk rYdSXnTt ||\} } | r t t |dd| rt |dd | kr t d |dSt|d d} t| ts8td |d | S) N)rDrrrrdneveralwaysrrrmrnzbytecode is stale for zcompiled module z is not a code object)r _classify_pycrV_impcheck_hash_based_pycs_get_pyc_source source_hash_RAW_MAGIC_NUMBER_validate_hash_pyc_get_mtime_and_size_of_sourcerrrWrXmarshalloadsr _code_type TypeError)r%r=rHr.r exc_detailsr hash_based check_source source_bytesr source_mtime source_sizer6r r r _unmarshal_codeKsX      rcCs|dd}|dd}|S)Ns   )r)sourcer r r _normalize_line_endings~s  rcCst|}t||dddS)NrUT) dont_inherit)rcompile)r=rr r r _compile_sourcesrc CsDt|d?d|d?d@|d@|d?|d?d@|d@dd d d f S) N i ?rdr)rmktime)drr r r _parse_dostimes    rc CstzR|dddkst|dd}|j|}|d}|d}|d}t|||fWStttfk rnYdSXdS)Nrcor)rr)AssertionErrorr!rr IndexErrorr)r%rr?rruncompressed_sizer r r rs  rcCsV|dddkst|dd}z|j|}Wntk rDYdSXt|j|SdS)Nrr)rr!rr<r")r%rr?r r r rs rc Cst||}tD]\}}}||}tjd|jt|ddz|j|}Wntk rXYqX|d}t|j|} |rt ||||| } n t || } | dkrq|d}| ||fSqt d||ddS)Nz trying {}{}{}rd) verbosityrrBrC) r,rhrWrXr"rr!rr<rrr) r%r.rrirjr7rHr?r0rr6r r r r4s$   r4c@s<eZdZdZdZddZddZddZd d Zd d Z d S)r\zPrivate class used to support ZipImport.get_resource_reader(). This class is allowed to reference all the innards and private parts of the zipimporter. FcCs||_||_dSrf)rr.)r%rr.r r r r*sz!_ZipImportResourceReader.__init__cCs\|jdd}|d|}ddlm}z||j|WStk rVt|YnXdS)Nrcr}r)BytesIO)r.riorrr@rFileNotFoundError)r%resourcefullname_as_pathrrr r r open_resources z&_ZipImportResourceReader.open_resourcecCstdSrf)r)r%rr r r resource_pathsz&_ZipImportResourceReader.resource_pathcCsH|jdd}|d|}z|j|Wntk rBYdSXdS)Nrcr}FT)r.rrr@r)r%rDrrr r r is_resourcesz$_ZipImportResourceReader.is_resourcec csddlm}||j|j}||jj}|jdks:t|j }t }|jj D]f}z|||}Wnt k r|YqNYnX|j j}t |dkr|jVqN||krN|||VqNdS)Nr)PathrE)pathlibrrrAr. relative_tor"rDrparentsetr!rr;add) r%r fullname_path relative_path package_path subdirs_seenfilenamerelative parent_namer r r contentss"      z!_ZipImportResourceReader.contentsN) rrr rbr]r*rrrrr r r r r\s  r\)-rb_frozen_importlib_externalrrr_frozen_importlibrWrr~rrLr__all__rpath_separatorsrrVrrtyperOrrrrrhr,r-r+r rrrr<rr__code__rrrrrrr4r\r r r r sX    ~. .