/opt/alt/python311/lib64/python3.11/__pycache__
NameSizeModeActions
abc.cpython-311.opt-1.pyc90540644editdlrm
abc.cpython-311.opt-2.pyc58540644editdlrm
abc.cpython-311.pyc90540644editdlrm
aifc.cpython-311.opt-1.pyc455220644editdlrm
aifc.cpython-311.opt-2.pyc403150644editdlrm
aifc.cpython-311.pyc455220644editdlrm
antigravity.cpython-311.opt-1.pyc12700644editdlrm
antigravity.cpython-311.opt-2.pyc11330644editdlrm
antigravity.cpython-311.pyc12700644editdlrm
argparse.cpython-311.opt-1.pyc1137050644editdlrm
argparse.cpython-311.opt-2.pyc1040020644editdlrm
argparse.cpython-311.pyc1139960644editdlrm
ast.cpython-311.opt-1.pyc1094160644editdlrm
ast.cpython-311.opt-2.pyc1010450644editdlrm
ast.cpython-311.pyc1096770644editdlrm
asynchat.cpython-311.opt-1.pyc119000644editdlrm
asynchat.cpython-311.opt-2.pyc105440644editdlrm
asynchat.cpython-311.pyc119000644editdlrm
asyncore.cpython-311.opt-1.pyc282020644editdlrm
asyncore.cpython-311.opt-2.pyc269970644editdlrm
asyncore.cpython-311.pyc282020644editdlrm
base64.cpython-311.opt-1.pyc280340644editdlrm
base64.cpython-311.opt-2.pyc234340644editdlrm
base64.cpython-311.pyc284600644editdlrm
bdb.cpython-311.opt-1.pyc386870644editdlrm
bdb.cpython-311.opt-2.pyc293420644editdlrm
bdb.cpython-311.pyc386870644editdlrm
bisect.cpython-311.opt-1.pyc37140644editdlrm
bisect.cpython-311.opt-2.pyc24200644editdlrm
bisect.cpython-311.pyc37140644editdlrm
bz2.cpython-311.opt-1.pyc161760644editdlrm
bz2.cpython-311.opt-2.pyc112940644editdlrm
bz2.cpython-311.pyc161760644editdlrm
calendar.cpython-311.opt-1.pyc447540644editdlrm
calendar.cpython-311.opt-2.pyc405230644editdlrm
calendar.cpython-311.pyc447540644editdlrm
cgi.cpython-311.opt-1.pyc438750644editdlrm
cgi.cpython-311.opt-2.pyc353450644editdlrm
cgi.cpython-311.pyc438750644editdlrm
cgitb.cpython-311.opt-1.pyc188950644editdlrm
cgitb.cpython-311.opt-2.pyc173280644editdlrm
cgitb.cpython-311.pyc188950644editdlrm
chunk.cpython-311.opt-1.pyc74400644editdlrm
chunk.cpython-311.opt-2.pyc53360644editdlrm
chunk.cpython-311.pyc74400644editdlrm
cmd.cpython-311.opt-1.pyc206110644editdlrm
cmd.cpython-311.opt-2.pyc152760644editdlrm
cmd.cpython-311.pyc206110644editdlrm
code.cpython-311.opt-1.pyc139150644editdlrm
code.cpython-311.opt-2.pyc87250644editdlrm
code.cpython-311.pyc139150644editdlrm
codecs.cpython-311.opt-1.pyc452580644editdlrm
codecs.cpython-311.opt-2.pyc298990644editdlrm
codecs.cpython-311.pyc452580644editdlrm
codeop.cpython-311.opt-1.pyc77440644editdlrm
codeop.cpython-311.opt-2.pyc47450644editdlrm
codeop.cpython-311.pyc77440644editdlrm
colorsys.cpython-311.opt-1.pyc49650644editdlrm
colorsys.cpython-311.opt-2.pyc43580644editdlrm
colorsys.cpython-311.pyc49650644editdlrm
compileall.cpython-311.opt-1.pyc215990644editdlrm
compileall.cpython-311.opt-2.pyc183650644editdlrm
compileall.cpython-311.pyc215990644editdlrm
configparser.cpython-311.opt-1.pyc718210644editdlrm
configparser.cpython-311.opt-2.pyc568550644editdlrm
configparser.cpython-311.pyc718210644editdlrm
contextlib.cpython-311.opt-1.pyc330660644editdlrm
contextlib.cpython-311.opt-2.pyc269420644editdlrm
contextlib.cpython-311.pyc330830644editdlrm
contextvars.cpython-311.opt-1.pyc3130644editdlrm
contextvars.cpython-311.opt-2.pyc3130644editdlrm
contextvars.cpython-311.pyc3130644editdlrm
copy.cpython-311.opt-1.pyc112010644editdlrm
copy.cpython-311.opt-2.pyc89180644editdlrm
copy.cpython-311.pyc112010644editdlrm
copyreg.cpython-311.opt-1.pyc81600644editdlrm
copyreg.cpython-311.opt-2.pyc73810644editdlrm
copyreg.cpython-311.pyc81940644editdlrm
cProfile.cpython-311.opt-1.pyc90880644editdlrm
cProfile.cpython-311.opt-2.pyc86250644editdlrm
cProfile.cpython-311.pyc90880644editdlrm
crypt.cpython-311.opt-1.pyc58520644editdlrm
crypt.cpython-311.opt-2.pyc52050644editdlrm
crypt.cpython-311.pyc58520644editdlrm
csv.cpython-311.opt-1.pyc200700644editdlrm
csv.cpython-311.opt-2.pyc180520644editdlrm
csv.cpython-311.pyc200700644editdlrm
dataclasses.cpython-311.opt-1.pyc471880644editdlrm
dataclasses.cpython-311.opt-2.pyc435660644editdlrm
dataclasses.cpython-311.pyc472390644editdlrm
datetime.cpython-311.opt-1.pyc981620644editdlrm
datetime.cpython-311.opt-2.pyc903150644editdlrm
datetime.cpython-311.pyc1013500644editdlrm
decimal.cpython-311.opt-1.pyc5570644editdlrm
decimal.cpython-311.opt-2.pyc5570644editdlrm
decimal.cpython-311.pyc5570644editdlrm
difflib.cpython-311.opt-1.pyc816120644editdlrm
difflib.cpython-311.opt-2.pyc483430644editdlrm
difflib.cpython-311.pyc816620644editdlrm
dis.cpython-311.opt-1.pyc366550644editdlrm
dis.cpython-311.opt-2.pyc322980644editdlrm
dis.cpython-311.pyc366950644editdlrm
doctest.cpython-311.opt-1.pyc1126310644editdlrm
doctest.cpython-311.opt-2.pyc775720644editdlrm
doctest.cpython-311.pyc1130200644editdlrm
enum.cpython-311.opt-1.pyc880100644editdlrm
enum.cpython-311.opt-2.pyc785760644editdlrm
enum.cpython-311.pyc880100644editdlrm
filecmp.cpython-311.opt-1.pyc157240644editdlrm
filecmp.cpython-311.opt-2.pyc131060644editdlrm
filecmp.cpython-311.pyc157240644editdlrm
fileinput.cpython-311.opt-1.pyc211820644editdlrm
fileinput.cpython-311.opt-2.pyc157290644editdlrm
fileinput.cpython-311.pyc211820644editdlrm
fnmatch.cpython-311.opt-1.pyc73390644editdlrm
fnmatch.cpython-311.opt-2.pyc61560644editdlrm
fnmatch.cpython-311.pyc74850644editdlrm
fractions.cpython-311.opt-1.pyc292570644editdlrm
fractions.cpython-311.opt-2.pyc221940644editdlrm
fractions.cpython-311.pyc292570644editdlrm
ftplib.cpython-311.opt-1.pyc476610644editdlrm
ftplib.cpython-311.opt-2.pyc375010644editdlrm
ftplib.cpython-311.pyc476610644editdlrm
functools.cpython-311.opt-1.pyc466490644editdlrm
functools.cpython-311.opt-2.pyc400610644editdlrm
functools.cpython-311.pyc466490644editdlrm
genericpath.cpython-311.opt-1.pyc61750644editdlrm
genericpath.cpython-311.opt-2.pyc51440644editdlrm
genericpath.cpython-311.pyc61750644editdlrm
getopt.cpython-311.opt-1.pyc96790644editdlrm
getopt.cpython-311.opt-2.pyc71380644editdlrm
getopt.cpython-311.pyc97460644editdlrm
getpass.cpython-311.opt-1.pyc75270644editdlrm
getpass.cpython-311.opt-2.pyc63590644editdlrm
getpass.cpython-311.pyc75270644editdlrm
gettext.cpython-311.opt-1.pyc242660644editdlrm
gettext.cpython-311.opt-2.pyc235920644editdlrm
gettext.cpython-311.pyc242660644editdlrm
glob.cpython-311.opt-1.pyc111450644editdlrm
glob.cpython-311.opt-2.pyc102040644editdlrm
glob.cpython-311.pyc112230644editdlrm
graphlib.cpython-311.opt-1.pyc109990644editdlrm
graphlib.cpython-311.opt-2.pyc76050644editdlrm
graphlib.cpython-311.pyc110810644editdlrm
gzip.cpython-311.opt-1.pyc337330644editdlrm
gzip.cpython-311.opt-2.pyc294310644editdlrm
gzip.cpython-311.pyc337330644editdlrm
hashlib.cpython-311.opt-1.pyc123520644editdlrm
hashlib.cpython-311.opt-2.pyc113630644editdlrm
hashlib.cpython-311.pyc123520644editdlrm
heapq.cpython-311.opt-1.pyc205900644editdlrm
heapq.cpython-311.opt-2.pyc174990644editdlrm
heapq.cpython-311.pyc205900644editdlrm
hmac.cpython-311.opt-1.pyc114850644editdlrm
hmac.cpython-311.opt-2.pyc90170644editdlrm
hmac.cpython-311.pyc114850644editdlrm
imaplib.cpython-311.opt-1.pyc668450644editdlrm
imaplib.cpython-311.opt-2.pyc545430644editdlrm
imaplib.cpython-311.pyc690640644editdlrm
imghdr.cpython-311.opt-1.pyc78550644editdlrm
imghdr.cpython-311.opt-2.pyc76950644editdlrm
imghdr.cpython-311.pyc78550644editdlrm
imp.cpython-311.opt-1.pyc164740644editdlrm
imp.cpython-311.opt-2.pyc141870644editdlrm
imp.cpython-311.pyc164740644editdlrm
inspect.cpython-311.opt-1.pyc1412920644editdlrm
inspect.cpython-311.opt-2.pyc1159140644editdlrm
inspect.cpython-311.pyc1416620644editdlrm
io.cpython-311.opt-1.pyc50520644editdlrm
io.cpython-311.opt-2.pyc35620644editdlrm
io.cpython-311.pyc50520644editdlrm
ipaddress.cpython-311.opt-1.pyc969240644editdlrm
ipaddress.cpython-311.opt-2.pyc719470644editdlrm
ipaddress.cpython-311.pyc969240644editdlrm
keyword.cpython-311.opt-1.pyc10840644editdlrm
keyword.cpython-311.opt-2.pyc6750644editdlrm
keyword.cpython-311.pyc10840644editdlrm
linecache.cpython-311.opt-1.pyc74600644editdlrm
linecache.cpython-311.opt-2.pyc62710644editdlrm
linecache.cpython-311.pyc74600644editdlrm
locale.cpython-311.opt-1.pyc644150644editdlrm
locale.cpython-311.opt-2.pyc599690644editdlrm
locale.cpython-311.pyc644150644editdlrm
lzma.cpython-311.opt-1.pyc167330644editdlrm
lzma.cpython-311.opt-2.pyc106380644editdlrm
lzma.cpython-311.pyc167330644editdlrm
mailbox.cpython-311.opt-1.pyc1245290644editdlrm
mailbox.cpython-311.opt-2.pyc1190480644editdlrm
mailbox.cpython-311.pyc1246310644editdlrm
mailcap.cpython-311.opt-1.pyc127990644editdlrm
mailcap.cpython-311.opt-2.pyc112650644editdlrm
mailcap.cpython-311.pyc127990644editdlrm
mimetypes.cpython-311.opt-1.pyc261410644editdlrm
mimetypes.cpython-311.opt-2.pyc202050644editdlrm
mimetypes.cpython-311.pyc261410644editdlrm
modulefinder.cpython-311.opt-1.pyc309310644editdlrm
modulefinder.cpython-311.opt-2.pyc300490644editdlrm
modulefinder.cpython-311.pyc310340644editdlrm
netrc.cpython-311.opt-1.pyc99040644editdlrm
netrc.cpython-311.opt-2.pyc96780644editdlrm
netrc.cpython-311.pyc99040644editdlrm
nntplib.cpython-311.opt-1.pyc501760644editdlrm
nntplib.cpython-311.opt-2.pyc388850644editdlrm
nntplib.cpython-311.pyc501760644editdlrm
ntpath.cpython-311.opt-1.pyc306040644editdlrm
ntpath.cpython-311.opt-2.pyc286550644editdlrm
ntpath.cpython-311.pyc306040644editdlrm
nturl2path.cpython-311.opt-1.pyc35040644editdlrm
nturl2path.cpython-311.opt-2.pyc30980644editdlrm
nturl2path.cpython-311.pyc35040644editdlrm
numbers.cpython-311.opt-1.pyc152660644editdlrm
numbers.cpython-311.opt-2.pyc116720644editdlrm
numbers.cpython-311.pyc152660644editdlrm
opcode.cpython-311.opt-1.pyc138680644editdlrm
opcode.cpython-311.opt-2.pyc137270644editdlrm
opcode.cpython-311.pyc138680644editdlrm
operator.cpython-311.opt-1.pyc187750644editdlrm
operator.cpython-311.opt-2.pyc165580644editdlrm
operator.cpython-311.pyc187750644editdlrm
optparse.cpython-311.opt-1.pyc736260644editdlrm
optparse.cpython-311.opt-2.pyc614080644editdlrm
optparse.cpython-311.pyc737320644editdlrm
os.cpython-311.opt-1.pyc490220644editdlrm
os.cpython-311.opt-2.pyc369940644editdlrm
os.cpython-311.pyc490400644editdlrm
pathlib.cpython-311.opt-1.pyc677360644editdlrm
pathlib.cpython-311.opt-2.pyc593030644editdlrm
pathlib.cpython-311.pyc677360644editdlrm
pdb.cpython-311.opt-1.pyc867040644editdlrm
pdb.cpython-311.opt-2.pyc729640644editdlrm
pdb.cpython-311.pyc868240644editdlrm
pickle.cpython-311.opt-1.pyc866510644editdlrm
pickle.cpython-311.opt-2.pyc808360644editdlrm
pickle.cpython-311.pyc869100644editdlrm
pickletools.cpython-311.opt-1.pyc845710644editdlrm
pickletools.cpython-311.opt-2.pyc756570644editdlrm
pickletools.cpython-311.pyc867470644editdlrm
pipes.cpython-311.opt-1.pyc119820644editdlrm
pipes.cpython-311.opt-2.pyc91590644editdlrm
pipes.cpython-311.pyc119820644editdlrm
pkgutil.cpython-311.opt-1.pyc315940644editdlrm
pkgutil.cpython-311.opt-2.pyc249380644editdlrm
pkgutil.cpython-311.pyc315940644editdlrm
platform.cpython-311.opt-1.pyc437370644editdlrm
platform.cpython-311.opt-2.pyc357780644editdlrm
platform.cpython-311.pyc437370644editdlrm
plistlib.cpython-311.opt-1.pyc458050644editdlrm
plistlib.cpython-311.opt-2.pyc433770644editdlrm
plistlib.cpython-311.pyc459550644editdlrm
poplib.cpython-311.opt-1.pyc209840644editdlrm
poplib.cpython-311.opt-2.pyc161680644editdlrm
poplib.cpython-311.pyc209840644editdlrm
posixpath.cpython-311.opt-1.pyc199990644editdlrm
posixpath.cpython-311.opt-2.pyc183700644editdlrm
posixpath.cpython-311.pyc199990644editdlrm
pprint.cpython-311.opt-1.pyc335240644editdlrm
pprint.cpython-311.opt-2.pyc313730644editdlrm
pprint.cpython-311.pyc335790644editdlrm
profile.cpython-311.opt-1.pyc235000644editdlrm
profile.cpython-311.opt-2.pyc205350644editdlrm
profile.cpython-311.pyc239700644editdlrm
pstats.cpython-311.opt-1.pyc418830644editdlrm
pstats.cpython-311.opt-2.pyc390050644editdlrm
pstats.cpython-311.pyc418830644editdlrm
pty.cpython-311.opt-1.pyc84560644editdlrm
pty.cpython-311.opt-2.pyc77000644editdlrm
pty.cpython-311.pyc84560644editdlrm
pyclbr.cpython-311.opt-1.pyc158940644editdlrm
pyclbr.cpython-311.opt-2.pyc128660644editdlrm
pyclbr.cpython-311.pyc158940644editdlrm
pydoc.cpython-311.opt-1.pyc1582610644editdlrm
pydoc.cpython-311.opt-2.pyc1486370644editdlrm
pydoc.cpython-311.pyc1583210644editdlrm
py_compile.cpython-311.opt-1.pyc107900644editdlrm
py_compile.cpython-311.opt-2.pyc74780644editdlrm
py_compile.cpython-311.pyc107900644editdlrm
queue.cpython-311.opt-1.pyc164690644editdlrm
queue.cpython-311.opt-2.pyc122070644editdlrm
queue.cpython-311.pyc164690644editdlrm
quopri.cpython-311.opt-1.pyc104810644editdlrm
quopri.cpython-311.opt-2.pyc94790644editdlrm
quopri.cpython-311.pyc108730644editdlrm
random.cpython-311.opt-1.pyc345400644editdlrm
random.cpython-311.opt-2.pyc274330644editdlrm
random.cpython-311.pyc345400644editdlrm
reprlib.cpython-311.opt-1.pyc96940644editdlrm
reprlib.cpython-311.opt-2.pyc95440644editdlrm
reprlib.cpython-311.pyc96940644editdlrm
rlcompleter.cpython-311.opt-1.pyc90260644editdlrm
rlcompleter.cpython-311.opt-2.pyc63900644editdlrm
rlcompleter.cpython-311.pyc90260644editdlrm
runpy.cpython-311.opt-1.pyc161320644editdlrm
runpy.cpython-311.opt-2.pyc137170644editdlrm
runpy.cpython-311.pyc161320644editdlrm
sched.cpython-311.opt-1.pyc84180644editdlrm
sched.cpython-311.opt-2.pyc54320644editdlrm
sched.cpython-311.pyc84180644editdlrm
secrets.cpython-311.opt-1.pyc28780644editdlrm
secrets.cpython-311.opt-2.pyc18560644editdlrm
secrets.cpython-311.pyc28780644editdlrm
selectors.cpython-311.opt-1.pyc285550644editdlrm
selectors.cpython-311.opt-2.pyc245250644editdlrm
selectors.cpython-311.pyc285550644editdlrm
shelve.cpython-311.opt-1.pyc138890644editdlrm
shelve.cpython-311.opt-2.pyc97420644editdlrm
shelve.cpython-311.pyc138890644editdlrm
shlex.cpython-311.opt-1.pyc147190644editdlrm
shlex.cpython-311.opt-2.pyc142080644editdlrm
shlex.cpython-311.pyc147190644editdlrm
shutil.cpython-311.opt-1.pyc732600644editdlrm
shutil.cpython-311.opt-2.pyc611130644editdlrm
shutil.cpython-311.pyc732600644editdlrm
signal.cpython-311.opt-1.pyc51220644editdlrm
signal.cpython-311.opt-2.pyc49130644editdlrm
signal.cpython-311.pyc51220644editdlrm
site.cpython-311.opt-1.pyc304890644editdlrm
site.cpython-311.opt-2.pyc250480644editdlrm
site.cpython-311.pyc304890644editdlrm
smtpd.cpython-311.opt-1.pyc436810644editdlrm
smtpd.cpython-311.opt-2.pyc410780644editdlrm
smtpd.cpython-311.pyc436810644editdlrm
smtplib.cpython-311.opt-1.pyc539710644editdlrm
smtplib.cpython-311.opt-2.pyc378020644editdlrm
smtplib.cpython-311.pyc541360644editdlrm
sndhdr.cpython-311.opt-1.pyc124420644editdlrm
sndhdr.cpython-311.opt-2.pyc111130644editdlrm
sndhdr.cpython-311.pyc124420644editdlrm
socket.cpython-311.opt-1.pyc456550644editdlrm
socket.cpython-311.opt-2.pyc371220644editdlrm
socket.cpython-311.pyc456990644editdlrm
socketserver.cpython-311.opt-1.pyc370720644editdlrm
socketserver.cpython-311.opt-2.pyc265040644editdlrm
socketserver.cpython-311.pyc370720644editdlrm
sre_compile.cpython-311.opt-1.pyc8290644editdlrm
sre_compile.cpython-311.opt-2.pyc8290644editdlrm
sre_compile.cpython-311.pyc8290644editdlrm
sre_constants.cpython-311.opt-1.pyc8320644editdlrm
sre_constants.cpython-311.opt-2.pyc8320644editdlrm
sre_constants.cpython-311.pyc8320644editdlrm
sre_parse.cpython-311.opt-1.pyc8250644editdlrm
sre_parse.cpython-311.opt-2.pyc8250644editdlrm
sre_parse.cpython-311.pyc8250644editdlrm
ssl.cpython-311.opt-1.pyc736170644editdlrm
ssl.cpython-311.opt-2.pyc627880644editdlrm
ssl.cpython-311.pyc736170644editdlrm
stat.cpython-311.opt-1.pyc55540644editdlrm
stat.cpython-311.opt-2.pyc49480644editdlrm
stat.cpython-311.pyc55540644editdlrm
statistics.cpython-311.opt-1.pyc581590644editdlrm
statistics.cpython-311.opt-2.pyc386260644editdlrm
statistics.cpython-311.pyc584190644editdlrm
string.cpython-311.opt-1.pyc126540644editdlrm
string.cpython-311.opt-2.pyc115550644editdlrm
string.cpython-311.pyc126540644editdlrm
stringprep.cpython-311.opt-1.pyc264710644editdlrm
stringprep.cpython-311.opt-2.pyc262480644editdlrm
stringprep.cpython-311.pyc265430644editdlrm
struct.cpython-311.opt-1.pyc3960644editdlrm
struct.cpython-311.opt-2.pyc3960644editdlrm
struct.cpython-311.pyc3960644editdlrm
subprocess.cpython-311.opt-1.pyc846830644editdlrm
subprocess.cpython-311.opt-2.pyc726980644editdlrm
subprocess.cpython-311.pyc848250644editdlrm
sunau.cpython-311.opt-1.pyc270200644editdlrm
sunau.cpython-311.opt-2.pyc224280644editdlrm
sunau.cpython-311.pyc270200644editdlrm
symtable.cpython-311.opt-1.pyc193230644editdlrm
symtable.cpython-311.opt-2.pyc168420644editdlrm
symtable.cpython-311.pyc195230644editdlrm
sysconfig.cpython-311.opt-1.pyc317000644editdlrm
sysconfig.cpython-311.opt-2.pyc289900644editdlrm
sysconfig.cpython-311.pyc317000644editdlrm
tabnanny.cpython-311.opt-1.pyc129640644editdlrm
tabnanny.cpython-311.opt-2.pyc120360644editdlrm
tabnanny.cpython-311.pyc129640644editdlrm
tarfile.cpython-311.opt-1.pyc1312090644editdlrm
tarfile.cpython-311.opt-2.pyc1170070644editdlrm
tarfile.cpython-311.pyc1312270644editdlrm
telnetlib.cpython-311.opt-1.pyc310950644editdlrm
telnetlib.cpython-311.opt-2.pyc237600644editdlrm
telnetlib.cpython-311.pyc310950644editdlrm
tempfile.cpython-311.opt-1.pyc421740644editdlrm
tempfile.cpython-311.opt-2.pyc355510644editdlrm
tempfile.cpython-311.pyc421740644editdlrm
textwrap.cpython-311.opt-1.pyc195890644editdlrm
textwrap.cpython-311.opt-2.pyc124570644editdlrm
textwrap.cpython-311.pyc196110644editdlrm
this.cpython-311.opt-1.pyc16120644editdlrm
this.cpython-311.opt-2.pyc16120644editdlrm
this.cpython-311.pyc16120644editdlrm
threading.cpython-311.opt-1.pyc692040644editdlrm
threading.cpython-311.opt-2.pyc512410644editdlrm
threading.cpython-311.pyc703270644editdlrm
timeit.cpython-311.opt-1.pyc164680644editdlrm
timeit.cpython-311.opt-2.pyc106500644editdlrm
timeit.cpython-311.pyc164680644editdlrm
token.cpython-311.opt-1.pyc37390644editdlrm
token.cpython-311.opt-2.pyc37070644editdlrm
token.cpython-311.pyc37390644editdlrm
tokenize.cpython-311.opt-1.pyc303040644editdlrm
tokenize.cpython-311.opt-2.pyc264950644editdlrm
tokenize.cpython-311.pyc303740644editdlrm
trace.cpython-311.opt-1.pyc359780644editdlrm
trace.cpython-311.opt-2.pyc330840644editdlrm
trace.cpython-311.pyc359780644editdlrm
traceback.cpython-311.opt-1.pyc486910644editdlrm
traceback.cpython-311.opt-2.pyc387230644editdlrm
traceback.cpython-311.pyc487370644editdlrm
tracemalloc.cpython-311.opt-1.pyc291000644editdlrm
tracemalloc.cpython-311.opt-2.pyc277320644editdlrm
tracemalloc.cpython-311.pyc291000644editdlrm
tty.cpython-311.opt-1.pyc20410644editdlrm
tty.cpython-311.opt-2.pyc19430644editdlrm
tty.cpython-311.pyc20410644editdlrm
types.cpython-311.opt-1.pyc148350644editdlrm
types.cpython-311.opt-2.pyc134240644editdlrm
types.cpython-311.pyc148350644editdlrm
typing.cpython-311.opt-1.pyc1608380644editdlrm
typing.cpython-311.opt-2.pyc1237120644editdlrm
typing.cpython-311.pyc1616710644editdlrm
uu.cpython-311.opt-1.pyc88110644editdlrm
uu.cpython-311.opt-2.pyc85790644editdlrm
uu.cpython-311.pyc88110644editdlrm
uuid.cpython-311.opt-1.pyc328060644editdlrm
uuid.cpython-311.opt-2.pyc251790644editdlrm
uuid.cpython-311.pyc330830644editdlrm
warnings.cpython-311.opt-1.pyc240640644editdlrm
warnings.cpython-311.opt-2.pyc213670644editdlrm
warnings.cpython-311.pyc250770644editdlrm
wave.cpython-311.opt-1.pyc322810644editdlrm
wave.cpython-311.opt-2.pyc257690644editdlrm
wave.cpython-311.pyc323520644editdlrm
weakref.cpython-311.opt-1.pyc349320644editdlrm
weakref.cpython-311.opt-2.pyc316910644editdlrm
weakref.cpython-311.pyc349730644editdlrm
webbrowser.cpython-311.opt-1.pyc328100644editdlrm
webbrowser.cpython-311.opt-2.pyc304600644editdlrm
webbrowser.cpython-311.pyc328360644editdlrm
xdrlib.cpython-311.opt-1.pyc131580644editdlrm
xdrlib.cpython-311.opt-2.pyc126760644editdlrm
xdrlib.cpython-311.pyc131580644editdlrm
zipapp.cpython-311.opt-1.pyc115550644editdlrm
zipapp.cpython-311.opt-2.pyc104030644editdlrm
zipapp.cpython-311.pyc115550644editdlrm
zipfile.cpython-311.opt-1.pyc1190680644editdlrm
zipfile.cpython-311.opt-2.pyc1092990644editdlrm
zipfile.cpython-311.pyc1191190644editdlrm
zipimport.cpython-311.opt-1.pyc296850644editdlrm
zipimport.cpython-311.opt-2.pyc259980644editdlrm
zipimport.cpython-311.pyc298030644editdlrm
_aix_support.cpython-311.opt-1.pyc43800644editdlrm
_aix_support.cpython-311.opt-2.pyc30470644editdlrm
_aix_support.cpython-311.pyc43800644editdlrm
_bootsubprocess.cpython-311.opt-1.pyc44730644editdlrm
_bootsubprocess.cpython-311.opt-2.pyc42430644editdlrm
_bootsubprocess.cpython-311.pyc44730644editdlrm
_collections_abc.cpython-311.opt-1.pyc512290644editdlrm
_collections_abc.cpython-311.opt-2.pyc452090644editdlrm
_collections_abc.cpython-311.pyc512290644editdlrm
_compat_pickle.cpython-311.opt-1.pyc73440644editdlrm
_compat_pickle.cpython-311.opt-2.pyc73440644editdlrm
_compat_pickle.cpython-311.pyc75290644editdlrm
_compression.cpython-311.opt-1.pyc80630644editdlrm
_compression.cpython-311.opt-2.pyc78570644editdlrm
_compression.cpython-311.pyc80630644editdlrm
_markupbase.cpython-311.opt-1.pyc138300644editdlrm
_markupbase.cpython-311.opt-2.pyc134550644editdlrm
_markupbase.cpython-311.pyc140950644editdlrm
_osx_support.cpython-311.opt-1.pyc199390644editdlrm
_osx_support.cpython-311.opt-2.pyc173490644editdlrm
_osx_support.cpython-311.pyc199390644editdlrm
_pydecimal.cpython-311.opt-1.pyc2442740644editdlrm
_pydecimal.cpython-311.opt-2.pyc1641520644editdlrm
_pydecimal.cpython-311.pyc2442740644editdlrm
_pyio.cpython-311.opt-1.pyc1200870644editdlrm
_pyio.cpython-311.opt-2.pyc977120644editdlrm
_pyio.cpython-311.pyc1201520644editdlrm
_py_abc.cpython-311.opt-1.pyc78170644editdlrm
_py_abc.cpython-311.opt-2.pyc66400644editdlrm
_py_abc.cpython-311.pyc78910644editdlrm
_sitebuiltins.cpython-311.opt-1.pyc54370644editdlrm
_sitebuiltins.cpython-311.opt-2.pyc49100644editdlrm
_sitebuiltins.cpython-311.pyc54370644editdlrm
_strptime.cpython-311.opt-1.pyc279210644editdlrm
_strptime.cpython-311.opt-2.pyc242570644editdlrm
_strptime.cpython-311.pyc279210644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311.opt-1.pyc631680644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311.opt-2.pyc631680644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311.pyc631680644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-311.opt-1.pyc636590644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-311.opt-2.pyc636590644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-311.pyc636590644editdlrm
_threading_local.cpython-311.opt-1.pyc92180644editdlrm
_threading_local.cpython-311.opt-2.pyc59090644editdlrm
_threading_local.cpython-311.pyc92180644editdlrm
_weakrefset.cpython-311.opt-1.pyc131530644editdlrm
_weakrefset.cpython-311.opt-2.pyc131530644editdlrm
_weakrefset.cpython-311.pyc131530644editdlrm
__future__.cpython-311.opt-1.pyc49270644editdlrm
__future__.cpython-311.opt-2.pyc28790644editdlrm
__future__.cpython-311.pyc49270644editdlrm
__hello__.cpython-311.opt-1.pyc10910644editdlrm
__hello__.cpython-311.opt-2.pyc10370644editdlrm
__hello__.cpython-311.pyc10910644editdlrm
Edit: /opt/alt/python311/lib64/python3.11/__pycache__/pickletools.cpython-311.pyc (86747B)
/gn ,dZddlZddlZddlZddlZddlZgdZejZdZdZ dZ dZ dZ Gd d e Zdd lmZd Zed dedZdZeddedZdZeddedZdZeddedZdZeddedZdd!Zed"eed#Zd$Zed%eed&Zd'Z ed(ee d)Z!d*Z"ed+e e"d,Z#d-Z$ed.e e$d/Z%d0Z&ed1e e&d2Z'd3Z(ed4e e(d5Z)d6Z*ed7e e*d8Z+d9Z,ed:e e,d;Z-d<Z.ed=ee.d>Z/d?Z0ed@e e0dAZ1dBZ2edCe e2dDZ3dEZ4edFe e4dGZ5dHZ6dIZ7edJee6dKZ8edLee7dMZ9dNZ:edOee:dPZ;dQZ<edRdeZ>dUZ?edVe e?dWZ@dXZAedYe eAdZZBGd[d\e ZCeCd]eDd^_xZEZFeCd`eDeGfda_ZHeCdbeGdc_ZIeCddeJde_ZKeCdfeLeMfdg_xZNZOeCdheLdi_ZPeCdjeQdk_ZReCdleMdm_ZSeCdneTddo_ZUeCdpeVdq_ZWeCdreXds_ZYeCdteZdu_Z[eCdve\dw_Z]eCdxe\dy_Z^eCdze d{_Z_eCd|e d}_Z`eCd~eCd_ZaeCdeCd_ZbGdde ZcecZdgeddde8geHgddedddegeEgddedddegeEgddedddegeEgddeddde9geEgddeddde@geEgddedddeBgeEgddedddegeNgddeddde%geNgddeddde#geNgddeddde)gePgddeddde'gePgddeddde+gePgddeddde-geRgddeddddge_gddedddde_ge_gddeddddgeUgddeddddgeIgddeddddgeIgddeddde/geSgdd¬eddde1geSgddŬeddde3geSgddȬeddde5geSgddˬeddde;geKgddάeddde=geKgddѬeddddgeYgddԬeddddeYe`geYgdd׬eddddeYeaebgeYgddڬeddddeaebgeYgddݬeddddgeWgddଇeddddeaebgeWgdd㬇edddde`geWgdd欇edddde`e`geWgdd鬇edddde`e`e`geWgdd쬇eddddge[gdd﬇eddddeaebge[gdd򬇦edddde[e`e`ge[gddedddde[eaebge[gddeddddge]gddedddde]eaebge]gddeddddeaebge^gddedddde`ggddedddde`ge`e`gddeddd dgeagdd edd d deaebggdd eddde8ge`gddedddege`gddedddege`gddeddde8ggddedddeggddedddeggddedd d!de`ge`gdd"edd#d$ege`gdd%edd&d'ege`gdd(edd)d*ege`gdd+edd,d-e!ge`gdd.edd/d0deSeSge`gdd1edd2d3de`e`ge`gdd4edd5d6de`e`ge`gdd7edd8d9e!eaebge`gdd:edd;dd?de`e`ge`gdd@eddAdBde`e`e`ge`gddCeddDdEeggddFeddGdHde`ggddIeddJdKeggddLeddMdNege`gddOeddPdQde`ge`gddRZe[diZfiZgeheeD]o\ZiZjejjkefvr"eldSejjkefejjkeifzejjmegvr"eldTejjmegejjmeifzeiefejjk<eiegejjm<p[f[g[i[jiZneeD] Zjejenejjm< [jddVZoeo[oddWZpdXZqdYZrddZZsGd[d\Ztd]Zud^Zveuevd_Zwd`ZxeydakrddlzZzezj{dbcZ|e|}dddedfge|}dhdidjke|}dldmdndope|}dqdrdeDdste|}dudvdndwpe|}dxdydzd{|e|}d}d~dndpe|}ddndpe|~Zejr exdSejse|dSejrdndZejrindZejejZneejdZ ejD]ZeejdkrAedkrdneZkejekZeedzedkresejjeeeje}eed5Zeseeeejedddn #1swxYwY eejuredSdS#eejurewwxYwdS(ar"Executable documentation" for the pickle module. Extensive comments about the pickle protocols and pickle-machine opcodes can be found here. Some functions meant for external use: genops(pickle) Generate all the opcodes in a pickle, as (opcode, arg, position) triples. dis(pickle, out=None, memo=None, indentlevel=4) Print a symbolic disassembly of a pickle. N)disgenopsoptimizeceZdZdZdZdS)ArgumentDescriptornamenreaderdocct|tsJ||_t|tr(|dks$|tt t ttfvsJ||_ ||_ t|tsJ||_ dSNr) isinstancestrrint UP_TO_NEWLINETAKEN_FROM_ARGUMENT1TAKEN_FROM_ARGUMENT4TAKEN_FROM_ARGUMENT4UTAKEN_FROM_ARGUMENT8Urrr)selfrrrrs 2/opt/alt/python311/lib64/python3.11/pickletools.py__init__zArgumentDescriptor.__init__s$$$$$$ !S!! EqAvv'(]-A-A-B-B -D(D(D(DE  #s#####N__name__ __module__ __qualname__ __slots__rrrr r s*I$rr )unpackc^|d}|r|dStd)zG >>> import io >>> read_uint1(io.BytesIO(b'\xff')) 255 rz'not enough data in stream to read uint1)read ValueErrorfdatas r read_uint1r.s3 66!99D Aw > ? ??ruint1r(zOne-byte unsigned integer.r c|d}t|dkrtd|dStd)z >>> import io >>> read_uint2(io.BytesIO(b'\xff\x00')) 255 >>> read_uint2(io.BytesIO(b'\xff\xff')) 65535 z ? ??ruint2r1z)Two-byte unsigned integer, little-endian.c|d}t|dkrtd|dStd)z >>> import io >>> read_int4(io.BytesIO(b'\xff\x00\x00\x00')) 255 >>> read_int4(io.BytesIO(b'\x00\x00\x00\x80')) == -(2**31) True z >>rint4r9z8Four-byte signed integer, little-endian, 2's complement.c|d}t|dkrtd|dStd)z >>> import io >>> read_uint4(io.BytesIO(b'\xff\x00\x00\x00')) 255 >>> read_uint4(io.BytesIO(b'\x00\x00\x00\x80')) == 2**31 True r9z>> import io >>> read_uint8(io.BytesIO(b'\xff\x00\x00\x00\x00\x00\x00\x00')) 255 >>> read_uint8(io.BytesIO(b'\xff' * 8)) == 2**64-1 True z>> import io >>> read_stringnl(io.BytesIO(b"'abcd'\nefg\n")) 'abcd' >>> read_stringnl(io.BytesIO(b"\n")) Traceback (most recent call last): ... ValueError: no string quotes around b'' >>> read_stringnl(io.BytesIO(b"\n"), stripquotes=False) '' >>> read_stringnl(io.BytesIO(b"''\n")) '' >>> read_stringnl(io.BytesIO(b'"abcd"')) Traceback (most recent call last): ... ValueError: no newline found when trying to read stringnl Embedded escapes are undone in the result. >>> read_stringnl(io.BytesIO(br"'a\n\\b\x00c\td'" + b"\n'e'")) 'a\n\\b\x00c\td'  z-no newline found when trying to read stringnlNr)"'z strinq quote z not found at both ends of r(zno string quotes around %rrascii)readlineendswithr* startswithcodecs escape_decodedecode)r,rM stripquotesr-qs r read_stringnlrP;s6 ::<???AbDz  9D@AA A =#D))!,33G<< KrstringnlzA newline-terminated string. This is a repr-style string, with embedded escapes, and bracketing quotes. c$t|dS)NF)rN)rPr,s rread_stringnl_noescaperTts  . . ..rstringnl_noescapeaA newline-terminated string. This is a str-style string, without embedded escapes, or bracketing quotes. It should consist solely of printable ASCII characters. cDt|dt|S)zp >>> import io >>> read_stringnl_noescape_pair(io.BytesIO(b"Queue\nEmpty\njunk")) 'Queue Empty'  )rTrSs rread_stringnl_noescape_pairrXs)-Q////1G1J1J1J KKrstringnl_noescape_pairaA pair of newline-terminated strings. These are str-style strings, without embedded escapes, or bracketing quotes. They should consist solely of printable ASCII characters. The pair is returned as a single string, with a single blank separating the two strings. ct|}|dksJ||}t||kr|dSt d|t|fz)z >>> import io >>> read_string1(io.BytesIO(b"\x00")) '' >>> read_string1(io.BytesIO(b"\x03abcdef")) 'abc' rlatin-1z2expected %d bytes in a string1, but only %d remain)r.r)r3rMr*r,rr-s r read_string1r]ss 1 A 6666 66!99D 4yyA~~{{9%%% IT^$ % %%rstring1zA counted string. The first argument is a 1-byte unsigned int giving the number of bytes in the string, and the second argument is that many bytes. c t|}|dkrtd|z||}t||kr|dStd|t|fz)aP >>> import io >>> read_string4(io.BytesIO(b"\x00\x00\x00\x00abc")) '' >>> read_string4(io.BytesIO(b"\x03\x00\x00\x00abcdef")) 'abc' >>> read_string4(io.BytesIO(b"\x00\x00\x00\x03abcdef")) Traceback (most recent call last): ... ValueError: expected 50331648 bytes in a string4, but only 6 remain rzstring4 byte count < 0: %dr[z2expected %d bytes in a string4, but only %d remain)r:r*r)r3rMr\s r read_string4r`s ! A1uu59::: 66!99D 4yyA~~{{9%%% IT^$ % %%rstring4zA counted string. The first argument is a 4-byte little-endian signed int giving the number of bytes in the string, and the second argument is that many bytes. ct|}|dksJ||}t||kr|Std|t|fz)z >>> import io >>> read_bytes1(io.BytesIO(b"\x00")) b'' >>> read_bytes1(io.BytesIO(b"\x03abcdef")) b'abc' rz1expected %d bytes in a bytes1, but only %d remain)r.r)r3r*r\s r read_bytes1rcsf 1 A 6666 66!99D 4yyA~~ HT^$ % %%rbytes1zA counted bytes string. The first argument is a 1-byte unsigned int giving the number of bytes, and the second argument is that many bytes. c t|}|dksJ|tjkrtd|z||}t ||kr|Std|t |fz)aN >>> import io >>> read_bytes4(io.BytesIO(b"\x00\x00\x00\x00abc")) b'' >>> read_bytes4(io.BytesIO(b"\x03\x00\x00\x00abcdef")) b'abc' >>> read_bytes4(io.BytesIO(b"\x00\x00\x00\x03abcdef")) Traceback (most recent call last): ... ValueError: expected 50331648 bytes in a bytes4, but only 6 remain rz#bytes4 byte count > sys.maxsize: %dz1expected %d bytes in a bytes4, but only %d remain)r=sysmaxsizer*r)r3r\s r read_bytes4rhs 1 A 66663;>BCCC 66!99D 4yyA~~ HT^$ % %%rbytes4zA counted bytes string. The first argument is a 4-byte little-endian unsigned int giving the number of bytes, and the second argument is that many bytes. c t|}|dksJ|tjkrtd|z||}t ||kr|Std|t |fz)a >>> import io, struct, sys >>> read_bytes8(io.BytesIO(b"\x00\x00\x00\x00\x00\x00\x00\x00abc")) b'' >>> read_bytes8(io.BytesIO(b"\x03\x00\x00\x00\x00\x00\x00\x00abcdef")) b'abc' >>> bigsize8 = struct.pack(">> read_bytes8(io.BytesIO(bigsize8 + b"abcdef")) #doctest: +ELLIPSIS Traceback (most recent call last): ... ValueError: expected ... bytes in a bytes8, but only 6 remain rz#bytes8 byte count > sys.maxsize: %dz1expected %d bytes in a bytes8, but only %d remain)rArfrgr*r)r3r\s r read_bytes8rks 1 A 66663;>BCCC 66!99D 4yyA~~ HT^$ % %%rbytes8zA counted bytes string. The first argument is an 8-byte little-endian unsigned int giving the number of bytes, and the second argument is that many bytes. c$t|}|dksJ|tjkrtd|z||}t ||krt |Std|t |fz)a >>> import io, struct, sys >>> read_bytearray8(io.BytesIO(b"\x00\x00\x00\x00\x00\x00\x00\x00abc")) bytearray(b'') >>> read_bytearray8(io.BytesIO(b"\x03\x00\x00\x00\x00\x00\x00\x00abcdef")) bytearray(b'abc') >>> bigsize8 = struct.pack(">> read_bytearray8(io.BytesIO(bigsize8 + b"abcdef")) #doctest: +ELLIPSIS Traceback (most recent call last): ... ValueError: expected ... bytes in a bytearray8, but only 6 remain rz'bytearray8 byte count > sys.maxsize: %dz5expected %d bytes in a bytearray8, but only %d remain)rArfrgr*r)r3 bytearrayr\s rread_bytearray8ro9s 1 A 66663;BQFGGG 66!99D 4yyA~~ LT^$ % %%r bytearray8zA counted bytearray. The first argument is an 8-byte little-endian unsigned int giving the number of bytes, and the second argument is that many bytes. c|}|dstd|dd}t|dS)zm >>> import io >>> read_unicodestringnl(io.BytesIO(b"abc\\uabcd\njunk")) == 'abc\uabcd' True rDz4no newline found when trying to read unicodestringnlNrzraw-unicode-escape)rHrIr*rr+s rread_unicodestringnlrr[sZ ::<>> import io >>> s = 'abcd\uabcd' >>> enc = s.encode('utf-8') >>> enc b'abcd\xea\xaf\x8d' >>> n = bytes([len(enc)]) # little-endian 1-byte length >>> t = read_unicodestring1(io.BytesIO(n + enc + b'junk')) >>> s == t True >>> read_unicodestring1(io.BytesIO(n + enc[:-1])) Traceback (most recent call last): ... ValueError: expected 7 bytes in a unicodestring1, but only 6 remain rutf-8 surrogatepassz9expected %d bytes in a unicodestring1, but only %d remain)r.r)r3rr*r\s rread_unicodestring1rwusu$ 1 A 6666 66!99D 4yyA~~4/222 !"CII/ 0 00runicodestring1aAA counted Unicode string. The first argument is a 1-byte little-endian signed int giving the number of bytes in the string, and the second argument-- the UTF-8 encoding of the Unicode string -- contains that many bytes. c(t|}|dksJ|tjkrtd|z||}t ||krt |ddStd|t |fz)a >>> import io >>> s = 'abcd\uabcd' >>> enc = s.encode('utf-8') >>> enc b'abcd\xea\xaf\x8d' >>> n = bytes([len(enc), 0, 0, 0]) # little-endian 4-byte length >>> t = read_unicodestring4(io.BytesIO(n + enc + b'junk')) >>> s == t True >>> read_unicodestring4(io.BytesIO(n + enc[:-1])) Traceback (most recent call last): ... ValueError: expected 7 bytes in a unicodestring4, but only 6 remain rz+unicodestring4 byte count > sys.maxsize: %drurvz9expected %d bytes in a unicodestring4, but only %d remain)r=rfrgr*r)r3rr\s rread_unicodestring4rz$ 1 A 66663;FJKKK 66!99D 4yyA~~4/222 !"CII/ 0 00runicodestring4aAA counted Unicode string. The first argument is a 4-byte little-endian signed int giving the number of bytes in the string, and the second argument-- the UTF-8 encoding of the Unicode string -- contains that many bytes. c(t|}|dksJ|tjkrtd|z||}t ||krt |ddStd|t |fz)a >>> import io >>> s = 'abcd\uabcd' >>> enc = s.encode('utf-8') >>> enc b'abcd\xea\xaf\x8d' >>> n = bytes([len(enc)]) + b'\0' * 7 # little-endian 8-byte length >>> t = read_unicodestring8(io.BytesIO(n + enc + b'junk')) >>> s == t True >>> read_unicodestring8(io.BytesIO(n + enc[:-1])) Traceback (most recent call last): ... ValueError: expected 7 bytes in a unicodestring8, but only 6 remain rz+unicodestring8 byte count > sys.maxsize: %drurvz9expected %d bytes in a unicodestring8, but only %d remain)rArfrgr*r)r3rr\s rread_unicodestring8r~r{runicodestring8aBA counted Unicode string. The first argument is an 8-byte little-endian signed int giving the number of bytes in the string, and the second argument-- the UTF-8 encoding of the Unicode string -- contains that many bytes. cdt|dd}|dkrdS|dkrdSt|S)z >>> import io >>> read_decimalnl_short(io.BytesIO(b"1234\n56")) 1234 >>> read_decimalnl_short(io.BytesIO(b"1234L\n56")) Traceback (most recent call last): ... ValueError: invalid literal for int() with base 10: b'1234L' FrMrNs00s01TrPrr,ss rread_decimalnl_shortrsA a5999A Ezzu et q66Mrctt|dd}|dddkr |dd}t|S)z >>> import io >>> read_decimalnl_long(io.BytesIO(b"1234L\n56")) 1234 >>> read_decimalnl_long(io.BytesIO(b"123456789012345678901234L\n6")) 123456789012345678901234 FrrNLrrs rread_decimalnl_longrsA a5999Av~~ crcF q66Mrdecimalnl_shortaA newline-terminated decimal integer literal. This never has a trailing 'L', and the integer fit in a short Python int on the box where the pickle was written -- but there's no guarantee it will fit in a short Python int on the box where the pickle is read. decimalnl_longzA newline-terminated decimal integer literal. This has a trailing 'L', and can represent integers of any size. cDt|dd}t|S)zO >>> import io >>> read_floatnl(io.BytesIO(b"-1.25\n6")) -1.25 Fr)rPfloatrs r read_floatnlr-s# a5999A 88OrfloatnlaA newline-terminated decimal floating literal. In general this requires 17 significant digits for roundtrip identity, and pickling then unpickling infinities, NaNs, and minus zero doesn't work across boxes, or on some boxes even on itself (e.g., Windows can't read the strings it produces for infinities or NaNs). c|d}t|dkrtd|dStd)z >>> import io, struct >>> raw = struct.pack(">d", -1.25) >>> raw b'\xbf\xf4\x00\x00\x00\x00\x00\x00' >>> read_float8(io.BytesIO(raw + b"\n")) -1.25 r@z>drz(not enough data in stream to read float8r2r+s r read_float8rCsF 66!99D 4yyA~~tT""1%% ? @ @@rfloat8aAn 8-byte binary representation of a float, big-endian. The format is unique to Python, and shared with the struct module (format string '>d') "in theory" (the struct and pickle implementations don't share the code -- they should). It's strongly related to the IEEE-754 double format, and, in normal cases, is in fact identical to the big-endian 754 double format. On other boxes the dynamic range is limited to that of a 754 double, and "add a half and chop" rounding is used to reduce the precision to 53 bits. However, even on a 754 box, infinities, NaNs, and minus zero may not be handled correctly (may not survive roundtrip pickling intact). ) decode_longct|}||}t||krtdt |S)a+ >>> import io >>> read_long1(io.BytesIO(b"\x00")) 0 >>> read_long1(io.BytesIO(b"\x02\xff\x00")) 255 >>> read_long1(io.BytesIO(b"\x02\xff\x7f")) 32767 >>> read_long1(io.BytesIO(b"\x02\x00\xff")) -256 >>> read_long1(io.BytesIO(b"\x02\x00\x80")) -32768 z'not enough data in stream to read long1)r.r)r3r*rr\s r read_long1risJ 1 A 66!99D 4yyA~~BCCC t  rlong1aA binary long, little-endian, using 1-byte size. This first reads one byte as an unsigned size, then reads that many bytes and interprets them as a little-endian 2's-complement long. If the size is 0, that's taken as a shortcut for the long 0L. ct|}|dkrtd|z||}t||krtdt |S)ag >>> import io >>> read_long4(io.BytesIO(b"\x02\x00\x00\x00\xff\x00")) 255 >>> read_long4(io.BytesIO(b"\x02\x00\x00\x00\xff\x7f")) 32767 >>> read_long4(io.BytesIO(b"\x02\x00\x00\x00\x00\xff")) -256 >>> read_long4(io.BytesIO(b"\x02\x00\x00\x00\x00\x80")) -32768 >>> read_long1(io.BytesIO(b"\x00\x00\x00\x00")) 0 rzlong4 byte count < 0: %dz'not enough data in stream to read long4)r:r*r)r3rr\s r read_long4rsg ! A1uu3a7888 66!99D 4yyA~~BCCC t  rlong4aA binary representation of a long, little-endian. This first reads four bytes as a signed size (but requires the size to be >= 0), then reads that many bytes and interprets them as a little-endian 2's-complement long. If the size is 0, that's taken as a shortcut for the int 0, although LONG1 should really be used then instead (and in any case where # of bytes < 256). ceZdZdZdZdZdS) StackObjectrobtypercFt|tsJ||_t|tst|tsJt|tr|D]}t|tsJ||_t|tsJ||_dSN)rrrtypetuplerr)rrrr containeds rrzStackObject.__init__s$$$$$$ &$''D:fe+D+DDDD fe $ $ 3# 3 3 !)T222222 #s#####rc|jSrr)rs r__repr__zStackObject.__repr__s yrN)r!r"r#r$rrr%rrrrs9 I   rrrzA Python integer object.r int_or_boolz#A Python integer or boolean object.boolzA Python boolean object.rzA Python float object. bytes_or_strz*A Python bytes or (Unicode) string object.byteszA Python bytes object.rnzA Python bytearray object.rz!A Python (Unicode) string object.NonezThe Python None object.rzA Python tuple object.listzA Python list object.dictzA Python dict object.setzA Python set object. frozensetzA Python frozenset object.bufferzA Python buffer-like object.anyzAny kind of object whatsoever.markaz'The mark' is a unique object. Opcodes that operate on a variable number of objects generally don't embed the count of objects in the opcode, or pull it off the stack. Instead the MARK opcode is used to push a special marker object on the stack, and then some other opcodes grab all the objects from the top of the stack down to (but not including) the topmost marker object. stacksliceaAn object representing a contiguous slice of the stack. This is used in conjunction with markobject, to represent all of the stack following the topmost markobject. For example, the POP_MARK opcode changes the stack from [..., markobject, stackslice] to [...] No matter how many object are on the stack after the topmost markobject, POP_MARK gets rid of all of them (including the topmost markobject too). ceZdZdZdZdS) OpcodeInforcodearg stack_before stack_afterprotorczt|tsJ||_t|tsJt|dksJ||_|t|t sJ||_t|tsJ|D]}t|tsJ||_ t|tsJ|D]}t|tsJ||_ t|trd|cxkrtj ksnJ||_t|tsJ||_dS)Nr(r)rrrr3rr rrrrrrpickleHIGHEST_PROTOCOLrr) rrrrrrrrxs rrzOpcodeInfo.__init__dsZ$$$$$$ $$$$$$4yyA~~~~ {j.@AA{{A,----- . .Aa-- - -- -(+t,,,,, . .Aa-- - -- -&%%%O!u*O*O*O*O8O*O*O*O*O*OO #s#####rNr r%rrrrEs*I:rrINTIaPush an integer or bool. The argument is a newline-terminated decimal literal string. The intent may have been that this always fit in a short Python int, but INT can be generated in pickles written on a 64-bit box that require a Python long on a 32-bit box. The difference between this and LONG then is that INT skips a trailing 'L', and produces a short int whenever possible. Another difference is due to that, when bool was introduced as a distinct type in 2.3, builtin names True and False were also added to 2.2.2, mapping to ints 1 and 0. For compatibility in both directions, True gets pickled as INT + "I01\n", and False as INT + "I00\n". Leading zeroes are never produced for a genuine integer. The 2.3 (and later) unpicklers special-case these and return bool instead; earlier unpicklers ignore the leading "0" and return the int. rBININTJa1Push a four-byte signed integer. This handles the full range of Python (short) integers on a 32-bit box, directly as binary bytes (1 for the opcode and 4 for the integer). If the integer is non-negative and fits in 1 or 2 bytes, pickling via BININT1 or BININT2 saves space. BININT1KzPush a one-byte unsigned integer. This is a space optimization for pickling very small non-negative ints, in range(256). BININT2MzPush a two-byte unsigned integer. This is a space optimization for pickling small positive ints, in range(256, 2**16). Integers in range(256) can also be pickled via BININT2, but BININT1 instead saves a byte. LONGLaPush a long integer. The same as INT, except that the literal ends with 'L', and always unpickles to a Python long. There doesn't seem a real purpose to the trailing 'L'. Note that LONG takes time quadratic in the number of digits when unpickling (this is simply due to the nature of decimal->binary conversion). Proto 2 added linear-time (in C; still quadratic-time in Python) LONG1 and LONG4 opcodes. LONG1Šz|Long integer using one-byte length. A more efficient encoding of a Python long; the long1 encoding says it all.LONG4‹z}Long integer using four-byte length. A more efficient encoding of a Python long; the long4 encoding says it all.STRINGSaPush a Python string object. The argument is a repr-style string, with bracketing quote characters, and perhaps embedded escapes. The argument extends until the next newline character. These are usually decoded into a str instance using the encoding given to the Unpickler constructor. or the default, 'ASCII'. If the encoding given was 'bytes' however, they will be decoded as bytes object instead. BINSTRINGTaPush a Python string object. There are two arguments: the first is a 4-byte little-endian signed int giving the number of bytes in the string, and the second is that many bytes, which are taken literally as the string content. These are usually decoded into a str instance using the encoding given to the Unpickler constructor. or the default, 'ASCII'. If the encoding given was 'bytes' however, they will be decoded as bytes object instead. SHORT_BINSTRINGUaPush a Python string object. There are two arguments: the first is a 1-byte unsigned int giving the number of bytes in the string, and the second is that many bytes, which are taken literally as the string content. These are usually decoded into a str instance using the encoding given to the Unpickler constructor. or the default, 'ASCII'. If the encoding given was 'bytes' however, they will be decoded as bytes object instead. BINBYTESBzPush a Python bytes object. There are two arguments: the first is a 4-byte little-endian unsigned int giving the number of bytes, and the second is that many bytes, which are taken literally as the bytes content. SHORT_BINBYTESCzPush a Python bytes object. There are two arguments: the first is a 1-byte unsigned int giving the number of bytes, and the second is that many bytes, which are taken literally as the string content. BINBYTES8ŽzPush a Python bytes object. There are two arguments: the first is an 8-byte unsigned int giving the number of bytes in the string, and the second is that many bytes, which are taken literally as the string content. BYTEARRAY8–zPush a Python bytearray object. There are two arguments: the first is an 8-byte unsigned int giving the number of bytes in the bytearray, and the second is that many bytes, which are taken literally as the bytearray content. NEXT_BUFFER—z"Push an out-of-band buffer object.READONLY_BUFFER˜z,Make an out-of-band buffer object read-only.NONENzPush None on the stack.NEWTRUEˆzPush True onto the stack.NEWFALSE‰zPush False onto the stack.UNICODEVzPush a Python Unicode string object. The argument is a raw-unicode-escape encoding of a Unicode string, and so may contain embedded escape sequences. The argument extends until the next newline character. SHORT_BINUNICODEŒaPush a Python Unicode string object. There are two arguments: the first is a 1-byte little-endian signed int giving the number of bytes in the string. The second is that many bytes, and is the UTF-8 encoding of the Unicode string. BINUNICODEXaPush a Python Unicode string object. There are two arguments: the first is a 4-byte little-endian unsigned int giving the number of bytes in the string. The second is that many bytes, and is the UTF-8 encoding of the Unicode string. BINUNICODE8aPush a Python Unicode string object. There are two arguments: the first is an 8-byte little-endian signed int giving the number of bytes in the string. The second is that many bytes, and is the UTF-8 encoding of the Unicode string. FLOATFaNewline-terminated decimal float literal. The argument is repr(a_float), and in general requires 17 significant digits for roundtrip conversion to be an identity (this is so for IEEE-754 double precision values, which is what Python float maps to on most boxes). In general, FLOAT cannot be used to transport infinities, NaNs, or minus zero across boxes (or even on a single box, if the platform C library can't read the strings it produces for such things -- Windows is like that), but may do less damage than BINFLOAT on boxes with greater precision or dynamic range than IEEE-754 double. BINFLOATGaFloat stored in binary form, with 8 bytes of data. This generally requires less than half the space of FLOAT encoding. In general, BINFLOAT cannot be used to transport infinities, NaNs, or minus zero, raises an exception if the exponent exceeds the range of an IEEE-754 double, and retains no more than 53 bits of precision (if there are more than that, "add a half and chop" rounding is used to cut it back to 53 significant bits). EMPTY_LIST]zPush an empty list.APPENDazAppend an object to a list. Stack before: ... pylist anyobject Stack after: ... pylist+[anyobject] although pylist is really extended in-place. APPENDSezExtend a list by a slice of stack objects. Stack before: ... pylist markobject stackslice Stack after: ... pylist+stackslice although pylist is really extended in-place. LISTlasBuild a list out of the topmost stack slice, after markobject. All the stack entries following the topmost markobject are placed into a single Python list, which single list object replaces all of the stack from the topmost markobject onward. For example, Stack before: ... markobject 1 2 3 'abc' Stack after: ... [1, 2, 3, 'abc'] EMPTY_TUPLE)zPush an empty tuple.TUPLEtavBuild a tuple out of the topmost stack slice, after markobject. All the stack entries following the topmost markobject are placed into a single Python tuple, which single tuple object replaces all of the stack from the topmost markobject onward. For example, Stack before: ... markobject 1 2 3 'abc' Stack after: ... (1, 2, 3, 'abc') TUPLE1…zBuild a one-tuple out of the topmost item on the stack. This code pops one value off the stack and pushes a tuple of length 1 whose one item is that value back onto it. In other words: stack[-1] = tuple(stack[-1:]) TUPLE2†aBuild a two-tuple out of the top two items on the stack. This code pops two values off the stack and pushes a tuple of length 2 whose items are those values back onto it. In other words: stack[-2:] = [tuple(stack[-2:])] TUPLE3‡aBuild a three-tuple out of the top three items on the stack. This code pops three values off the stack and pushes a tuple of length 3 whose items are those values back onto it. In other words: stack[-3:] = [tuple(stack[-3:])] EMPTY_DICT}zPush an empty dict.DICTdaBuild a dict out of the topmost stack slice, after markobject. All the stack entries following the topmost markobject are placed into a single Python dict, which single dict object replaces all of the stack from the topmost markobject onward. The stack slice alternates key, value, key, value, .... For example, Stack before: ... markobject 1 2 3 'abc' Stack after: ... {1: 2, 3: 'abc'} SETITEMrzAdd a key+value pair to an existing dict. Stack before: ... pydict key value Stack after: ... pydict where pydict has been modified via pydict[key] = value. SETITEMSua\Add an arbitrary number of key+value pairs to an existing dict. The slice of the stack following the topmost markobject is taken as an alternating sequence of keys and values, added to the dict immediately under the topmost markobject. Everything at and after the topmost markobject is popped, leaving the mutated dict at the top of the stack. Stack before: ... pydict markobject key_1 value_1 ... key_n value_n Stack after: ... pydict where pydict has been modified via pydict[key_i] = value_i for i in 1, 2, ..., n, and in that order. EMPTY_SETzPush an empty set.ADDITEMSa$Add an arbitrary number of items to an existing set. The slice of the stack following the topmost markobject is taken as a sequence of items, added to the set immediately under the topmost markobject. Everything at and after the topmost markobject is popped, leaving the mutated set at the top of the stack. Stack before: ... pyset markobject item_1 ... item_n Stack after: ... pyset where pyset has been modified via pyset.add(item_i) = item_i for i in 1, 2, ..., n, and in that order. FROZENSET‘azBuild a frozenset out of the topmost slice, after markobject. All the stack entries following the topmost markobject are placed into a single Python frozenset, which single frozenset object replaces all of the stack from the topmost markobject onward. For example, Stack before: ... markobject 1 2 3 Stack after: ... frozenset({1, 2, 3}) POP0z. BUILDbaFinish building an object, via __setstate__ or dict update. Stack before: ... anyobject argument Stack after: ... anyobject where anyobject may have been mutated, as follows: If the object has a __setstate__ method, anyobject.__setstate__(argument) is called. Else the argument must be a dict, the object must have a __dict__, and the object is updated via anyobject.__dict__.update(argument) INSTiaqBuild a class instance. This is the protocol 0 version of protocol 1's OBJ opcode. INST is followed by two newline-terminated strings, giving a module and class name, just as for the GLOBAL opcode (and see GLOBAL for more details about that). self.find_class(module, name) is used to get a class object. In addition, all the objects on the stack following the topmost markobject are gathered into a tuple and popped (along with the topmost markobject), just as for the TUPLE opcode. Now it gets complicated. If all of these are true: + The argtuple is empty (markobject was at the top of the stack at the start). + The class object does not have a __getinitargs__ attribute. then we want to create an old-style class instance without invoking its __init__() method (pickle has waffled on this over the years; not calling __init__() is current wisdom). In this case, an instance of an old-style dummy class is created, and then we try to rebind its __class__ attribute to the desired class object. If this succeeds, the new instance object is pushed on the stack, and we're done. Else (the argtuple is not empty, it's not an old-style class object, or the class object does have a __getinitargs__ attribute), the code first insists that the class object have a __safe_for_unpickling__ attribute. Unlike as for the __safe_for_unpickling__ check in REDUCE, it doesn't matter whether this attribute has a true or false value, it only matters whether it exists (XXX this is a bug). If __safe_for_unpickling__ doesn't exist, UnpicklingError is raised. Else (the class object does have a __safe_for_unpickling__ attr), the class object obtained from INST's arguments is applied to the argtuple obtained from the stack, and the resulting instance object is pushed on the stack. NOTE: checks for __safe_for_unpickling__ went away in Python 2.3. NOTE: the distinction between old-style and new-style classes does not make sense in Python 3. OBJoaBuild a class instance. This is the protocol 1 version of protocol 0's INST opcode, and is very much like it. The major difference is that the class object is taken off the stack, allowing it to be retrieved from the memo repeatedly if several instances of the same class are created. This can be much more efficient (in both time and space) than repeatedly embedding the module and class names in INST opcodes. Unlike INST, OBJ takes no arguments from the opcode stream. Instead the class object is taken off the stack, immediately above the topmost markobject: Stack before: ... markobject classobject stackslice Stack after: ... new_instance_object As for INST, the remainder of the stack above the markobject is gathered into an argument tuple, and then the logic seems identical, except that no __safe_for_unpickling__ check is done (XXX this is a bug). See INST for the gory details. NOTE: In Python 2.3, INST and OBJ are identical except for how they get the class object. That was always the intent; the implementations had diverged for accidental reasons. NEWOBJaLBuild an object instance. The stack before should be thought of as containing a class object followed by an argument tuple (the tuple being the stack top). Call these cls and args. They are popped off the stack, and the value returned by cls.__new__(cls, *args) is pushed back onto the stack. NEWOBJ_EX’auBuild an object instance. The stack before should be thought of as containing a class object followed by an argument tuple and by a keyword argument dict (the dict being the stack top). Call these cls and args. They are popped off the stack, and the value returned by cls.__new__(cls, *args, *kwargs) is pushed back onto the stack. PROTO€zProtocol version indicator. For protocol 2 and above, a pickle must start with this opcode. The argument is the protocol version, an int in range(2, 256). STOP.zStop the unpickling machine. Every pickle ends with this opcode. The object at the top of the stack is popped, and that's the result of unpickling. The stack should be empty then. FRAME•zIndicate the beginning of a new frame. The unpickler may use this opcode to safely prefetch data from its underlying stream. PERSIDPaPush an object identified by a persistent ID. The pickle module doesn't define what a persistent ID means. PERSID's argument is a newline-terminated str-style (no embedded escapes, no bracketing quote characters) string, which *is* "the persistent ID". The unpickler passes this string to self.persistent_load(). Whatever object that returns is pushed on the stack. There is no implementation of persistent_load() in Python's unpickler: it must be supplied by an unpickler subclass. BINPERSIDQaXPush an object identified by a persistent ID. Like PERSID, except the persistent ID is popped off the stack (instead of being a string embedded in the opcode bytestream). The persistent ID is passed to self.persistent_load(), and whatever object that returns is pushed on the stack. See PERSID for more detail. z%repeated name %r at indices %d and %dz%repeated code %r at indices %d and %dFc  t}tjD]}t jd|s|rt d|z,tt|}t|trt|dkr|rt d|d|d| d}||vrL|rt d|d |d ||}|j |krtd |d |d |j ||=td|d|d|r_dg}|D]%\}}|d|j d|&td|dS)Nz[A-Z][A-Z0-9_]+$z0skipping %r: it doesn't look like an opcode namer(z skipping z: value z doesn't look like a pickle coder[zchecking name z w/ code z for consistencyzfor pickle code z, pickle.py uses name z but we're using name z4pickle.py appears to have a pickle opcode with name z and code z, but we don'tz=we appear to have pickle opcodes that pickle.py doesn't have:z name z with code  )code2opcopyr__all__rematchprintgetattrrrr3rMrr*itemsappendjoin)verboserIr picklecodermsgrs rassure_pickle_consistencyrUs <<>>D11x*D11  QH4OPPP VT** *e,, J10D0D 5!%zzz3555 &&y11    )ddJJJ()))Z Av~~ j>Hjj>Bdd>?ff"FGGG Z  *"ddJJJ011 1 )NOzz|| D DGD! JJJQVVVTTB C C C C3((( ))rc#2Kt|trtj|}t |dr|j}nd} |}|d}t| d}|/|dkrtdtd|d n|d |d |j d}n|j |}|r||||fVn|||fV|d kr|j d ksJdS)NtellcdSrr%r%rrz_genops..srTr(r[rz#pickle exhausted before seeing STOPz at position z z , opcode z unknown.r>)r bytes_typesioBytesIOhasattrrWr)rHgetrMr*rrr)r- yield_end_posgetposposropcoders r_genopsrdsX$ $$ z$tVfhhyy||T[[3344 >s{{ !FGGG j03 !D!D!%"'((( : CC*##D))C  ##sFFHH, , , , ,#s" " " " 4<<;&(((( E+rc t|S)axGenerate all the opcodes in a pickle. 'pickle' is a file-like object, or string, containing the pickle. Each opcode in the pickle is generated, from the current pickle position, stopping after a STOP opcode is delivered. A triple is generated for each opcode: opcode, arg, pos opcode is an OpcodeInfo record, describing the current opcode. If the opcode has an argument embedded in the pickle, arg is its decoded value, as a Python object. If the opcode doesn't have an argument, arg is None. If the pickle has a tell() method, pos was the value of pickle.tell() before reading the current opcode. If the pickle is a bytes object, it's wrapped in a BytesIO object, and the latter's tell() result is used. Else (the pickle doesn't have a tell(), and it's not obvious how to query its current position) pos is None. )rd)rs rrrs. 6??rc8d}d}t}i}g}d}d}t|dD]\}} } } d|jvr-|| ||| f>|jdkr * * * * *,,CIIkoc5))G zz$$&&& C  C 99&  ;;s##DF3K 1HCC 3YY;;vc{++DDRV9DD GN$EEI##)#444  N % %d + + + + MM$     N   <<>>rcg}|i}d}g}d|z}d} |} t|D]>\} } } | td| zd|t| jdddd|t |z| j}t || j}| j}| j }t |}d}t|vs| jdkr|r|dturt|vsJ t|vr|dtusJ|r| }|d }nd |z}|dtur#| |dtu#|  | t}n##t$r| jdksJd }YnwxYwd x} }| jdvrS| jdkrt |}d|z}n| J| }||vrd| z} nT|sd} nO|dturd} n=|d||<n1| jdvr(| |vrt |dksJ|| g}nd| z} | |r>|ddt | jz zz }| |dt| zz }|r|d|zz }|rV|d| t |z zz }t |} | dkr|} |d| jddd zz }t||| rt| t ||kr!td|t |fz|r|| d=t|vr t|vsJ|| ||@td|||rtd|zdS)aKProduce a symbolic disassembly of a pickle. 'pickle' is a file-like object, or string, containing a (at least one) pickle. The pickle is disassembled from the current position, through the first STOP opcode encountered. Optional arg 'out' is a file-like object to which the disassembly is printed. It defaults to sys.stdout. Optional arg 'memo' is a Python dict, used as the pickle's memo. It may be mutated by dis(), if the pickle contains PUT or BINPUT opcodes. Passing the same memo object to another dis() call then allows disassembly to proceed across multiple pickles that were all created by the same pickler with the same memo. Ordinarily you don't need to worry about this. Optional arg 'indentlevel' is the number of blanks by which to indent a new MARK level. It defaults to 4. Optional arg 'annotate' if nonzero instructs dis() to add short description of the opcode on each line of disassembled output. The value given to 'annotate' must be an integer and is used as a hint for the column where annotation should start. The default value is 0, meaning no annotations. In addition to printing the disassembly, some sanity checks are made: + All embedded opcode arguments "make sense". + Explicit and implicit pop operations have enough items on the stack. + When an opcode implicitly refers to a markobject, a markobject is actually on the stack. + A memo entry isn't referenced before it's defined. + The markobject isn't stored in the memo. + A memo entry isn't redefined. NrrWz%5d:)endfiler(4rTz(MARK at unknown opcode offset)z (MARK at %d)rzno MARK exists on stack)rr!r"r$r$z(as %d)zmemo key %r already definedz'stack is empty -- can't store into memoz"can't store markobject in the memo)rrrz&memo key %r has never been stored into 2rG)rz3tries to pop %d items from stack with only %d itemsz highest protocol among opcodes =zstack not empty after STOP: %r)rrMreprrr3rmaxrrr markobjectrpopindexr*rsplitrPextend)rrymemo indentlevelannotatestackmaxproto markstack indentchunkerrormsgannocolrcrrblinebeforeafternumtopopmarkmsgmarkposmemo_idxs rrr[ sZ E |HI #KHG"6NN__S ? &3,Cc 2 2 2 2"6;//"5555)C NN::$kk+x..$"v;;   FK5$8$8$)%9$)"I$;$;U**** 4''!":3333 ?#--//??GG,w6GBiz11IIKKKBiz11 !%||J77HH!!!!!;%//// HHH!&?>7 ;E E E{i''t99#h.483> +Drj((?!&rX [< < <d{{5zzQc CcI ?g? C2FK 0 001 1Dd3ii' &g %  7 C7SYY./ /D$iiG||" C&***433A66 6D d  'X&& & u:: -08#e**/EFGG G  "xijj!   V++++   S ! ! ! U ,hSAAAA C9EABBBCCs E;;FFceZdZdZdS)_Examplec||_dSr)value)rrs rrz_Example.__init__ s  rN)r!r"r#rr%rrrr s#rra >>> import pickle >>> x = [1, 2, (3, 4), {b'abc': "def"}] >>> pkl0 = pickle.dumps(x, 0) >>> dis(pkl0) 0: ( MARK 1: l LIST (MARK at 0) 2: p PUT 0 5: I INT 1 8: a APPEND 9: I INT 2 12: a APPEND 13: ( MARK 14: I INT 3 17: I INT 4 20: t TUPLE (MARK at 13) 21: p PUT 1 24: a APPEND 25: ( MARK 26: d DICT (MARK at 25) 27: p PUT 2 30: c GLOBAL '_codecs encode' 46: p PUT 3 49: ( MARK 50: V UNICODE 'abc' 55: p PUT 4 58: V UNICODE 'latin1' 66: p PUT 5 69: t TUPLE (MARK at 49) 70: p PUT 6 73: R REDUCE 74: p PUT 7 77: V UNICODE 'def' 82: p PUT 8 85: s SETITEM 86: a APPEND 87: . STOP highest protocol among opcodes = 0 Try again with a "binary" pickle. >>> pkl1 = pickle.dumps(x, 1) >>> dis(pkl1) 0: ] EMPTY_LIST 1: q BINPUT 0 3: ( MARK 4: K BININT1 1 6: K BININT1 2 8: ( MARK 9: K BININT1 3 11: K BININT1 4 13: t TUPLE (MARK at 8) 14: q BINPUT 1 16: } EMPTY_DICT 17: q BINPUT 2 19: c GLOBAL '_codecs encode' 35: q BINPUT 3 37: ( MARK 38: X BINUNICODE 'abc' 46: q BINPUT 4 48: X BINUNICODE 'latin1' 59: q BINPUT 5 61: t TUPLE (MARK at 37) 62: q BINPUT 6 64: R REDUCE 65: q BINPUT 7 67: X BINUNICODE 'def' 75: q BINPUT 8 77: s SETITEM 78: e APPENDS (MARK at 3) 79: . STOP highest protocol among opcodes = 1 Exercise the INST/OBJ/BUILD family. >>> import pickletools >>> dis(pickle.dumps(pickletools.dis, 0)) 0: c GLOBAL 'pickletools dis' 17: p PUT 0 20: . STOP highest protocol among opcodes = 0 >>> from pickletools import _Example >>> x = [_Example(42)] * 2 >>> dis(pickle.dumps(x, 0)) 0: ( MARK 1: l LIST (MARK at 0) 2: p PUT 0 5: c GLOBAL 'copy_reg _reconstructor' 30: p PUT 1 33: ( MARK 34: c GLOBAL 'pickletools _Example' 56: p PUT 2 59: c GLOBAL '__builtin__ object' 79: p PUT 3 82: N NONE 83: t TUPLE (MARK at 33) 84: p PUT 4 87: R REDUCE 88: p PUT 5 91: ( MARK 92: d DICT (MARK at 91) 93: p PUT 6 96: V UNICODE 'value' 103: p PUT 7 106: I INT 42 110: s SETITEM 111: b BUILD 112: a APPEND 113: g GET 5 116: a APPEND 117: . STOP highest protocol among opcodes = 0 >>> dis(pickle.dumps(x, 1)) 0: ] EMPTY_LIST 1: q BINPUT 0 3: ( MARK 4: c GLOBAL 'copy_reg _reconstructor' 29: q BINPUT 1 31: ( MARK 32: c GLOBAL 'pickletools _Example' 54: q BINPUT 2 56: c GLOBAL '__builtin__ object' 76: q BINPUT 3 78: N NONE 79: t TUPLE (MARK at 31) 80: q BINPUT 4 82: R REDUCE 83: q BINPUT 5 85: } EMPTY_DICT 86: q BINPUT 6 88: X BINUNICODE 'value' 98: q BINPUT 7 100: K BININT1 42 102: s SETITEM 103: b BUILD 104: h BINGET 5 106: e APPENDS (MARK at 3) 107: . STOP highest protocol among opcodes = 1 Try "the canonical" recursive-object test. >>> L = [] >>> T = L, >>> L.append(T) >>> L[0] is T True >>> T[0] is L True >>> L[0][0] is L True >>> T[0][0] is T True >>> dis(pickle.dumps(L, 0)) 0: ( MARK 1: l LIST (MARK at 0) 2: p PUT 0 5: ( MARK 6: g GET 0 9: t TUPLE (MARK at 5) 10: p PUT 1 13: a APPEND 14: . STOP highest protocol among opcodes = 0 >>> dis(pickle.dumps(L, 1)) 0: ] EMPTY_LIST 1: q BINPUT 0 3: ( MARK 4: h BINGET 0 6: t TUPLE (MARK at 3) 7: q BINPUT 1 9: a APPEND 10: . STOP highest protocol among opcodes = 1 Note that, in the protocol 0 pickle of the recursive tuple, the disassembler has to emulate the stack in order to realize that the POP opcode at 16 gets rid of the MARK at 0. >>> dis(pickle.dumps(T, 0)) 0: ( MARK 1: ( MARK 2: l LIST (MARK at 1) 3: p PUT 0 6: ( MARK 7: g GET 0 10: t TUPLE (MARK at 6) 11: p PUT 1 14: a APPEND 15: 0 POP 16: 0 POP (MARK at 0) 17: g GET 1 20: . STOP highest protocol among opcodes = 0 >>> dis(pickle.dumps(T, 1)) 0: ( MARK 1: ] EMPTY_LIST 2: q BINPUT 0 4: ( MARK 5: h BINGET 0 7: t TUPLE (MARK at 4) 8: q BINPUT 1 10: a APPEND 11: 1 POP_MARK (MARK at 0) 12: h BINGET 1 14: . STOP highest protocol among opcodes = 1 Try protocol 2. >>> dis(pickle.dumps(L, 2)) 0: \x80 PROTO 2 2: ] EMPTY_LIST 3: q BINPUT 0 5: h BINGET 0 7: \x85 TUPLE1 8: q BINPUT 1 10: a APPEND 11: . STOP highest protocol among opcodes = 2 >>> dis(pickle.dumps(T, 2)) 0: \x80 PROTO 2 2: ] EMPTY_LIST 3: q BINPUT 0 5: h BINGET 0 7: \x85 TUPLE1 8: q BINPUT 1 10: a APPEND 11: 0 POP 12: h BINGET 1 14: . STOP highest protocol among opcodes = 2 Try protocol 3 with annotations: >>> dis(pickle.dumps(T, 3), annotate=1) 0: \x80 PROTO 3 Protocol version indicator. 2: ] EMPTY_LIST Push an empty list. 3: q BINPUT 0 Store the stack top into the memo. The stack is not popped. 5: h BINGET 0 Read an object from the memo and push it on the stack. 7: \x85 TUPLE1 Build a one-tuple out of the topmost item on the stack. 8: q BINPUT 1 Store the stack top into the memo. The stack is not popped. 10: a APPEND Append an object to a list. 11: 0 POP Discard the top stack item, shrinking the stack by one item. 12: h BINGET 1 Read an object from the memo and push it on the stack. 14: . STOP Stop the unpickling machine. highest protocol among opcodes = 2 a= >>> import pickle >>> import io >>> f = io.BytesIO() >>> p = pickle.Pickler(f, 2) >>> x = [1, 2, 3] >>> p.dump(x) >>> p.dump(x) >>> f.seek(0) 0 >>> memo = {} >>> dis(f, memo=memo) 0: \x80 PROTO 2 2: ] EMPTY_LIST 3: q BINPUT 0 5: ( MARK 6: K BININT1 1 8: K BININT1 2 10: K BININT1 3 12: e APPENDS (MARK at 5) 13: . STOP highest protocol among opcodes = 2 >>> dis(f, memo=memo) 14: \x80 PROTO 2 16: h BINGET 0 18: . STOP highest protocol among opcodes = 2 )disassembler_testdisassembler_memo_testc2ddl}|Sr)doctesttestmod)rs r_testr sNNN ??  r__main__z$disassemble one or more pickle files) description pickle_file*zthe pickle file)nargshelpz-oz--outputz+the file where the output should be written)rz-mz--memo store_truez#preserve memo between disassemblies)actionrz-lz --indentlevelz8the number of blanks by which to indent a new MARK level)defaultrrz-az --annotatez2annotate each line with a short opcode descriptionz-pz --preamblez==> {name} <==zMif more than one pickle file is specified, print this before each disassembly)rrz-tz--testzrun self-test suitez-vz)run verbosely; only affects self-test runw-zrrGrb)TT)F)NNr9r)__doc__rKr\rrKrfrJr[rrrrrobjectr structr&r4r.r/r5r7r:r;r=r>rArBrPrQrTrUrXrYr]r^r`rarcrdrhrirkrlrorprrrsrwrxrzr|r~rrrrrrrrrrrrrrrrpyintpylongrpyinteger_or_boolpyboolrpyfloatrrpybytes_or_strpystringpybytesrn pybytearray pyunicoderpynonerpytuplerpylistrpydictrpyset pyfrozensetpybuffer anyobjectrrrrruname2icode2i enumerater5rrr*rrHrUrdrrrr _dis_test _memo_test__test__rr!argparseArgumentParserparser add_argument parse_argsargstestr print_helprroutputstdoutopenrr3preambleformatristdinrrr,closer%rrrs   ' ' ' ` """"""""H%$$$$$ @ @ @ ,  . . . @ @ @ ;  = = = ? ? ? I KKK @ @ @ <  > > > @ @ @ =  ? ? ?----^  #    ///'&0'5   LLL,+":,$?"! " " "%%%"  $!   %%%,  $!   %%%"  $     %%%.  %     %%%0  %     %%%0 %$   + + +%$,%1   0004$#)*.   0008$#)+.   0008$#)+.   ,"%$,%1   $#*$/   !    A A A       (*     .     (&<  "$$$$  K  ;-///   " $ $ $ +    " " " (K  3<46666 +    " " " k  $&&& K  + - - -   4::! # # # +    " " "    ! ! !    ! ! !       k  $&&& ;  & ( ( ( K  ( * * * [       [    *99999999vQ A5  $%     Q :A8  '     ;Q VA9  '     WQ nA9  '     oQ HA6  '     IQ lA7  '     mQ BA7  '     CQ \A8  !"     ]Q |A;  !"     }Q ^A   !"     _Q DA:  )     EQ ^A   )     _Q xA;  )     yQ VA<  -     WQ tA=  * . 000uQ DA   :* 8 :::EQ XA6  ( # %%%YQ nA9  ( % '''oQ ~A:  ( & (((Q RA9  +     SQ lA   +     mQ F A<  +     G Q ` A=  +     a Q ~ A7  )      Q f A:  )     g Q J A<  (  !!!K Q Z A8  I&(     [ Q v A9  J 3(     w Q R A6   +(     S Q v A=  ) """w Q F A7   +)     G Q f A8  ;)     g Q DA8  y))     EQ bA8  y)4)     cQ DA<  (  !!!EQ TA6   +(     UQ vA9  Iy1(     wQ RA:  J 3(     SQ @A;  '     AQ PA:  :z2'     QQ |A;   +-     }Q `A5  ; H JJJaQ pA5  ;i( I KKKqQ @A6  ,     AQ ZA:   +     [Q zA5  +     {Q TA8  +     UQ lA=  +     mQ DA5       EQ ^A8       _Q vA=       wQ NA9  ;+     OQ lA6  +     mQ XA6  +     YQ nA6  +     oQ JA8  +     KQ hA>  y)+     iQ DA8  y)+     EQ ~A7  y)+     Q pA6   ++ * 0 0 0 qQ TA5   :6+     UQ TA8  y)+     UQ rA;  y)4+     sQ TA7       UQ lA6  ;     mQ JA7       KQ fA8  +     gQ H A;  ;+     I Q d    Ig    DAqvj@&&.!4566 6vj@&&.!4566 6F16NF16NN FAq  AGAFOO$)$)$)$)L @8>>>FXCXCXCXCv}  ~ :"+&0   zOOO $X $:<<