/snap/core20/2769/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.pyc414640644editdlrm
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.pyc135560644editdlrm
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/2769/usr/lib/python3.8/__pycache__/dis.cpython-38.pyc (15808B)
U yiZP @sdZddlZddlZddlZddlZddlTddlmZddddd d d d d ddg eZ[ejej ej e e e fZedZdedfedfedffZedZdZddZdVdddddZdWddddZdddd d!d"d#d$d%d&d' Zd(d)Zd*d+Zd,dZd-d.Zddd/d Ze d0d1Z!d2e!j"_d3e!j_d4e!j#_d5e!j$_d6e!j%_d7e!j&_d8e!j'_d9e!j(_d:Z)d;Z*Gdd Z,d?d@Z-dAdBZ.dXdCdDZ/dYdddFdZ0ddddGdHZ1dZdddIdJdKZ2dLdMZ3e0Z4dNdOZ5dPd Z6dQd Z7GdRddZ8dSdTZ9e:dUkre9dS)[z0Disassembler of Python byte code into mnemonics.N)*)__all__ code_infodis disassembledistbdiscofindlinestarts findlabels show_codeget_instructions InstructionBytecode FORMAT_VALUE)Nstrreprascii MAKE_FUNCTION)defaultsZ kwdefaultsZ annotationsZclosurecCs6zt||d}Wn tk r0t||d}YnX|S)zAttempts to compile the given source, first as an expression and then as a statement if the first approach fails. Utility function to accept strings in functions that otherwise expect code objects evalexec)compile SyntaxError)sourcenamecr/usr/lib/python3.8/dis.py _try_compiles rfiledepthc Csh|dkrt|ddSt|dr&|j}t|dr8|j}n4t|drJ|j}n"t|dr\|j}nt|drl|j}t|drt|j }|D]p\}}t |t rt d ||dzt |||d Wn0tk r}zt d ||dW5d}~XYnXt |dqnht|d rt|||d nLt |ttfr6t||dn.t |trRt|||d ntd t|jdS)a0Disassemble classes, methods, functions, and other compiled objects. With no argument, disassemble the last traceback. Compiled objects currently include generator objects, async generator objects, and coroutine objects, all of which store their code object in a special attribute. Nr!__func____code__gi_codeag_codecr_code__dict__zDisassembly of %s:r zSorry:co_code(don't know how to disassemble %s objects)rhasattrr$r%r&r'r(sortedr)items isinstance _have_codeprintr TypeError_disassemble_recursivebytes bytearray_disassemble_bytesr_disassemble_strtype__name__)xr!r"r.rZx1msgrrrr+s@             r#cCsX|dkr@z tj}Wntk r0tddYnX|jr@|j}q2t|jj|j|ddS)z2Disassemble a traceback (default: last traceback).Nz no last traceback to disassembler#) syslast_tracebackAttributeError RuntimeErrortb_nextrtb_framef_codetb_lasti)tbr!rrrrXs Z OPTIMIZEDZ NEWLOCALSZVARARGSZ VARKEYWORDSZNESTEDZ GENERATORZNOFREEZ COROUTINEZITERABLE_COROUTINEZASYNC_GENERATOR)  @icCs`g}tdD]:}d|>}||@r |t|t|||N}|s qVq |t|d|S)z+Return pretty representation of code flags.rJrE, )rangeappendCOMPILER_FLAG_NAMESgethexjoin)flagsnamesiflagrrr pretty_flagsrs rYcCst|dr|j}t|dr"|j}n4t|dr4|j}n"t|drF|j}nt|drV|j}t|trjt|d}t|drx|St dt |j d S) zDHelper to handle methods, compiled or raw code objects, and strings.r$r%r&r'r(z r*r+N) r,r$r%r&r'r(r/rrr2r8r9r:rrr_get_code_objects"        r[cCs tt|S)z1Formatted details of methods, functions, or code.)_format_code_infor[rZrrrrscCsg}|d|j|d|j|d|j|d|j|d|j|d|j|d|j|dt|j |j r|d t |j D]}|d |q|j r|d t |j D]}|d |q|j r|d t |j D]}|d |q|jrH|dt |jD]}|d |q2|jrz|dt |jD]}|d |qdd|S)NzName: %szFilename: %szArgument count: %szPositional-only arguments: %szKw-only arguments: %szNumber of locals: %szStack size: %szFlags: %sz Constants:z%4d: %rzNames:z%4d: %szVariable names:zFree variables:zCell variables: )rPco_name co_filename co_argcountco_posonlyargcountco_kwonlyargcount co_nlocals co_stacksizerYco_flags co_consts enumerateco_names co_varnames co_freevars co_cellvarsrT)colinesZi_cZi_nrrrr\s<     r\cCstt||ddS)z}Print details of methods, functions, or code to *file*. If *file* is not provided, the output is printed on stdout. r#N)r1r)rlr!rrrr s _InstructionzBopname opcode arg argval argrepr offset starts_line is_jump_targetz!Human readable name for operationzNumeric code for operationz6Numeric argument to operation (if any), otherwise Nonez4Resolved arg value (if known), otherwise same as argz0Human readable description of operation argumentz1Start index of operation within bytecode sequencez4Line started by this opcode (if any), otherwise Nonez1True if other code jumps to here, otherwise Falsec@seZdZdZdddZdS) r aKDetails for a bytecode operation Defined fields: opname - human readable name for operation opcode - numeric code for operation arg - numeric argument to operation (if any), otherwise None argval - resolved arg value (if known), otherwise same as arg argrepr - human readable description of operation argument offset - start index of operation within bytecode sequence starts_line - line started by this opcode (if any), otherwise None is_jump_target - True if other code jumps to here, otherwise False FrGcCsg}|r:|jdk r,d|}|||jn|d||rJ|dn |d|jrf|dn |d|t|j|||jt|j dk r|t|j t |j r|d|j d d | S) a%Format instruction details for inclusion in disassembly output *lineno_width* sets the width of the line number field (0 omits it) *mark_as_current* inserts a '-->' marker arrow as part of the line *offset_width* sets the width of the instruction offset field Nz%%%dd z-->z z>>z ()) starts_linerPis_jump_targetroffsetrjustopnameljust _OPNAME_WIDTHarg _OPARG_WIDTHargreprrTrstrip)self lineno_widthZmark_as_current offset_widthZfieldsZ lineno_fmtrrr _disassembles&      zInstruction._disassembleN)rqFrG)r9 __module__ __qualname____doc__rrrrrr s ) first_linecCsTt|}|j|j}tt|}|dk r4||j}nd}t|j|j|j |j |||S)aIterator for the opcodes in methods, functions or code Generates a series of Instruction named tuples giving the details of each operations in the supplied code. If *first_line* is not None, it indicates the line number that should be reported for the first source line in the disassembled code. Otherwise, the source line information (if any) is taken directly from the disassembled code object. Nr) r[rkrjdictr co_firstlineno_get_instructions_bytesr*rirhrf)r:rrl cell_names linestarts line_offsetrrrr s    cCs |}|dk r||}|t|fS)zHelper to get optional details about const references Returns the dereferenced constant and its repr if the constant list is defined. Otherwise returns the constant index and its repr(). Nr)Z const_indexZ const_listargvalrrr_get_const_infosrcCs*|}|dk r||}|}nt|}||fS)zHelper to get optional details about named references Returns the dereferenced name as both value and repr if the name list is defined. Otherwise returns the name index and its repr(). Nr)Z name_indexZ name_listrr~rrr_get_name_info's rc #st|}d}t|D]r\} } |dk rD|| d}|dk rD||7}| |k} d} d} dk rl} | tkrzt|\} } n| tkrt|\} } n| tkr| d} dt| } n| t krt|\} } n| t krt } | } n| t krt|\} } nr| t krFtd@\} } | td@f} | drl| r<| d7} | d 7} n&| tkrldfd d ttD} tt| | | | | || VqdS) a&Iterate over the instructions in a bytecode string. Generates a sequence of Instruction namedtuples giving the details of each opcode. Additional information about the code's runtime environment (e.g. variable names, constants) can be specified using optional arguments. NrrFzto rqrGrErNz with formatc3s"|]\}}d|>@r|VqdS)rENr).0rWsr|rr gs z*_get_instructions_bytes..)r _unpack_opargsrRZhasconstrZhasnamerhasjrelrZhaslocalZ hascompareZcmp_opZhasfreerFORMAT_VALUE_CONVERTERSboolrrTrgMAKE_FUNCTION_FLAGSr ry)codevarnamesrV constantscellsrrlabelsrurwoprvrr~rrrr7sV         rc Cs<|j|j}tt|}t|j||j|j|j|||ddS)zDisassemble a code object.r#N) rkrjrr r6r*rirhrf)rllastir!rrrrrrms  cCspt||d|dks|dkrl|dk r,|d}|jD]8}t|dr2t|dtd|f|dt|||dq2dS)Nr#rrEr*zDisassembly of %r:r )rrfr,r1r3)rlr!r"r:rrrr3ts    r3)r!rc Cs|dk } | r8t||} | dkr2tt| } qN)r3r)rkwargsrrrr7sr7ccsdd}tdt|dD]J}||}|tkrN||d|B}|tkrH|d>nd}nd}|||fVqdS)NrrFrErH)rOrZ HAVE_ARGUMENTZ EXTENDED_ARG)rZ extended_argrWrr|rrrrsrcCs\g}t|D]J\}}}|dk r |tkr4|d|}n|tkr |}nq ||kr ||q |S)z`Detect all offsets in a byte code which are jump targets. Return the list of offsets. NrF)rrZhasjabsrP)rrrwrr|Zlabelrrrr s c cs|jddd}|jddd}t|j}d}|j}d}t||D]P\}}|rz||krd||fV|}||7}||krzdS|dkr|d8}||7}qB||kr||fVdS)zFind the offsets in a byte code which are start of lines in the source. Generate pairs (offset, lineno) as described in Python/compile.c. rNrFrErLrM) co_lnotabrr*rzip) rZbyte_incrementsZline_incrementsZ bytecode_lenZ lastlinenolinenoZaddrZ byte_incrZ line_incrrrrr s&   c@sLeZdZdZdddddZddZdd Zed d Zd d Z ddZ dS)raThe bytecode operations of a piece of code Instantiate this with a function, method, other compiled object, string of code, or a code object (as returned by compile()). Iterating over this yields the bytecode operations as Instruction instances. N)rcurrent_offsetcCsdt||_}|dkr&|j|_d|_n||_||j|_|j|j|_tt ||_ ||_ ||_ dS)Nr) r[codeobjrr _line_offsetrkrj _cell_namesrr _linestarts_original_objectr)rr:rrrlrrr__init__s zBytecode.__init__c Cs*|j}t|j|j|j|j|j|j|jdS)Nr) rrr*rirhrfrrr)rrlrrr__iter__szBytecode.__iter__cCsd|jj|jS)Nz{}({!r}))format __class__r9rrrrr__repr__s zBytecode.__repr__cCs |jr|j}q||jj|jdS)z/ Construct a Bytecode from the given traceback )r)r@rArBrC)clsrDrrrfrom_tracebackszBytecode.from_tracebackcCs t|jS)z3Return formatted information about the code object.)r\rrrrrinfosz Bytecode.infoc Csl|j}|jdk r|j}nd}t>}t|j|j|j|j|j |j |j ||d | W5QRSQRXdS)z3Return a formatted view of the bytecode operations.Nr)rrVrrrrr!r) rrioStringIOr6r*rirhrfrrrgetvalue)rrlrwoutputrrrr s   z Bytecode.dis) r9rrrrrr classmethodrrrrrrrrs  c Csfddl}|}|jd|dddd|}|j}|}W5QRXt||jjd}t |dS) z*Simple test program to disassemble a file.rNinfilerb?-)r8nargsdefaultr) argparseArgumentParser add_argumentZFileType parse_argsrreadrrr)rparserargsrrrrrr_testsr__main__)N)N)NNNNNr)r)rNNNNN);rr<types collectionsrZopcoderZ _opcodes_all MethodType FunctionTypeCodeTyper staticmethodr8r0ZopmaprrrrrrrrrrrQrYr[rr\r namedtuplernryr|rr~rwrurvr{r}r r rrrrr3r6r7rrr r rrr9rrrrs    -  4  6   =