/usr/lib64/python3.12/__pycache__
NameSizeModeActions
abc.cpython-312.opt-1.pyc80420644editdlrm
abc.cpython-312.opt-2.pyc48650644editdlrm
abc.cpython-312.pyc80420644editdlrm
aifc.cpython-312.opt-1.pyc427930644editdlrm
aifc.cpython-312.opt-2.pyc375920644editdlrm
aifc.cpython-312.pyc427930644editdlrm
antigravity.cpython-312.opt-1.pyc10110644editdlrm
antigravity.cpython-312.opt-2.pyc8740644editdlrm
antigravity.cpython-312.pyc10110644editdlrm
argparse.cpython-312.opt-1.pyc1006900644editdlrm
argparse.cpython-312.opt-2.pyc910510644editdlrm
argparse.cpython-312.pyc1010570644editdlrm
ast.cpython-312.opt-1.pyc995500644editdlrm
ast.cpython-312.opt-2.pyc911720644editdlrm
ast.cpython-312.pyc997360644editdlrm
base64.cpython-312.opt-1.pyc240990644editdlrm
base64.cpython-312.opt-2.pyc194780644editdlrm
base64.cpython-312.pyc243990644editdlrm
bdb.cpython-312.opt-1.pyc386420644editdlrm
bdb.cpython-312.opt-2.pyc293160644editdlrm
bdb.cpython-312.pyc386420644editdlrm
bisect.cpython-312.opt-1.pyc36430644editdlrm
bisect.cpython-312.opt-2.pyc20600644editdlrm
bisect.cpython-312.pyc36430644editdlrm
bz2.cpython-312.opt-1.pyc151350644editdlrm
bz2.cpython-312.opt-2.pyc102640644editdlrm
bz2.cpython-312.pyc151350644editdlrm
calendar.cpython-312.opt-1.pyc399040644editdlrm
calendar.cpython-312.opt-2.pyc356700644editdlrm
calendar.cpython-312.pyc399040644editdlrm
cgi.cpython-312.opt-1.pyc402270644editdlrm
cgi.cpython-312.opt-2.pyc317210644editdlrm
cgi.cpython-312.pyc402270644editdlrm
cgitb.cpython-312.opt-1.pyc172790644editdlrm
cgitb.cpython-312.opt-2.pyc157210644editdlrm
cgitb.cpython-312.pyc172790644editdlrm
chunk.cpython-312.opt-1.pyc73120644editdlrm
chunk.cpython-312.opt-2.pyc52150644editdlrm
chunk.cpython-312.pyc73120644editdlrm
cmd.cpython-312.opt-1.pyc185890644editdlrm
cmd.cpython-312.opt-2.pyc132650644editdlrm
cmd.cpython-312.pyc185890644editdlrm
code.cpython-312.opt-1.pyc136700644editdlrm
code.cpython-312.opt-2.pyc85000644editdlrm
code.cpython-312.pyc136700644editdlrm
codecs.cpython-312.opt-1.pyc422650644editdlrm
codecs.cpython-312.opt-2.pyc269410644editdlrm
codecs.cpython-312.pyc422650644editdlrm
codeop.cpython-312.opt-1.pyc69020644editdlrm
codeop.cpython-312.opt-2.pyc39180644editdlrm
codeop.cpython-312.pyc69020644editdlrm
colorsys.cpython-312.opt-1.pyc46440644editdlrm
colorsys.cpython-312.opt-2.pyc40420644editdlrm
colorsys.cpython-312.pyc46440644editdlrm
compileall.cpython-312.opt-1.pyc203490644editdlrm
compileall.cpython-312.opt-2.pyc171200644editdlrm
compileall.cpython-312.pyc203490644editdlrm
configparser.cpython-312.opt-1.pyc634840644editdlrm
configparser.cpython-312.opt-2.pyc487620644editdlrm
configparser.cpython-312.pyc634840644editdlrm
contextlib.cpython-312.opt-1.pyc303370644editdlrm
contextlib.cpython-312.opt-2.pyc242850644editdlrm
contextlib.cpython-312.pyc303520644editdlrm
contextvars.cpython-312.opt-1.pyc2630644editdlrm
contextvars.cpython-312.opt-2.pyc2630644editdlrm
contextvars.cpython-312.pyc2630644editdlrm
copy.cpython-312.opt-1.pyc97590644editdlrm
copy.cpython-312.opt-2.pyc74810644editdlrm
copy.cpython-312.pyc97590644editdlrm
copyreg.cpython-312.opt-1.pyc73700644editdlrm
copyreg.cpython-312.opt-2.pyc65970644editdlrm
copyreg.cpython-312.pyc74010644editdlrm
cProfile.cpython-312.opt-1.pyc85640644editdlrm
cProfile.cpython-312.opt-2.pyc81110644editdlrm
cProfile.cpython-312.pyc85640644editdlrm
crypt.cpython-312.opt-1.pyc53610644editdlrm
crypt.cpython-312.opt-2.pyc47230644editdlrm
crypt.cpython-312.pyc53610644editdlrm
csv.cpython-312.opt-1.pyc177380644editdlrm
csv.cpython-312.opt-2.pyc157450644editdlrm
csv.cpython-312.pyc177380644editdlrm
dataclasses.cpython-312.opt-1.pyc448350644editdlrm
dataclasses.cpython-312.opt-2.pyc409670644editdlrm
dataclasses.cpython-312.pyc448930644editdlrm
datetime.cpython-312.opt-1.pyc4110644editdlrm
datetime.cpython-312.opt-2.pyc4110644editdlrm
datetime.cpython-312.pyc4110644editdlrm
decimal.cpython-312.opt-1.pyc29330644editdlrm
decimal.cpython-312.opt-2.pyc3710644editdlrm
decimal.cpython-312.pyc29330644editdlrm
difflib.cpython-312.opt-1.pyc753380644editdlrm
difflib.cpython-312.opt-2.pyc420920644editdlrm
difflib.cpython-312.pyc753810644editdlrm
dis.cpython-312.opt-1.pyc344040644editdlrm
dis.cpython-312.opt-2.pyc300650644editdlrm
dis.cpython-312.pyc344430644editdlrm
doctest.cpython-312.opt-1.pyc1053560644editdlrm
doctest.cpython-312.opt-2.pyc703610644editdlrm
doctest.cpython-312.pyc1056690644editdlrm
enum.cpython-312.opt-1.pyc803460644editdlrm
enum.cpython-312.opt-2.pyc712640644editdlrm
enum.cpython-312.pyc803460644editdlrm
filecmp.cpython-312.opt-1.pyc146670644editdlrm
filecmp.cpython-312.opt-2.pyc120600644editdlrm
filecmp.cpython-312.pyc146670644editdlrm
fileinput.cpython-312.opt-1.pyc202700644editdlrm
fileinput.cpython-312.opt-2.pyc148280644editdlrm
fileinput.cpython-312.pyc202700644editdlrm
fnmatch.cpython-312.opt-1.pyc63600644editdlrm
fnmatch.cpython-312.opt-2.pyc51820644editdlrm
fnmatch.cpython-312.pyc64820644editdlrm
fractions.cpython-312.opt-1.pyc367570644editdlrm
fractions.cpython-312.opt-2.pyc282300644editdlrm
fractions.cpython-312.pyc367570644editdlrm
ftplib.cpython-312.opt-1.pyc425750644editdlrm
ftplib.cpython-312.opt-2.pyc324410644editdlrm
ftplib.cpython-312.pyc425750644editdlrm
functools.cpython-312.opt-1.pyc403440644editdlrm
functools.cpython-312.opt-2.pyc337850644editdlrm
functools.cpython-312.pyc403440644editdlrm
genericpath.cpython-312.opt-1.pyc68120644editdlrm
genericpath.cpython-312.opt-2.pyc57140644editdlrm
genericpath.cpython-312.pyc68120644editdlrm
getopt.cpython-312.opt-1.pyc83100644editdlrm
getopt.cpython-312.opt-2.pyc57740644editdlrm
getopt.cpython-312.pyc83610644editdlrm
getpass.cpython-312.opt-1.pyc68330644editdlrm
getpass.cpython-312.opt-2.pyc56700644editdlrm
getpass.cpython-312.pyc68330644editdlrm
gettext.cpython-312.opt-1.pyc217850644editdlrm
gettext.cpython-312.opt-2.pyc211160644editdlrm
gettext.cpython-312.pyc217850644editdlrm
glob.cpython-312.opt-1.pyc97420644editdlrm
glob.cpython-312.opt-2.pyc88040644editdlrm
glob.cpython-312.pyc98030644editdlrm
graphlib.cpython-312.opt-1.pyc102270644editdlrm
graphlib.cpython-312.opt-2.pyc68510644editdlrm
graphlib.cpython-312.pyc102960644editdlrm
gzip.cpython-312.opt-1.pyc323550644editdlrm
gzip.cpython-312.opt-2.pyc280100644editdlrm
gzip.cpython-312.pyc323550644editdlrm
hashlib.cpython-312.opt-1.pyc82850644editdlrm
hashlib.cpython-312.opt-2.pyc75320644editdlrm
hashlib.cpython-312.pyc82850644editdlrm
heapq.cpython-312.opt-1.pyc179400644editdlrm
heapq.cpython-312.opt-2.pyc148540644editdlrm
heapq.cpython-312.pyc179400644editdlrm
hmac.cpython-312.opt-1.pyc109950644editdlrm
hmac.cpython-312.opt-2.pyc85380644editdlrm
hmac.cpython-312.pyc109950644editdlrm
imaplib.cpython-312.opt-1.pyc592360644editdlrm
imaplib.cpython-312.opt-2.pyc473070644editdlrm
imaplib.cpython-312.pyc634830644editdlrm
imghdr.cpython-312.opt-1.pyc69360644editdlrm
imghdr.cpython-312.opt-2.pyc63650644editdlrm
imghdr.cpython-312.pyc69360644editdlrm
inspect.cpython-312.opt-1.pyc1340410644editdlrm
inspect.cpython-312.opt-2.pyc1088850644editdlrm
inspect.cpython-312.pyc1343650644editdlrm
io.cpython-312.opt-1.pyc41310644editdlrm
io.cpython-312.opt-2.pyc26460644editdlrm
io.cpython-312.pyc41310644editdlrm
ipaddress.cpython-312.opt-1.pyc937780644editdlrm
ipaddress.cpython-312.opt-2.pyc683970644editdlrm
ipaddress.cpython-312.pyc937780644editdlrm
keyword.cpython-312.opt-1.pyc10430644editdlrm
keyword.cpython-312.opt-2.pyc6390644editdlrm
keyword.cpython-312.pyc10430644editdlrm
linecache.cpython-312.opt-1.pyc65510644editdlrm
linecache.cpython-312.opt-2.pyc53670644editdlrm
linecache.cpython-312.pyc65510644editdlrm
locale.cpython-312.opt-1.pyc594900644editdlrm
locale.cpython-312.opt-2.pyc550880644editdlrm
locale.cpython-312.pyc594900644editdlrm
lzma.cpython-312.opt-1.pyc158570644editdlrm
lzma.cpython-312.opt-2.pyc97730644editdlrm
lzma.cpython-312.pyc158570644editdlrm
mailbox.cpython-312.opt-1.pyc1112750644editdlrm
mailbox.cpython-312.opt-2.pyc1058340644editdlrm
mailbox.cpython-312.pyc1113810644editdlrm
mailcap.cpython-312.opt-1.pyc110950644editdlrm
mailcap.cpython-312.opt-2.pyc95710644editdlrm
mailcap.cpython-312.pyc110950644editdlrm
mimetypes.cpython-312.opt-1.pyc244480644editdlrm
mimetypes.cpython-312.opt-2.pyc185220644editdlrm
mimetypes.cpython-312.pyc244480644editdlrm
modulefinder.cpython-312.opt-1.pyc277150644editdlrm
modulefinder.cpython-312.opt-2.pyc268360644editdlrm
modulefinder.cpython-312.pyc278190644editdlrm
netrc.cpython-312.opt-1.pyc88570644editdlrm
netrc.cpython-312.opt-2.pyc86370644editdlrm
netrc.cpython-312.pyc88570644editdlrm
nntplib.cpython-312.opt-1.pyc449120644editdlrm
nntplib.cpython-312.opt-2.pyc336490644editdlrm
nntplib.cpython-312.pyc449120644editdlrm
ntpath.cpython-312.opt-1.pyc260970644editdlrm
ntpath.cpython-312.opt-2.pyc238230644editdlrm
ntpath.cpython-312.pyc260970644editdlrm
nturl2path.cpython-312.opt-1.pyc27230644editdlrm
nturl2path.cpython-312.opt-2.pyc23220644editdlrm
nturl2path.cpython-312.pyc27230644editdlrm
numbers.cpython-312.opt-1.pyc139690644editdlrm
numbers.cpython-312.opt-2.pyc103970644editdlrm
numbers.cpython-312.pyc139690644editdlrm
opcode.cpython-312.opt-1.pyc146760644editdlrm
opcode.cpython-312.opt-2.pyc145400644editdlrm
opcode.cpython-312.pyc147180644editdlrm
operator.cpython-312.opt-1.pyc173540644editdlrm
operator.cpython-312.opt-2.pyc151510644editdlrm
operator.cpython-312.pyc173540644editdlrm
optparse.cpython-312.opt-1.pyc673380644editdlrm
optparse.cpython-312.opt-2.pyc551910644editdlrm
optparse.cpython-312.pyc674430644editdlrm
os.cpython-312.opt-1.pyc446210644editdlrm
os.cpython-312.opt-2.pyc325550644editdlrm
os.cpython-312.pyc446630644editdlrm
pathlib.cpython-312.opt-1.pyc617000644editdlrm
pathlib.cpython-312.opt-2.pyc524170644editdlrm
pathlib.cpython-312.pyc617000644editdlrm
pdb.cpython-312.opt-1.pyc853380644editdlrm
pdb.cpython-312.opt-2.pyc697760644editdlrm
pdb.cpython-312.pyc854460644editdlrm
pickle.cpython-312.opt-1.pyc774020644editdlrm
pickle.cpython-312.opt-2.pyc716050644editdlrm
pickle.cpython-312.pyc777160644editdlrm
pickletools.cpython-312.opt-1.pyc793980644editdlrm
pickletools.cpython-312.opt-2.pyc704870644editdlrm
pickletools.cpython-312.pyc812200644editdlrm
pipes.cpython-312.opt-1.pyc108910644editdlrm
pipes.cpython-312.opt-2.pyc80780644editdlrm
pipes.cpython-312.pyc108910644editdlrm
pkgutil.cpython-312.opt-1.pyc198890644editdlrm
pkgutil.cpython-312.opt-2.pyc137480644editdlrm
pkgutil.cpython-312.pyc198890644editdlrm
platform.cpython-312.opt-1.pyc415810644editdlrm
platform.cpython-312.opt-2.pyc336930644editdlrm
platform.cpython-312.pyc415810644editdlrm
plistlib.cpython-312.opt-1.pyc410600644editdlrm
plistlib.cpython-312.opt-2.pyc386430644editdlrm
plistlib.cpython-312.pyc412140644editdlrm
poplib.cpython-312.opt-1.pyc189120644editdlrm
poplib.cpython-312.opt-2.pyc142770644editdlrm
poplib.cpython-312.pyc189120644editdlrm
posixpath.cpython-312.opt-1.pyc178330644editdlrm
posixpath.cpython-312.opt-2.pyc157460644editdlrm
posixpath.cpython-312.pyc178330644editdlrm
pprint.cpython-312.opt-1.pyc293860644editdlrm
pprint.cpython-312.opt-2.pyc272350644editdlrm
pprint.cpython-312.pyc294300644editdlrm
profile.cpython-312.opt-1.pyc219490644editdlrm
profile.cpython-312.opt-2.pyc189970644editdlrm
profile.cpython-312.pyc225050644editdlrm
pstats.cpython-312.opt-1.pyc377370644editdlrm
pstats.cpython-312.opt-2.pyc348750644editdlrm
pstats.cpython-312.pyc377370644editdlrm
pty.cpython-312.opt-1.pyc73550644editdlrm
pty.cpython-312.opt-2.pyc65980644editdlrm
pty.cpython-312.pyc73550644editdlrm
pyclbr.cpython-312.opt-1.pyc148580644editdlrm
pyclbr.cpython-312.opt-2.pyc118440644editdlrm
pyclbr.cpython-312.pyc148580644editdlrm
pydoc.cpython-312.opt-1.pyc1427930644editdlrm
pydoc.cpython-312.opt-2.pyc1331490644editdlrm
pydoc.cpython-312.pyc1429000644editdlrm
py_compile.cpython-312.opt-1.pyc100300644editdlrm
py_compile.cpython-312.opt-2.pyc67280644editdlrm
py_compile.cpython-312.pyc100300644editdlrm
queue.cpython-312.opt-1.pyc146610644editdlrm
queue.cpython-312.opt-2.pyc104310644editdlrm
queue.cpython-312.pyc146610644editdlrm
quopri.cpython-312.opt-1.pyc89960644editdlrm
quopri.cpython-312.opt-2.pyc79970644editdlrm
quopri.cpython-312.pyc93050644editdlrm
random.cpython-312.opt-1.pyc330940644editdlrm
random.cpython-312.opt-2.pyc246650644editdlrm
random.cpython-312.pyc331470644editdlrm
reprlib.cpython-312.opt-1.pyc102280644editdlrm
reprlib.cpython-312.opt-2.pyc100810644editdlrm
reprlib.cpython-312.pyc102280644editdlrm
rlcompleter.cpython-312.opt-1.pyc82530644editdlrm
rlcompleter.cpython-312.opt-2.pyc56220644editdlrm
rlcompleter.cpython-312.pyc82530644editdlrm
runpy.cpython-312.opt-1.pyc142980644editdlrm
runpy.cpython-312.opt-2.pyc118970644editdlrm
runpy.cpython-312.pyc142980644editdlrm
sched.cpython-312.opt-1.pyc76890644editdlrm
sched.cpython-312.opt-2.pyc47080644editdlrm
sched.cpython-312.pyc76890644editdlrm
secrets.cpython-312.opt-1.pyc25580644editdlrm
secrets.cpython-312.opt-2.pyc15430644editdlrm
secrets.cpython-312.pyc25580644editdlrm
selectors.cpython-312.opt-1.pyc261050644editdlrm
selectors.cpython-312.opt-2.pyc221090644editdlrm
selectors.cpython-312.pyc261050644editdlrm
shelve.cpython-312.opt-1.pyc129050644editdlrm
shelve.cpython-312.opt-2.pyc87810644editdlrm
shelve.cpython-312.pyc129050644editdlrm
shlex.cpython-312.opt-1.pyc141540644editdlrm
shlex.cpython-312.opt-2.pyc136530644editdlrm
shlex.cpython-312.pyc141540644editdlrm
shutil.cpython-312.opt-1.pyc660020644editdlrm
shutil.cpython-312.opt-2.pyc534560644editdlrm
shutil.cpython-312.pyc660600644editdlrm
signal.cpython-312.opt-1.pyc44590644editdlrm
signal.cpython-312.opt-2.pyc42500644editdlrm
signal.cpython-312.pyc44590644editdlrm
site.cpython-312.opt-1.pyc286850644editdlrm
site.cpython-312.opt-2.pyc231170644editdlrm
site.cpython-312.pyc286850644editdlrm
smtplib.cpython-312.opt-1.pyc480520644editdlrm
smtplib.cpython-312.opt-2.pyc322350644editdlrm
smtplib.cpython-312.pyc482050644editdlrm
sndhdr.cpython-312.opt-1.pyc106840644editdlrm
sndhdr.cpython-312.opt-2.pyc93600644editdlrm
sndhdr.cpython-312.pyc106840644editdlrm
socket.cpython-312.opt-1.pyc419110644editdlrm
socket.cpython-312.opt-2.pyc332860644editdlrm
socket.cpython-312.pyc419470644editdlrm
socketserver.cpython-312.opt-1.pyc343590644editdlrm
socketserver.cpython-312.opt-2.pyc238310644editdlrm
socketserver.cpython-312.pyc343590644editdlrm
sre_compile.cpython-312.opt-1.pyc6310644editdlrm
sre_compile.cpython-312.opt-2.pyc6310644editdlrm
sre_compile.cpython-312.pyc6310644editdlrm
sre_constants.cpython-312.opt-1.pyc6340644editdlrm
sre_constants.cpython-312.opt-2.pyc6340644editdlrm
sre_constants.cpython-312.pyc6340644editdlrm
sre_parse.cpython-312.opt-1.pyc6270644editdlrm
sre_parse.cpython-312.opt-2.pyc6270644editdlrm
sre_parse.cpython-312.pyc6270644editdlrm
ssl.cpython-312.opt-1.pyc630840644editdlrm
ssl.cpython-312.opt-2.pyc527970644editdlrm
ssl.cpython-312.pyc630840644editdlrm
stat.cpython-312.opt-1.pyc52230644editdlrm
stat.cpython-312.opt-2.pyc46080644editdlrm
stat.cpython-312.pyc52230644editdlrm
statistics.cpython-312.opt-1.pyc552090644editdlrm
statistics.cpython-312.opt-2.pyc343260644editdlrm
statistics.cpython-312.pyc554090644editdlrm
string.cpython-312.opt-1.pyc114640644editdlrm
string.cpython-312.opt-2.pyc103730644editdlrm
string.cpython-312.pyc114640644editdlrm
stringprep.cpython-312.opt-1.pyc250860644editdlrm
stringprep.cpython-312.opt-2.pyc248680644editdlrm
stringprep.cpython-312.pyc251660644editdlrm
struct.cpython-312.opt-1.pyc3270644editdlrm
struct.cpython-312.opt-2.pyc3270644editdlrm
struct.cpython-312.pyc3270644editdlrm
subprocess.cpython-312.opt-1.pyc789210644editdlrm
subprocess.cpython-312.opt-2.pyc669460644editdlrm
subprocess.cpython-312.pyc790560644editdlrm
sunau.cpython-312.opt-1.pyc254010644editdlrm
sunau.cpython-312.opt-2.pyc208150644editdlrm
sunau.cpython-312.pyc254010644editdlrm
symtable.cpython-312.opt-1.pyc196070644editdlrm
symtable.cpython-312.opt-2.pyc170760644editdlrm
symtable.cpython-312.pyc197790644editdlrm
sysconfig.cpython-312.opt-1.pyc302280644editdlrm
sysconfig.cpython-312.opt-2.pyc274640644editdlrm
sysconfig.cpython-312.pyc302280644editdlrm
tabnanny.cpython-312.opt-1.pyc121320644editdlrm
tabnanny.cpython-312.opt-2.pyc112140644editdlrm
tabnanny.cpython-312.pyc121320644editdlrm
tarfile.cpython-312.opt-1.pyc1243270644editdlrm
tarfile.cpython-312.opt-2.pyc1097290644editdlrm
tarfile.cpython-312.pyc1243450644editdlrm
telnetlib.cpython-312.opt-1.pyc283750644editdlrm
telnetlib.cpython-312.opt-2.pyc210500644editdlrm
telnetlib.cpython-312.pyc283750644editdlrm
tempfile.cpython-312.opt-1.pyc406020644editdlrm
tempfile.cpython-312.opt-2.pyc333030644editdlrm
tempfile.cpython-312.pyc406020644editdlrm
textwrap.cpython-312.opt-1.pyc182820644editdlrm
textwrap.cpython-312.opt-2.pyc111630644editdlrm
textwrap.cpython-312.pyc182820644editdlrm
this.cpython-312.opt-1.pyc14040644editdlrm
this.cpython-312.opt-2.pyc14040644editdlrm
this.cpython-312.pyc14040644editdlrm
threading.cpython-312.opt-1.pyc640330644editdlrm
threading.cpython-312.opt-2.pyc456610644editdlrm
threading.cpython-312.pyc651270644editdlrm
timeit.cpython-312.opt-1.pyc148480644editdlrm
timeit.cpython-312.opt-2.pyc90400644editdlrm
timeit.cpython-312.pyc148480644editdlrm
token.cpython-312.opt-1.pyc35710644editdlrm
token.cpython-312.opt-2.pyc35420644editdlrm
token.cpython-312.pyc35710644editdlrm
tokenize.cpython-312.opt-1.pyc253780644editdlrm
tokenize.cpython-312.opt-2.pyc213220644editdlrm
tokenize.cpython-312.pyc253780644editdlrm
trace.cpython-312.opt-1.pyc331090644editdlrm
trace.cpython-312.opt-2.pyc302200644editdlrm
trace.cpython-312.pyc331090644editdlrm
traceback.cpython-312.opt-1.pyc513580644editdlrm
traceback.cpython-312.opt-2.pyc414010644editdlrm
traceback.cpython-312.pyc514690644editdlrm
tracemalloc.cpython-312.opt-1.pyc268500644editdlrm
tracemalloc.cpython-312.opt-2.pyc255100644editdlrm
tracemalloc.cpython-312.pyc268500644editdlrm
tty.cpython-312.opt-1.pyc26700644editdlrm
tty.cpython-312.opt-2.pyc25400644editdlrm
tty.cpython-312.pyc26700644editdlrm
types.cpython-312.opt-1.pyc149470644editdlrm
types.cpython-312.opt-2.pyc128510644editdlrm
types.cpython-312.pyc149470644editdlrm
typing.cpython-312.opt-1.pyc1416630644editdlrm
typing.cpython-312.opt-2.pyc1080070644editdlrm
typing.cpython-312.pyc1423880644editdlrm
uu.cpython-312.opt-1.pyc77980644editdlrm
uu.cpython-312.opt-2.pyc75710644editdlrm
uu.cpython-312.pyc77980644editdlrm
uuid.cpython-312.opt-1.pyc327550644editdlrm
uuid.cpython-312.opt-2.pyc251040644editdlrm
uuid.cpython-312.pyc329880644editdlrm
warnings.cpython-312.opt-1.pyc230120644editdlrm
warnings.cpython-312.opt-2.pyc203210644editdlrm
warnings.cpython-312.pyc238290644editdlrm
wave.cpython-312.opt-1.pyc319850644editdlrm
wave.cpython-312.opt-2.pyc254890644editdlrm
wave.cpython-312.pyc320760644editdlrm
weakref.cpython-312.opt-1.pyc311610644editdlrm
weakref.cpython-312.opt-2.pyc279500644editdlrm
weakref.cpython-312.pyc312130644editdlrm
webbrowser.cpython-312.opt-1.pyc271750644editdlrm
webbrowser.cpython-312.opt-2.pyc247210644editdlrm
webbrowser.cpython-312.pyc272000644editdlrm
xdrlib.cpython-312.opt-1.pyc118280644editdlrm
xdrlib.cpython-312.opt-2.pyc113620644editdlrm
xdrlib.cpython-312.pyc118280644editdlrm
zipapp.cpython-312.opt-1.pyc99140644editdlrm
zipapp.cpython-312.opt-2.pyc87620644editdlrm
zipapp.cpython-312.pyc99140644editdlrm
zipimport.cpython-312.opt-1.pyc240670644editdlrm
zipimport.cpython-312.opt-2.pyc215550644editdlrm
zipimport.cpython-312.pyc241550644editdlrm
_aix_support.cpython-312.opt-1.pyc47520644editdlrm
_aix_support.cpython-312.opt-2.pyc33760644editdlrm
_aix_support.cpython-312.pyc47520644editdlrm
_collections_abc.cpython-312.opt-1.pyc458240644editdlrm
_collections_abc.cpython-312.opt-2.pyc397820644editdlrm
_collections_abc.cpython-312.pyc458240644editdlrm
_compat_pickle.cpython-312.opt-1.pyc70680644editdlrm
_compat_pickle.cpython-312.opt-2.pyc70680644editdlrm
_compat_pickle.cpython-312.pyc72010644editdlrm
_compression.cpython-312.opt-1.pyc74800644editdlrm
_compression.cpython-312.opt-2.pyc72830644editdlrm
_compression.cpython-312.pyc74800644editdlrm
_markupbase.cpython-312.opt-1.pyc120680644editdlrm
_markupbase.cpython-312.opt-2.pyc117030644editdlrm
_markupbase.cpython-312.pyc122810644editdlrm
_osx_support.cpython-312.opt-1.pyc176790644editdlrm
_osx_support.cpython-312.opt-2.pyc150950644editdlrm
_osx_support.cpython-312.pyc176790644editdlrm
_pydatetime.cpython-312.opt-1.pyc916690644editdlrm
_pydatetime.cpython-312.opt-2.pyc838800644editdlrm
_pydatetime.cpython-312.pyc942490644editdlrm
_pydecimal.cpython-312.opt-1.pyc2253300644editdlrm
_pydecimal.cpython-312.opt-2.pyc1477530644editdlrm
_pydecimal.cpython-312.pyc2255140644editdlrm
_pyio.cpython-312.opt-1.pyc1100530644editdlrm
_pyio.cpython-312.opt-2.pyc877290644editdlrm
_pyio.cpython-312.pyc1101030644editdlrm
_pylong.cpython-312.opt-1.pyc110440644editdlrm
_pylong.cpython-312.opt-2.pyc84790644editdlrm
_pylong.cpython-312.pyc110440644editdlrm
_py_abc.cpython-312.opt-1.pyc69790644editdlrm
_py_abc.cpython-312.opt-2.pyc58070644editdlrm
_py_abc.cpython-312.pyc70370644editdlrm
_sitebuiltins.cpython-312.opt-1.pyc47440644editdlrm
_sitebuiltins.cpython-312.opt-2.pyc42320644editdlrm
_sitebuiltins.cpython-312.pyc47440644editdlrm
_strptime.cpython-312.opt-1.pyc274720644editdlrm
_strptime.cpython-312.opt-2.pyc232830644editdlrm
_strptime.cpython-312.pyc274720644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-312.opt-1.pyc742730644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-312.opt-2.pyc742730644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-312.pyc742730644editdlrm
_threading_local.cpython-312.opt-1.pyc82530644editdlrm
_threading_local.cpython-312.opt-2.pyc49530644editdlrm
_threading_local.cpython-312.pyc82530644editdlrm
_weakrefset.cpython-312.opt-1.pyc117390644editdlrm
_weakrefset.cpython-312.opt-2.pyc117390644editdlrm
_weakrefset.cpython-312.pyc117390644editdlrm
__future__.cpython-312.opt-1.pyc47060644editdlrm
__future__.cpython-312.opt-2.pyc26630644editdlrm
__future__.cpython-312.pyc47060644editdlrm
__hello__.cpython-312.opt-1.pyc8720644editdlrm
__hello__.cpython-312.opt-2.pyc8280644editdlrm
__hello__.cpython-312.pyc8720644editdlrm
Edit: /usr/lib64/python3.12/__pycache__/pickletools.cpython-312.pyc (81220B)
֦ido dZddlZddlZddlZddlZddlZgdZejZdZdZ dZ dZ dZ Gd d e Zdd lmZd Zed dedZdZeddedZdZeddedZdZeddedZdZeddedZdd d!d"Zed#eed$Zd%Zed&eed'Zd(Z ed)ee d*Z!d+Z"ed,e e"d-Z#d.Z$ed/e e$d0Z%d1Z&ed2e e&d3Z'd4Z(ed5e e(d6Z)d7Z*ed8e e*d9Z+d:Z,ed;e e,d<Z-d=Z.ed>ee.d?Z/d@Z0edAe e0dBZ1dCZ2edDe e2dEZ3dFZ4edGe e4dHZ5dIZ6dJZ7edKee6dLZ8edMee7dNZ9dOZ:edPee:dQZ;dRZ<edSdeZ>dVZ?edWe e?dXZ@dYZAedZe eAd[ZBGd\d]e ZCeCd^eDd_`xZEZFeCdaeDeGfdb`ZHeCdceGdd`ZIeCdeeJdf`ZKeCdgeLeMfdh`xZNZOeCdieLdj`ZPeCdkeQdl`ZReCdmeMdn`ZSeCdoeTddp`ZUeCdqeVdr`ZWeCdseXdt`ZYeCdueZdv`Z[eCdwe\dx`Z]eCdye\dz`Z^eCd{e d|`Z_eCd}e d~`Z`eCdeCd`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`geWgddeddddge[gdd𬈫eddddeaebge[gdd󬈫edddde[e`e`ge[gddedddde[eaebge[gddeddddge]gddedddde]eaebge]gddeddddeaebge^gddedddde`ggddedddde`ge`e`gddedd d dgeagdd edd d deaebggddeddde8ge`gddedddege`gddedddege`gddeddde8ggddedddeggddedddeggdd edd!d"de`ge`gdd#edd$d%ege`gdd&edd'd(ege`gdd)edd*d+ege`gdd,edd-d.e!ge`gdd/edd0d1deSeSge`gdd2edd3d4de`e`ge`gdd5edd6d7de`e`ge`gdd8edd9d:e!eaebge`gdd;edd<d=deae`ebge`gdd>edd?d@de`e`ge`gddAeddBdCde`e`e`ge`gddDeddEdFeggddGeddHdIde`ggddJeddKdLeggddMeddNdOege`gddPeddQdRde`ge`gddSZe[diZfiZgeheeD]\ZiZjejjefvr&eldTejjefejjeifzejjegvr&eldUejjegejjeifzeiefejj<eiegejj<[f[g[i[jiZneeD]Zjejenejj<[jddVZoeo[oddWZpdXZqdYZrddZZsGd[d\Ztd]Zud^Zveuevd_Zwd`Zxeydak(rdddlzZzezjdbcZ|e|jdddedfge|jdhdidjke|jdldmdndope|jdqdrdeDdste|jdudvdndwpe|jdxdydzd{|e|jd}d~dndpe|jddndpe|jZejrexyejse|jyejrdndZejrindZej ej Zneej dZ ejD]ZeejdkDr@edk(rdneZkejjekZejedzedk(r.esejjeeejeeed5Zeseeeejeddd eej urej#yyy#1swYxYw#eej urej#wwxYw(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)disgenopsoptimizeceZdZdZdZy)ArgumentDescriptornamenreaderdocct|tsJ||_t|tr"|dk\s|tt t ttfvsJ||_ ||_ t|tsJ||_ yNr) isinstancestrrint UP_TO_NEWLINETAKEN_FROM_ARGUMENT1TAKEN_FROM_ARGUMENT4TAKEN_FROM_ARGUMENT4UTAKEN_FROM_ARGUMENT8Urrr)selfrrrrs $/usr/lib64/python3.12/pickletools.py__init__zArgumentDescriptor.__init__sy$$$$ !S!qAv'(]-A-A-B-B -D(D EE  #s###N__name__ __module__ __qualname__ __slots__rrrr r sI$rr )unpackcH|jd}|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.s) 66!9D Aw > ??ruint1r(zOne-byte unsigned integer.r ct|jd}t|dk(rtd|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.ct|jd}t|dk(rtd|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.ct|jd}t|dk(rtd|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 %rr)readlineendswithr* startswithcodecs escape_decodedecode)r,rN stripquotesrDr-qs r read_stringnlrQ;s6 ::??Abz 9D@A A ##D)!,33H= KrstringnlzA newline-terminated string. This is a repr-style string, with embedded escapes, and bracketing quotes. ct|ddS)NFutf-8)rOrD)rQr,s rread_stringnl_noescaperVts  @@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. c4t|dt|S)zp >>> import io >>> read_stringnl_noescape_pair(io.BytesIO(b"Queue\nEmpty\njunk")) 'Queue Empty'  )rVrUs rread_stringnl_noescape_pairrZs-Q/1G1J 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|}|dk\sJ|j|}t||k(r|jdSt d|t|fz)z >>> import io >>> read_string1(io.BytesIO(b"\x00")) '' >>> read_string1(io.BytesIO(b"\x03abcdef")) 'abc' rrCz2expected %d bytes in a string1, but only %d remain)r.r)r3rNr*r,rr-s r read_string1r^s_ 1 A 6M6 66!9D 4yA~{{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. ct|}|dkrtd|z|j|}t||k(r|j 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: %drCz2expected %d bytes in a string4, but only %d remain)r:r*r)r3rNr]s r read_string4rasl ! A1u59:: 66!9D 4yA~{{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|}|dk\sJ|j|}t||k(r|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_bytes1rdsU 1 A 6M6 66!9D 4yA~ 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. ct|}|dk\sJ|tjkDrtd|z|j |}t ||k(r|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_bytes4risq 1 A 6M63;;>BCC 66!9D 4yA~ 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. ct|}|dk\sJ|tjkDrtd|z|j |}t ||k(r|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)rArgrhr*r)r3r]s r read_bytes8rlsq 1 A 6M63;;>BCC 66!9D 4yA~ 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. ct|}|dk\sJ|tjkDrtd|z|j |}t ||k(r t |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)rArgrhr*r)r3 bytearrayr]s rread_bytearray8rp9sv 1 A 6M63;;BQFGG 66!9D 4yA~ 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||j}|jds td|dd}t|dS)zm >>> import io >>> read_unicodestringnl(io.BytesIO(b"abc\\uabcd\njunk")) == 'abc\uabcd' True rFz4no newline found when trying to read unicodestringnlNrzraw-unicode-escape)rIrJr*rr+s rread_unicodestringnlrs[sF ::>> 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 rrT surrogatepassz9expected %d bytes in a unicodestring1, but only %d remain)r.r)r3rr*r]s rread_unicodestring1rwusa$ 1 A 6M6 66!9D 4yA~4/22 !"CI/ 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. ct|}|dk\sJ|tjkDrtd|z|j |}t ||k(r t |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: %drTrvz9expected %d bytes in a unicodestring4, but only %d remain)r=rgrhr*r)r3rr]s rread_unicodestring4rz}$ 1 A 6M63;;FJKK 66!9D 4yA~4/22 !"CI/ 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. ct|}|dk\sJ|tjkDrtd|z|j |}t ||k(r t |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: %drTrvz9expected %d bytes in a unicodestring8, but only %d remain)rArgrhr*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. cLt|dd}|dk(ry|dk(ryt|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' FrNrOs00s01TrQrr,ss rread_decimalnl_shortrs1 a59A Ez e q6MrcNt|dd}|dddk(r|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_longrs3 a59Av~ crF q6Mrdecimalnl_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. c4t|dd}t|S)zO >>> import io >>> read_floatnl(io.BytesIO(b"-1.25\n6")) -1.25 Fr)rQfloatrs r read_floatnlr-s a59A 8OrfloatnlaA 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). ct|jd}t|dk(rtd|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_float8rCs: 66!9D 4yA~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|}|j|}t||k7r tdt |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_long1ris< 1 A 66!9D 4yA~BCC 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|j|}t||k7r tdt |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_long4rsT ! A1u3a788 66!9D 4yA~BCC 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). ceZdZdZdZdZy) StackObjectrobtyperc t|tsJ||_t|tst|tsJt|tr|D]}t|trJ||_t|tsJ||_yN)rrrtypetuplerr)rrrr containeds rrzStackObject.__init__st$$$$ &$':fe+DDD fe $# !)T222$ #s###rc|jSrr)rs r__repr__zStackObject.__repr__s yyrN)r!r"r#r$rrr%rrrrs 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.rozA 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). ceZdZdZdZy) OpcodeInforcodearg stack_before stack_afterprotorc"t|tsJ||_t|tsJt|dk(sJ||_|t|t sJ||_t|tsJ|D]}t|trJ||_ t|tsJ|D]}t|trJ||_ t|trd|cxkrtjksJJ||_t|tsJ||_y)Nr(r)rrrr3rr rrrrrrpickleHIGHEST_PROTOCOLrr) rrrrrrrrxs rrzOpcodeInfo.__init__ds $$$$ $$$$4yA~~ {j.@AAA,---Aa- --(+t,,,Aa- --&%%!u*O8O8O*OOO*OOO #s###rNr r%rrrrEsI: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 %dc tj}tjD]}t j d|s|rt d|z*tt|}t|trt|dk7r|rt d|d|dm|jd}||vrJ|rt d|d |d ||}|j|k7rtd |d |d |j||=td|d|d|rVdg}|jD]&\}}|jd|jd|(tdj!|y)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 coderCzchecking 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__rematchprintgetattrrrr3rNrr*itemsappendjoin)verboserIr picklecodermsgrs rassure_pickle_consistencyrUsJ <<>Dxx*D1H4OP VT* *e,J10D!%z35 &&y1  J()Z Avv~ >H>B>?ff"FGG Z "J01 15: NOzz|GD! JJQVVTB C$3((  rc#Kt|trtj|}t |dr |j }nd} |}|j d}tj|jd}|&|dk(r tdtd|dn|d |d |jd}n|jj|}|r||||fn|||f|d k(r|jd k(sJyw) Ntellcyrr%r%rrz_genops..srr(rCrz#pickle exhausted before seeing STOPz at position z z , opcode z unknown.r>)r bytes_typesioBytesIOhasattrrWr)rHgetrNr*rrr)r- yield_end_posgetposposropcoders r_genopsrds$ $zz$tV hyy|T[[34 >s{ !FGG 03 !D!%"'(( :: C**##D)C #sFH, ,#s" " 4<;;&( (( + sDDct|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?rcd}d}t}i}g}d}d}t|dD]\}} } } d|jvr%|j| |j || f<|jdk(r0t |} |j| |j || f{d|jvrd|jvr4|j |kDr |j }d || <|j || f|jd k(r'| |kDr| }| dk(r|| | }|j | | f|j | | f~tj} | j|tj| |}|d k\r|jjd} |D]\}} d }||ur!| |vr|j| }| || <| d z } n@||ur|j|| }n'||| }t ||jj kD}|jj#||r|jj%||j||jj'| j)S)z7Optimize a pickle string by removing unused PUT opcodesrrrrT)r`r$r@Nr<r9Fr()force)rrdraddrPr3rr\r]writer_Picklerframer start_framingputr__FRAME_SIZE_TARGET commit_frame file_write end_framinggetvalue)r rmr_oldidsnewidsopcodesr protoheaderrcrrbend_posidxoutpicklerop framelessr-s rrr sN C C UF FG EK%,Qd%C%C!S' FKK  JJsO NNC: & [[I %f+C JJsO NNC: &  #  fkk !||e# F3K NNC: & [[G #U{axGn W~. NNC> */&D0  **,CIIkooc5)G z$$& CC 9& ;;s#DF3K 1HC 3Y;;vc{+DR9DD GNN$E$EEI##)#4  NN % %d + MM$ #$ NN <<>rcg}|i}d}g}d|z}d} |} t|D]\} } } | td| zd|t| jdddd|t |z| j }t || j}| j}| j}t |}d}t|vs| j dk(r|r|dturt|vsJ t|vr |dtusJ|rh|j}|d }nd |z}|dtur|j|dtur|j |jt}nd x} }| j d vrL| j dk(rt |}d|z}n| J| }||vrd| z} nJ|sd} nE|dturd} n7|d||<n.| j dvr | |vrt |dk(sJ|| g}nd| z} | |r[|ddt | j z zz }| 1| j dvr|dt| zz }n|dt| zz }|r|d|zz }|rK|d| t |z zz }t |} | dkDr|} |d| j j#ddd zz }t||| r t| t ||krtd|t |fz|r|| d=t|vrt|vsJ|j%| |j'|td|||rtd|zy#t$r| j dk(sJd }YwxYw)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. NrrYz%5d:)endfiler(4rz(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 )rrr2rG)rz3tries to pop %d items from stack with only %d itemsz highest protocol among opcodes =zstack not empty after STOP: %r)rrMreprrr3rmaxrrr markobjectrpopindexr*asciirsplitrPextend)rrymemo indentlevelannotatestackmaxproto markstack indentchunkerrormsgannocolrcrrblinebeforeafternumtopopmarkmsgmarkposmemo_idxs rrr[ sZ E |HI #KHG"6NS ? &3,Cc 2"6;;/"5)C N:$kk+x.$$""v;  FKK5$8$)$)"I$;U* **'!":333#--/??G,w6GBiz1IIKBiz1 !%||J7H &?>7 ;;E E{{i't9#h.&483>Drj(?!&rX [[< <d{5zQ&c CcI ?g C2FKK 001 1D;;"LLC%*,,DC$s)O+Dg %  C7SY./ /D$iG|" C&****43A66 6D d X& & u: -08#e*/EFG G xij!  V+ ++   S ! UE+H ,hSA 9EABB E"!!;;%/// H!sL00MMceZdZdZy)_Examplec||_yr)value)rrs rrz_Example.__init__ s  rN)r!r"r#rr%rrrr srra >>> 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_testc*ddl}|jSr)doctesttestmod)rs r_testr s ?? 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__rLr\rrKrgrJr[rrrrrobjectr structr&r4r.r/r5r7r:r;r=r>rArBrQrRrVrWrZr[r^r_rarbrdrerirjrlrmrprqrsrtrwrxrzr|r~rrrrrrrrrrrrrrrrpyintpylongrpyinteger_or_boolpyboolrpyfloatrrpybytes_or_strpystringpybytesro pybytearray pyunicoderpynonerpytuplerpylistrpydictrpyset pyfrozensetpybuffer anyobjectrrrrruname2icode2i enumerater5rrr*rrHrUrdrrrr _dis_test _memo_test__test__rr!argparseArgumentParserparser add_argument parse_argsargstestr print_helprroutputstdoutopenrr3preambleformatristdinrrr,closer%rrrsI  '  ` ""H% @ ,  . @ ;  = ? I K @ <  > @ =  ?- -^ #  A'0'5 L,":,$?"! "%" $! %, $! %" $   %. %   %0 %   %0 %$   +%,%1 04$)*. 08$)+. 08$)+. ,"%,%1 $*$/  !  A    (*     .     (&<  "$$   ;-/   " $     " (  3<466     "   $&   + -   :! #     "    !    !       $&   & (   ( *          *99vQ 5  $%   Q :8  '   ;Q V9  '   WQ n9  '   oQ H6  '   IQ l7  '   mQ B7  '   CQ \8  !"   ]Q |;  !"   }Q ^   !"   _Q D:  )   EQ ^   )   _Q x;  )   yQ V<  -   WQ t=  * . 0uQ D   :* 8 :EQ X6  ( # %YQ n9  ( % 'oQ ~:  ( & (Q R9  +   SQ l   +   mQ F <  +   G Q ` =  +   a Q ~ 7  )    Q f :  )   g Q J <  (  !K Q Z 8  I&(   [ Q v 9  J 3(   w Q R 6   +(   S Q v =  ) "w Q F 7   +)   G Q f 8  ;)   g Q D8  y))   EQ b8  y)4)   cQ D<  (  !EQ T6   +(   UQ v9  Iy1(   wQ R:  J 3(   SQ @;  '   AQ P:  :z2'   QQ |;   +-   }Q `5  ; H JaQ p5  ;i( I KqQ @6  ,   AQ Z:   +   [Q z5  +   {Q T8  +   UQ l=  +   mQ D5     EQ ^8     _Q v=     wQ N9  ;+   OQ l6  +   mQ X6  +   YQ n6  +   oQ J8  +   KQ h>  y)+   iQ D8  y)+   EQ ~7  y)+   Q p6   ++ * 0 qQ T5   :6+   UQ T8  y)+   UQ r;  y)4+   sQ T7     UQ l6  ;   mQ J7     KQ f8  +   gQ H ;  ;+   I Q d    g DAqvv@&&&.!456 6vv@&&&.!456 6F166NF166N  FAq  AGAFFO $)L @8>F[C|}  ~ :"+&0  z $X $ $: