/usr/lib64/python3.9/__pycache__
NameSizeModeActions
abc.cpython-39.opt-1.pyc57750644editdlrm
abc.cpython-39.opt-2.pyc32160644editdlrm
abc.cpython-39.pyc57750644editdlrm
aifc.cpython-39.opt-1.pyc252660644editdlrm
aifc.cpython-39.opt-2.pyc200590644editdlrm
aifc.cpython-39.pyc252660644editdlrm
antigravity.cpython-39.opt-1.pyc8190644editdlrm
antigravity.cpython-39.opt-2.pyc6750644editdlrm
antigravity.cpython-39.pyc8190644editdlrm
argparse.cpython-39.opt-1.pyc635430644editdlrm
argparse.cpython-39.opt-2.pyc541790644editdlrm
argparse.cpython-39.pyc636540644editdlrm
ast.cpython-39.opt-1.pyc523320644editdlrm
ast.cpython-39.opt-2.pyc437870644editdlrm
ast.cpython-39.pyc523830644editdlrm
asynchat.cpython-39.opt-1.pyc68220644editdlrm
asynchat.cpython-39.opt-2.pyc54470644editdlrm
asynchat.cpython-39.pyc68220644editdlrm
asyncore.cpython-39.opt-1.pyc160360644editdlrm
asyncore.cpython-39.opt-2.pyc148320644editdlrm
asyncore.cpython-39.pyc160360644editdlrm
base64.cpython-39.opt-1.pyc163230644editdlrm
base64.cpython-39.opt-2.pyc108030644editdlrm
base64.cpython-39.pyc164550644editdlrm
bdb.cpython-39.opt-1.pyc245400644editdlrm
bdb.cpython-39.opt-2.pyc155030644editdlrm
bdb.cpython-39.pyc245400644editdlrm
binhex.cpython-39.opt-1.pyc129650644editdlrm
binhex.cpython-39.opt-2.pyc124310644editdlrm
binhex.cpython-39.pyc129650644editdlrm
bisect.cpython-39.opt-1.pyc23500644editdlrm
bisect.cpython-39.opt-2.pyc10380644editdlrm
bisect.cpython-39.pyc23500644editdlrm
bz2.cpython-39.opt-1.pyc115450644editdlrm
bz2.cpython-39.opt-2.pyc65290644editdlrm
bz2.cpython-39.pyc115450644editdlrm
calendar.cpython-39.opt-1.pyc270310644editdlrm
calendar.cpython-39.opt-2.pyc224390644editdlrm
calendar.cpython-39.pyc270310644editdlrm
cgi.cpython-39.opt-1.pyc264820644editdlrm
cgi.cpython-39.opt-2.pyc180560644editdlrm
cgi.cpython-39.pyc264820644editdlrm
cgitb.cpython-39.opt-1.pyc101860644editdlrm
cgitb.cpython-39.opt-2.pyc85870644editdlrm
cgitb.cpython-39.pyc101860644editdlrm
chunk.cpython-39.opt-1.pyc48410644editdlrm
chunk.cpython-39.opt-2.pyc26970644editdlrm
chunk.cpython-39.pyc48410644editdlrm
cmd.cpython-39.opt-1.pyc126760644editdlrm
cmd.cpython-39.opt-2.pyc72510644editdlrm
cmd.cpython-39.pyc126760644editdlrm
code.cpython-39.opt-1.pyc99160644editdlrm
code.cpython-39.opt-2.pyc46450644editdlrm
code.cpython-39.pyc99160644editdlrm
codecs.cpython-39.opt-1.pyc338880644editdlrm
codecs.cpython-39.opt-2.pyc183160644editdlrm
codecs.cpython-39.pyc338880644editdlrm
codeop.cpython-39.opt-1.pyc64580644editdlrm
codeop.cpython-39.opt-2.pyc23980644editdlrm
codeop.cpython-39.pyc64580644editdlrm
colorsys.cpython-39.opt-1.pyc32600644editdlrm
colorsys.cpython-39.opt-2.pyc26540644editdlrm
colorsys.cpython-39.pyc32600644editdlrm
compileall.cpython-39.opt-1.pyc125890644editdlrm
compileall.cpython-39.opt-2.pyc93300644editdlrm
compileall.cpython-39.pyc125890644editdlrm
configparser.cpython-39.opt-1.pyc458690644editdlrm
configparser.cpython-39.opt-2.pyc307290644editdlrm
configparser.cpython-39.pyc458690644editdlrm
contextlib.cpython-39.opt-1.pyc195280644editdlrm
contextlib.cpython-39.opt-2.pyc139430644editdlrm
contextlib.cpython-39.pyc195380644editdlrm
contextvars.cpython-39.opt-1.pyc2450644editdlrm
contextvars.cpython-39.opt-2.pyc2450644editdlrm
contextvars.cpython-39.pyc2450644editdlrm
copy.cpython-39.opt-1.pyc69630644editdlrm
copy.cpython-39.opt-2.pyc46600644editdlrm
copy.cpython-39.pyc69630644editdlrm
copyreg.cpython-39.opt-1.pyc44110644editdlrm
copyreg.cpython-39.opt-2.pyc36090644editdlrm
copyreg.cpython-39.pyc44300644editdlrm
cProfile.cpython-39.opt-1.pyc51160644editdlrm
cProfile.cpython-39.opt-2.pyc46550644editdlrm
cProfile.cpython-39.pyc51160644editdlrm
crypt.cpython-39.opt-1.pyc35130644editdlrm
crypt.cpython-39.opt-2.pyc28510644editdlrm
crypt.cpython-39.pyc35130644editdlrm
csv.cpython-39.opt-1.pyc118490644editdlrm
csv.cpython-39.opt-2.pyc98080644editdlrm
csv.cpython-39.pyc118490644editdlrm
dataclasses.cpython-39.opt-1.pyc232170644editdlrm
dataclasses.cpython-39.opt-2.pyc197780644editdlrm
dataclasses.cpython-39.pyc232170644editdlrm
datetime.cpython-39.opt-1.pyc569740644editdlrm
datetime.cpython-39.opt-2.pyc485300644editdlrm
datetime.cpython-39.pyc581150644editdlrm
decimal.cpython-39.opt-1.pyc3590644editdlrm
decimal.cpython-39.opt-2.pyc3590644editdlrm
decimal.cpython-39.pyc3590644editdlrm
difflib.cpython-39.opt-1.pyc585580644editdlrm
difflib.cpython-39.opt-2.pyc250240644editdlrm
difflib.cpython-39.pyc585800644editdlrm
dis.cpython-39.opt-1.pyc158200644editdlrm
dis.cpython-39.opt-2.pyc120130644editdlrm
dis.cpython-39.pyc158200644editdlrm
doctest.cpython-39.opt-1.pyc758320644editdlrm
doctest.cpython-39.opt-2.pyc405260644editdlrm
doctest.cpython-39.pyc760390644editdlrm
enum.cpython-39.opt-1.pyc260200644editdlrm
enum.cpython-39.opt-2.pyc210980644editdlrm
enum.cpython-39.pyc260200644editdlrm
filecmp.cpython-39.opt-1.pyc86220644editdlrm
filecmp.cpython-39.opt-2.pyc60840644editdlrm
filecmp.cpython-39.pyc86220644editdlrm
fileinput.cpython-39.opt-1.pyc137900644editdlrm
fileinput.cpython-39.opt-2.pyc81820644editdlrm
fileinput.cpython-39.pyc137900644editdlrm
fnmatch.cpython-39.opt-1.pyc38700644editdlrm
fnmatch.cpython-39.opt-2.pyc26620644editdlrm
fnmatch.cpython-39.pyc39420644editdlrm
formatter.cpython-39.opt-1.pyc175390644editdlrm
formatter.cpython-39.opt-2.pyc150990644editdlrm
formatter.cpython-39.pyc175390644editdlrm
fractions.cpython-39.opt-1.pyc180490644editdlrm
fractions.cpython-39.opt-2.pyc108490644editdlrm
fractions.cpython-39.pyc180490644editdlrm
ftplib.cpython-39.opt-1.pyc286940644editdlrm
ftplib.cpython-39.opt-2.pyc185500644editdlrm
ftplib.cpython-39.pyc286940644editdlrm
functools.cpython-39.opt-1.pyc287230644editdlrm
functools.cpython-39.opt-2.pyc220020644editdlrm
functools.cpython-39.pyc287230644editdlrm
genericpath.cpython-39.opt-1.pyc45410644editdlrm
genericpath.cpython-39.opt-2.pyc33580644editdlrm
genericpath.cpython-39.pyc45410644editdlrm
getopt.cpython-39.opt-1.pyc62420644editdlrm
getopt.cpython-39.opt-2.pyc36880644editdlrm
getopt.cpython-39.pyc62600644editdlrm
getpass.cpython-39.opt-1.pyc42000644editdlrm
getpass.cpython-39.opt-2.pyc30140644editdlrm
getpass.cpython-39.pyc42000644editdlrm
gettext.cpython-39.opt-1.pyc180730644editdlrm
gettext.cpython-39.opt-2.pyc173820644editdlrm
gettext.cpython-39.pyc180730644editdlrm
glob.cpython-39.opt-1.pyc45050644editdlrm
glob.cpython-39.opt-2.pyc36450644editdlrm
glob.cpython-39.pyc45440644editdlrm
graphlib.cpython-39.opt-1.pyc75220644editdlrm
graphlib.cpython-39.opt-2.pyc40860644editdlrm
graphlib.cpython-39.pyc75680644editdlrm
gzip.cpython-39.opt-1.pyc184940644editdlrm
gzip.cpython-39.opt-2.pyc146270644editdlrm
gzip.cpython-39.pyc184940644editdlrm
hashlib.cpython-39.opt-1.pyc52050644editdlrm
hashlib.cpython-39.opt-2.pyc48800644editdlrm
hashlib.cpython-39.pyc52050644editdlrm
heapq.cpython-39.opt-1.pyc140400644editdlrm
heapq.cpython-39.opt-2.pyc110240644editdlrm
heapq.cpython-39.pyc140400644editdlrm
hmac.cpython-39.opt-1.pyc71230644editdlrm
hmac.cpython-39.opt-2.pyc46040644editdlrm
hmac.cpython-39.pyc71230644editdlrm
imaplib.cpython-39.opt-1.pyc405070644editdlrm
imaplib.cpython-39.opt-2.pyc278240644editdlrm
imaplib.cpython-39.pyc426880644editdlrm
imghdr.cpython-39.opt-1.pyc41400644editdlrm
imghdr.cpython-39.opt-2.pyc38250644editdlrm
imghdr.cpython-39.pyc41400644editdlrm
imp.cpython-39.opt-1.pyc98510644editdlrm
imp.cpython-39.opt-2.pyc74860644editdlrm
imp.cpython-39.pyc98510644editdlrm
inspect.cpython-39.opt-1.pyc812300644editdlrm
inspect.cpython-39.opt-2.pyc561020644editdlrm
inspect.cpython-39.pyc814720644editdlrm
io.cpython-39.opt-1.pyc34080644editdlrm
io.cpython-39.opt-2.pyc19190644editdlrm
io.cpython-39.pyc34080644editdlrm
ipaddress.cpython-39.opt-1.pyc656820644editdlrm
ipaddress.cpython-39.opt-2.pyc397020644editdlrm
ipaddress.cpython-39.pyc656820644editdlrm
keyword.cpython-39.opt-1.pyc9160644editdlrm
keyword.cpython-39.opt-2.pyc5120644editdlrm
keyword.cpython-39.pyc9160644editdlrm
linecache.cpython-39.opt-1.pyc40280644editdlrm
linecache.cpython-39.opt-2.pyc27950644editdlrm
linecache.cpython-39.pyc40280644editdlrm
locale.cpython-39.opt-1.pyc346960644editdlrm
locale.cpython-39.opt-2.pyc300780644editdlrm
locale.cpython-39.pyc346960644editdlrm
lzma.cpython-39.opt-1.pyc120940644editdlrm
lzma.cpython-39.opt-2.pyc58960644editdlrm
lzma.cpython-39.pyc120940644editdlrm
mailbox.cpython-39.opt-1.pyc605460644editdlrm
mailbox.cpython-39.opt-2.pyc539420644editdlrm
mailbox.cpython-39.pyc606000644editdlrm
mailcap.cpython-39.opt-1.pyc72390644editdlrm
mailcap.cpython-39.opt-2.pyc56690644editdlrm
mailcap.cpython-39.pyc72390644editdlrm
mimetypes.cpython-39.opt-1.pyc160150644editdlrm
mimetypes.cpython-39.opt-2.pyc100000644editdlrm
mimetypes.cpython-39.pyc160150644editdlrm
modulefinder.cpython-39.opt-1.pyc160820644editdlrm
modulefinder.cpython-39.opt-2.pyc151730644editdlrm
modulefinder.cpython-39.pyc161280644editdlrm
netrc.cpython-39.opt-1.pyc37830644editdlrm
netrc.cpython-39.opt-2.pyc35450644editdlrm
netrc.cpython-39.pyc37830644editdlrm
nntplib.cpython-39.opt-1.pyc317630644editdlrm
nntplib.cpython-39.opt-2.pyc201630644editdlrm
nntplib.cpython-39.pyc317630644editdlrm
ntpath.cpython-39.opt-1.pyc142710644editdlrm
ntpath.cpython-39.opt-2.pyc122200644editdlrm
ntpath.cpython-39.pyc142710644editdlrm
nturl2path.cpython-39.opt-1.pyc17460644editdlrm
nturl2path.cpython-39.opt-2.pyc13270644editdlrm
nturl2path.cpython-39.pyc17460644editdlrm
numbers.cpython-39.opt-1.pyc123190644editdlrm
numbers.cpython-39.opt-2.pyc83620644editdlrm
numbers.cpython-39.pyc123190644editdlrm
opcode.cpython-39.opt-1.pyc52230644editdlrm
opcode.cpython-39.opt-2.pyc50820644editdlrm
opcode.cpython-39.pyc52230644editdlrm
operator.cpython-39.opt-1.pyc137840644editdlrm
operator.cpython-39.opt-2.pyc113950644editdlrm
operator.cpython-39.pyc137840644editdlrm
optparse.cpython-39.opt-1.pyc478880644editdlrm
optparse.cpython-39.opt-2.pyc355730644editdlrm
optparse.cpython-39.pyc479430644editdlrm
os.cpython-39.opt-1.pyc316300644editdlrm
os.cpython-39.opt-2.pyc194400644editdlrm
os.cpython-39.pyc316460644editdlrm
pathlib.cpython-39.opt-1.pyc435280644editdlrm
pathlib.cpython-39.opt-2.pyc346680644editdlrm
pathlib.cpython-39.pyc435280644editdlrm
pdb.cpython-39.opt-1.pyc475470644editdlrm
pdb.cpython-39.opt-2.pyc334760644editdlrm
pdb.cpython-39.pyc475860644editdlrm
pickle.cpython-39.opt-1.pyc470120644editdlrm
pickle.cpython-39.opt-2.pyc411420644editdlrm
pickle.cpython-39.pyc470980644editdlrm
pickletools.cpython-39.opt-1.pyc662930644editdlrm
pickletools.cpython-39.opt-2.pyc572000644editdlrm
pickletools.cpython-39.pyc671070644editdlrm
pipes.cpython-39.opt-1.pyc77950644editdlrm
pipes.cpython-39.opt-2.pyc49280644editdlrm
pipes.cpython-39.pyc77950644editdlrm
pkgutil.cpython-39.opt-1.pyc185660644editdlrm
pkgutil.cpython-39.opt-2.pyc118670644editdlrm
pkgutil.cpython-39.pyc185660644editdlrm
platform.cpython-39.opt-1.pyc264160644editdlrm
platform.cpython-39.opt-2.pyc183480644editdlrm
platform.cpython-39.pyc264160644editdlrm
plistlib.cpython-39.opt-1.pyc234960644editdlrm
plistlib.cpython-39.opt-2.pyc211370644editdlrm
plistlib.cpython-39.pyc235470644editdlrm
poplib.cpython-39.opt-1.pyc137540644editdlrm
poplib.cpython-39.opt-2.pyc88240644editdlrm
poplib.cpython-39.pyc137540644editdlrm
posixpath.cpython-39.opt-1.pyc106420644editdlrm
posixpath.cpython-39.opt-2.pyc89270644editdlrm
posixpath.cpython-39.pyc106420644editdlrm
pprint.cpython-39.opt-1.pyc167970644editdlrm
pprint.cpython-39.opt-2.pyc146400644editdlrm
pprint.cpython-39.pyc168300644editdlrm
profile.cpython-39.opt-1.pyc142230644editdlrm
profile.cpython-39.opt-2.pyc112450644editdlrm
profile.cpython-39.pyc144110644editdlrm
pstats.cpython-39.opt-1.pyc237520644editdlrm
pstats.cpython-39.opt-2.pyc208430644editdlrm
pstats.cpython-39.pyc237520644editdlrm
pty.cpython-39.opt-1.pyc39560644editdlrm
pty.cpython-39.opt-2.pyc31110644editdlrm
pty.cpython-39.pyc39560644editdlrm
pyclbr.cpython-39.opt-1.pyc104490644editdlrm
pyclbr.cpython-39.opt-2.pyc68480644editdlrm
pyclbr.cpython-39.pyc104490644editdlrm
pydoc.cpython-39.opt-1.pyc854280644editdlrm
pydoc.cpython-39.opt-2.pyc755460644editdlrm
pydoc.cpython-39.pyc854600644editdlrm
py_compile.cpython-39.opt-1.pyc73960644editdlrm
py_compile.cpython-39.opt-2.pyc36580644editdlrm
py_compile.cpython-39.pyc73960644editdlrm
queue.cpython-39.opt-1.pyc108760644editdlrm
queue.cpython-39.opt-2.pyc65260644editdlrm
queue.cpython-39.pyc108760644editdlrm
quopri.cpython-39.opt-1.pyc56030644editdlrm
quopri.cpython-39.opt-2.pyc45670644editdlrm
quopri.cpython-39.pyc57470644editdlrm
random.cpython-39.opt-1.pyc220430644editdlrm
random.cpython-39.opt-2.pyc145960644editdlrm
random.cpython-39.pyc220430644editdlrm
re.cpython-39.opt-1.pyc143620644editdlrm
re.cpython-39.opt-2.pyc60240644editdlrm
re.cpython-39.pyc143620644editdlrm
reprlib.cpython-39.opt-1.pyc53070644editdlrm
reprlib.cpython-39.opt-2.pyc51510644editdlrm
reprlib.cpython-39.pyc53070644editdlrm
rlcompleter.cpython-39.opt-1.pyc58060644editdlrm
rlcompleter.cpython-39.opt-2.pyc31430644editdlrm
rlcompleter.cpython-39.pyc58060644editdlrm
runpy.cpython-39.opt-1.pyc93850644editdlrm
runpy.cpython-39.opt-2.pyc69430644editdlrm
runpy.cpython-39.pyc93850644editdlrm
sched.cpython-39.opt-1.pyc66330644editdlrm
sched.cpython-39.opt-2.pyc36050644editdlrm
sched.cpython-39.pyc66330644editdlrm
secrets.cpython-39.opt-1.pyc21800644editdlrm
secrets.cpython-39.opt-2.pyc11220644editdlrm
secrets.cpython-39.pyc21800644editdlrm
selectors.cpython-39.opt-1.pyc172450644editdlrm
selectors.cpython-39.opt-2.pyc131360644editdlrm
selectors.cpython-39.pyc172450644editdlrm
shelve.cpython-39.opt-1.pyc95440644editdlrm
shelve.cpython-39.opt-2.pyc53930644editdlrm
shelve.cpython-39.pyc95440644editdlrm
shlex.cpython-39.opt-1.pyc77340644editdlrm
shlex.cpython-39.opt-2.pyc71760644editdlrm
shlex.cpython-39.pyc77340644editdlrm
shutil.cpython-39.opt-1.pyc384970644editdlrm
shutil.cpython-39.opt-2.pyc264290644editdlrm
shutil.cpython-39.pyc384970644editdlrm
signal.cpython-39.opt-1.pyc30060644editdlrm
signal.cpython-39.opt-2.pyc27820644editdlrm
signal.cpython-39.pyc30060644editdlrm
site.cpython-39.opt-1.pyc172290644editdlrm
site.cpython-39.opt-2.pyc115550644editdlrm
site.cpython-39.pyc172290644editdlrm
smtpd.cpython-39.opt-1.pyc265240644editdlrm
smtpd.cpython-39.opt-2.pyc239040644editdlrm
smtpd.cpython-39.pyc265240644editdlrm
smtplib.cpython-39.opt-1.pyc358850644editdlrm
smtplib.cpython-39.opt-2.pyc195230644editdlrm
smtplib.cpython-39.pyc359300644editdlrm
sndhdr.cpython-39.opt-1.pyc69930644editdlrm
sndhdr.cpython-39.opt-2.pyc57180644editdlrm
sndhdr.cpython-39.pyc69930644editdlrm
socket.cpython-39.opt-1.pyc289760644editdlrm
socket.cpython-39.opt-2.pyc204370644editdlrm
socket.cpython-39.pyc290000644editdlrm
socketserver.cpython-39.opt-1.pyc255150644editdlrm
socketserver.cpython-39.opt-2.pyc147990644editdlrm
socketserver.cpython-39.pyc255150644editdlrm
sre_compile.cpython-39.opt-1.pyc149590644editdlrm
sre_compile.cpython-39.opt-2.pyc145450644editdlrm
sre_compile.cpython-39.pyc151540644editdlrm
sre_constants.cpython-39.opt-1.pyc63360644editdlrm
sre_constants.cpython-39.opt-2.pyc59110644editdlrm
sre_constants.cpython-39.pyc63360644editdlrm
sre_parse.cpython-39.opt-1.pyc217720644editdlrm
sre_parse.cpython-39.opt-2.pyc217240644editdlrm
sre_parse.cpython-39.pyc218090644editdlrm
ssl.cpython-39.opt-1.pyc451060644editdlrm
ssl.cpython-39.opt-2.pyc341220644editdlrm
ssl.cpython-39.pyc451060644editdlrm
stat.cpython-39.opt-1.pyc43720644editdlrm
stat.cpython-39.opt-2.pyc35890644editdlrm
stat.cpython-39.pyc43720644editdlrm
statistics.cpython-39.opt-1.pyc317840644editdlrm
statistics.cpython-39.opt-2.pyc159110644editdlrm
statistics.cpython-39.pyc319780644editdlrm
string.cpython-39.opt-1.pyc71650644editdlrm
string.cpython-39.opt-2.pyc60590644editdlrm
string.cpython-39.pyc71650644editdlrm
stringprep.cpython-39.opt-1.pyc99460644editdlrm
stringprep.cpython-39.opt-2.pyc97280644editdlrm
stringprep.cpython-39.pyc99860644editdlrm
struct.cpython-39.opt-1.pyc3060644editdlrm
struct.cpython-39.opt-2.pyc3060644editdlrm
struct.cpython-39.pyc3060644editdlrm
subprocess.cpython-39.opt-1.pyc443100644editdlrm
subprocess.cpython-39.opt-2.pyc322720644editdlrm
subprocess.cpython-39.pyc443860644editdlrm
sunau.cpython-39.opt-1.pyc168170644editdlrm
sunau.cpython-39.opt-2.pyc122270644editdlrm
sunau.cpython-39.pyc168170644editdlrm
symbol.cpython-39.opt-1.pyc25790644editdlrm
symbol.cpython-39.opt-2.pyc25030644editdlrm
symbol.cpython-39.pyc25790644editdlrm
symtable.cpython-39.opt-1.pyc110880644editdlrm
symtable.cpython-39.opt-2.pyc103590644editdlrm
symtable.cpython-39.pyc111660644editdlrm
sysconfig.cpython-39.opt-1.pyc162040644editdlrm
sysconfig.cpython-39.opt-2.pyc138260644editdlrm
sysconfig.cpython-39.pyc162040644editdlrm
tabnanny.cpython-39.opt-1.pyc70650644editdlrm
tabnanny.cpython-39.opt-2.pyc61320644editdlrm
tabnanny.cpython-39.pyc70650644editdlrm
tarfile.cpython-39.opt-1.pyc737630644editdlrm
tarfile.cpython-39.opt-2.pyc585050644editdlrm
tarfile.cpython-39.pyc737780644editdlrm
telnetlib.cpython-39.opt-1.pyc183310644editdlrm
telnetlib.cpython-39.opt-2.pyc108290644editdlrm
telnetlib.cpython-39.pyc183310644editdlrm
tempfile.cpython-39.opt-1.pyc236560644editdlrm
tempfile.cpython-39.opt-2.pyc171300644editdlrm
tempfile.cpython-39.pyc236560644editdlrm
textwrap.cpython-39.opt-1.pyc134630644editdlrm
textwrap.cpython-39.opt-2.pyc62540644editdlrm
textwrap.cpython-39.pyc135210644editdlrm
this.cpython-39.opt-1.pyc12590644editdlrm
this.cpython-39.opt-2.pyc12590644editdlrm
this.cpython-39.pyc12590644editdlrm
threading.cpython-39.opt-1.pyc417160644editdlrm
threading.cpython-39.opt-2.pyc245290644editdlrm
threading.cpython-39.pyc421810644editdlrm
timeit.cpython-39.opt-1.pyc117560644editdlrm
timeit.cpython-39.opt-2.pyc59020644editdlrm
timeit.cpython-39.pyc117560644editdlrm
token.cpython-39.opt-1.pyc24960644editdlrm
token.cpython-39.opt-2.pyc24630644editdlrm
token.cpython-39.pyc24960644editdlrm
tokenize.cpython-39.opt-1.pyc171370644editdlrm
tokenize.cpython-39.opt-2.pyc133730644editdlrm
tokenize.cpython-39.pyc171650644editdlrm
trace.cpython-39.opt-1.pyc197590644editdlrm
trace.cpython-39.opt-2.pyc167440644editdlrm
trace.cpython-39.pyc197590644editdlrm
traceback.cpython-39.opt-1.pyc204400644editdlrm
traceback.cpython-39.opt-2.pyc114870644editdlrm
traceback.cpython-39.pyc204400644editdlrm
tracemalloc.cpython-39.opt-1.pyc179350644editdlrm
tracemalloc.cpython-39.opt-2.pyc165220644editdlrm
tracemalloc.cpython-39.pyc179350644editdlrm
tty.cpython-39.opt-1.pyc10780644editdlrm
tty.cpython-39.opt-2.pyc9690644editdlrm
tty.cpython-39.pyc10780644editdlrm
types.cpython-39.opt-1.pyc92360644editdlrm
types.cpython-39.opt-2.pyc80140644editdlrm
types.cpython-39.pyc92360644editdlrm
typing.cpython-39.opt-1.pyc718050644editdlrm
typing.cpython-39.opt-2.pyc505570644editdlrm
typing.cpython-39.pyc719350644editdlrm
uu.cpython-39.opt-1.pyc38470644editdlrm
uu.cpython-39.opt-2.pyc36030644editdlrm
uu.cpython-39.pyc38470644editdlrm
uuid.cpython-39.opt-1.pyc223970644editdlrm
uuid.cpython-39.opt-2.pyc146840644editdlrm
uuid.cpython-39.pyc225100644editdlrm
warnings.cpython-39.opt-1.pyc131660644editdlrm
warnings.cpython-39.opt-2.pyc108910644editdlrm
warnings.cpython-39.pyc136050644editdlrm
wave.cpython-39.opt-1.pyc178440644editdlrm
wave.cpython-39.opt-2.pyc118520644editdlrm
wave.cpython-39.pyc178730644editdlrm
weakref.cpython-39.opt-1.pyc202710644editdlrm
weakref.cpython-39.opt-2.pyc169860644editdlrm
weakref.cpython-39.pyc202850644editdlrm
webbrowser.cpython-39.opt-1.pyc175650644editdlrm
webbrowser.cpython-39.opt-2.pyc150860644editdlrm
webbrowser.cpython-39.pyc175820644editdlrm
xdrlib.cpython-39.opt-1.pyc82430644editdlrm
xdrlib.cpython-39.opt-2.pyc77580644editdlrm
xdrlib.cpython-39.pyc82430644editdlrm
zipapp.cpython-39.opt-1.pyc59850644editdlrm
zipapp.cpython-39.opt-2.pyc48090644editdlrm
zipapp.cpython-39.pyc59850644editdlrm
zipfile.cpython-39.opt-1.pyc598670644editdlrm
zipfile.cpython-39.opt-2.pyc508790644editdlrm
zipfile.cpython-39.pyc598880644editdlrm
zipimport.cpython-39.opt-1.pyc171590644editdlrm
zipimport.cpython-39.opt-2.pyc136410644editdlrm
zipimport.cpython-39.pyc172370644editdlrm
_aix_support.cpython-39.opt-1.pyc30460644editdlrm
_aix_support.cpython-39.opt-2.pyc16910644editdlrm
_aix_support.cpython-39.pyc30460644editdlrm
_bootlocale.cpython-39.opt-1.pyc12170644editdlrm
_bootlocale.cpython-39.opt-2.pyc9920644editdlrm
_bootlocale.cpython-39.pyc12270644editdlrm
_bootsubprocess.cpython-39.opt-1.pyc22450644editdlrm
_bootsubprocess.cpython-39.opt-2.pyc20160644editdlrm
_bootsubprocess.cpython-39.pyc22450644editdlrm
_collections_abc.cpython-39.opt-1.pyc317310644editdlrm
_collections_abc.cpython-39.opt-2.pyc262410644editdlrm
_collections_abc.cpython-39.pyc317310644editdlrm
_compat_pickle.cpython-39.opt-1.pyc54350644editdlrm
_compat_pickle.cpython-39.opt-2.pyc54350644editdlrm
_compat_pickle.cpython-39.pyc54880644editdlrm
_compression.cpython-39.opt-1.pyc41980644editdlrm
_compression.cpython-39.opt-2.pyc39840644editdlrm
_compression.cpython-39.pyc41980644editdlrm
_markupbase.cpython-39.opt-1.pyc76260644editdlrm
_markupbase.cpython-39.opt-2.pyc72480644editdlrm
_markupbase.cpython-39.pyc77770644editdlrm
_osx_support.cpython-39.opt-1.pyc115820644editdlrm
_osx_support.cpython-39.opt-2.pyc88920644editdlrm
_osx_support.cpython-39.pyc115820644editdlrm
_pydecimal.cpython-39.opt-1.pyc1606130644editdlrm
_pydecimal.cpython-39.opt-2.pyc789960644editdlrm
_pydecimal.cpython-39.pyc1606130644editdlrm
_pyio.cpython-39.opt-1.pyc743670644editdlrm
_pyio.cpython-39.opt-2.pyc515700644editdlrm
_pyio.cpython-39.pyc743870644editdlrm
_py_abc.cpython-39.opt-1.pyc46340644editdlrm
_py_abc.cpython-39.opt-2.pyc34210644editdlrm
_py_abc.cpython-39.pyc46560644editdlrm
_sitebuiltins.cpython-39.opt-1.pyc35010644editdlrm
_sitebuiltins.cpython-39.opt-2.pyc29770644editdlrm
_sitebuiltins.cpython-39.pyc35010644editdlrm
_strptime.cpython-39.opt-1.pyc160150644editdlrm
_strptime.cpython-39.opt-2.pyc122870644editdlrm
_strptime.cpython-39.pyc160150644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.opt-1.pyc307880644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.opt-2.pyc307880644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.pyc307880644editdlrm
_threading_local.cpython-39.opt-1.pyc65060644editdlrm
_threading_local.cpython-39.opt-2.pyc31860644editdlrm
_threading_local.cpython-39.pyc65060644editdlrm
_weakrefset.cpython-39.opt-1.pyc77240644editdlrm
_weakrefset.cpython-39.opt-2.pyc77240644editdlrm
_weakrefset.cpython-39.pyc77240644editdlrm
__future__.cpython-39.opt-1.pyc41260644editdlrm
__future__.cpython-39.opt-2.pyc21540644editdlrm
__future__.cpython-39.pyc41260644editdlrm
__phello__.foo.cpython-39.opt-1.pyc1290644editdlrm
__phello__.foo.cpython-39.opt-2.pyc1290644editdlrm
__phello__.foo.cpython-39.pyc1290644editdlrm
Edit: /usr/lib64/python3.9/__pycache__/zipfile.cpython-39.pyc (59888B)
a ´iC[ã@sêdZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddl Z ddl Z ddlZzddlZejZWneyšdZejZYn0z ddlZWney¾dZYn0z ddlZWneyâdZYn0gd¢ZGdd„deƒZGdd„deƒZeZZdZd Zd ZdZd Zd Zd Z d Z!dZ"dZ#dZ$dZ%dZ&dZ'e  (e&¡Z)dZ*dZ+dZ,dZ-dZ.dZ/dZ0dZ1d Z2dZ3dZ4dZ5e  (e4¡Z6dZ7dZ8dZ9dZ:dZ;dZd Z?dZ@dZAdZBd ZCdZDd ZEd ZFd!ZGd"ZHd#ZId$ZJd%ZKe  (eJ¡ZLdZMdZNdZOdZPdZQdZRdZSdZTd ZUdZVdZWdZXd&ZYd'ZZe  (eY¡Z[d(Z\d)Z]e  (e\¡Z^dZ_dZ`dZadZbdZcdZddZedZfd ZgdZhd*Zie  jd+¡Zkd,d-„Zld.d/„Zmd0d1„Znd2d3„Zod4d5„ZpGd6d7„d7eqƒZrdasd8d9„Ztd:d;„ZuGdd?„d?ƒZwd@dAdBdBdBdBdCdDdEdFdCdGdHdIdJdKdLdMœZxdNdO„ZydodPdQ„ZzdRdS„Z{GdTdU„dUƒZ|GdVdW„dWƒZ}GdXdY„dYej~ƒZGdZd[„d[ej~ƒZ€Gd\d]„d]ƒZ�Gd^d_„d_e�ƒZ‚d`da„Zƒdbdc„Z„e…j†Z‡ddde„ZˆGdfdg„dge�ƒZ‰Gdhdi„die‰ƒZŠGdjdk„dkƒZ‹dpdldm„ZŒe�dnk�ræeŒƒdS)qzP Read and write ZIP files. XXX references to utf-8 need further investigation. éN) Ú BadZipFileÚ BadZipfileÚerrorÚ ZIP_STOREDÚ ZIP_DEFLATEDÚ ZIP_BZIP2ÚZIP_LZMAÚ is_zipfileÚZipInfoÚZipFileÚ PyZipFileÚ LargeZipFileÚPathc@s eZdZdS)rN)Ú__name__Ú __module__Ú __qualname__©rrú/usr/lib64/python3.9/zipfile.pyr*src@seZdZdZdS)r zu Raised when writing a zipfile, the zipfile requires ZIP64 extensions and those extensions are disabled. N)rrrÚ__doc__rrrrr .sr iÿÿÿéÿÿéé ééé-é.é?s<4s4H2LHsPKéééééééé z<4s4B4HL2L5H2LsPKé é é ééééz <4s2B4HL2L2HsPKz<4sLQLsPKz <4sQ2H2L4QsPKiPKúr0r:Ústructr/ÚstructEndArchive64LocatorÚstringEndArchive64LocatorrÚsizeEndCentDir64Ú startswithÚstringEndArchive64ÚstructEndArchive64Ú_ECD_SIGNATUREÚ_ECD_DISK_NUMBERÚ_ECD_DISK_STARTÚ_ECD_ENTRIES_THIS_DISKÚ_ECD_ENTRIES_TOTALÚ _ECD_SIZEÚ _ECD_OFFSETÚ _ECD_LOCATION)ÚfpinÚoffsetÚendrecÚdataÚsigZdisknoZreloffZdisksZextraszZszÚcreate_versionZ read_versionZdisk_numZdisk_dirZdircountZ dircount2ZdirsizeZ diroffsetrrrÚ _EndRecData64ÕsX           þÿ r[c Csd| dd¡| ¡}z| t d¡Wnty:YdS0| ¡}t|ƒtkr¬|dd…tkr¬|dd…dkr¬t t |¡}t |ƒ}|  d¡|  |t¡t ||t|ƒSt |dtdƒ}| |d¡| ¡}| t¡}|dk�r`|||t…}t|ƒtk�rdSt t t |¡ƒ}|t}||t|t|…}|  |¡|  ||¡t ||||ƒSdS) zÔReturn data from the "End of Central Directory" record, or None. The data is a list of the nine items in the ZIP "End of central dir" record followed by a tenth item, the file seek offset of this record.rrNr éþÿÿÿsr-i)rEÚtellÚsizeEndCentDirr:r>r0ÚstringEndArchiverFr/ÚstructEndArchiveÚlistr1r[ÚmaxÚrfindÚ_ECD_COMMENT_SIZE) rUZfilesizerXrWZmaxCommentStartr5ZrecDataZ commentSizeÚcommentrrrr9s@   ÿþ      r9c@s\eZdZdZdZddd„Zdd„Zdd d „Zd d „Zdd„Z e dddœdd„ƒZ dd„Z d S)r z>Class with attributes describing each file in the ZIP archive.)Ú orig_filenamerBÚ date_timeÚ compress_typeÚ_compresslevelrer3Ú create_systemrZÚextract_versionÚreservedÚ flag_bitsÚvolumeÚ internal_attrÚ external_attrÚ header_offsetÚCRCÚ compress_sizeÚ file_sizeÚ _raw_timeÚ _end_offsetÚNoName©é¼rrrrrcCsÚ||_| tdƒ¡}|dkr(|d|…}tjdkrJtj|vrJ| tjd¡}||_||_|ddkrjtdƒ‚t |_ d|_ d|_ d|_ tjdkr”d|_nd|_t|_t|_d|_d|_d|_d|_d|_d|_d|_d|_dS)Nrú/ryz+ZIP does not support timestamps before 1980r-Úwin32r)rfÚfindÚchrÚosÚsepÚreplacerBrgÚ ValueErrorrrhrirer3ÚsysÚplatformrjÚDEFAULT_VERSIONrZrkrlrmrnrorprsrtrv)ÚselfrBrgZ null_byterrrÚ__init__hs6   zZipInfo.__init__cCsÜd|jj|jfg}|jtkr8| dt |j|j¡¡|jd?}|jd@}|rd| dt   |¡¡|rv| d|¡|  ¡}|rˆ|j r˜| d|j ¡|r¢|j rÈ|jtks¸|j |j krÈ| d|j ¡| d ¡d  |¡S) Nz<%s filename=%rú compress_type=%sr)rz filemode=%rz external_attr=%#xz file_size=%rz compress_size=%rú>Ú)Ú __class__rrBrhrr1Úcompressor_namesÚgetrpÚstatÚfilemodeÚis_dirrtrsr2)r…rCÚhiÚloÚisdirrrrÚ__repr__”s0 ÿÿ    ÿ þ zZipInfo.__repr__NcCs||j}|ddd>|dd>B|dB}|dd>|d d>B|ddB}|jd @rfd}}}n|j}|j}|j}|j}d} |d urš|tkp˜|tk}|rÂd } |t | dt  | ¡d ||¡}|tksÒ|tkrê|sÞt d ƒ‚d}d}t } |j t k�rtt| ƒ} n|j tk�rtt| ƒ} t| |jƒ|_t| |jƒ|_| ¡\} } t tt|j|j| |j |||||t| ƒt|ƒ¡ } | | |S)z-Return the per-file header as a bytes object.rryr$rr!rrr&r rNz|_|rôd|_|jd O_n|j|_|S) a_Construct an appropriate ZipInfo for a file on the filesystem. filename should be the path to a file or directory on the filesystem. arcname is the name which it will have within the archive (by default, this will be the same as filename, but without a drive letter and with leading path separators removed). rr"ryrxé;)r°rééé;r³Nrrzrr))Ú isinstancer~ÚPathLikeÚfspathr�ÚS_ISDIRÚst_modeÚtimeÚ localtimeÚst_mtimeÚpathÚnormpathÚ splitdriverÚaltseprprtÚst_size) ÚclsrBÚarcnamer¯Ústr’ÚmtimergÚzinforrrÚ from_fileûs0       zZipInfo.from_filecCs|jddkS)z2Return True if this archive member is a directory.éÿÿÿÿrz©rBr«rrrr�!szZipInfo.is_dir)rwrx)N)N) rrrrÚ __slots__r†r“r¥r›r­Ú classmethodrÆr�rrrrr Ms , .%r cCs0tdƒD]"}|d@r"|d?dA}q|dL}q|S)Nrrl q[)Úrange)Úcrcr7rrrÚ_gen_crc+s   rÍcsld‰d‰d‰tdur&ttttdƒƒƒat‰‡fdd„‰‡‡‡‡fdd„‰|D] }ˆ|ƒqL‡‡fd d „}|S) NixV4i‰gE#i�xV4écs|d?ˆ||Ad@AS)z(Compute the CRC32 primitive on one byte.réÿr)ZchrÌ)ÚcrctablerrÚcrc32Esz_ZipDecrypter..crc32cs<ˆ|ˆƒ‰ˆˆd@d@‰ˆddd@‰ˆˆd?ˆƒ‰dS)NrÏr”i„rér)Úc)rÑÚkey0Úkey1Úkey2rrÚ update_keysIs z"_ZipDecrypter..update_keyscsNtƒ}|j}|D]4}ˆdB}|||dAd?d@N}ˆ|ƒ||ƒqt|ƒS)zDecrypt a bytes object.rrrrÏ)Ú bytearrayr1Úbytes)rXrCr1rÓÚk)rÖr×rrÚ decrypterSs z _ZipDecrypter..decrypter)Ú _crctableraÚmaprÍrË)ÚpwdÚprÛr)rÑrÐrÔrÕrÖr×rÚ _ZipDecrypter;s   ràc@s,eZdZdd„Zdd„Zdd„Zdd„Zd S) ÚLZMACompressorcCs d|_dS©N)Ú_compr«rrrr†cszLZMACompressor.__init__cCsFt dtji¡}tjtjt tj|¡gd�|_t dddt |ƒ¡|S)NÚid©Úfilterszr]©r…ÚnrXrrrr>ós  z_SharedFile.readcCs$|jdur |j}d|_| |¡dSrâ)r r)r…Úfileobjrrrrþs z_SharedFile.closeN)r)rÇ)rrrr†r]rEr>rrrrrr Ýs  r c@s4eZdZdd„Zdd„Zdd„Zdd„Zd d „Zd S) Ú _TellablecCs||_d|_dS©Nr)r<rV©r…r<rrrr†sz_Tellable.__init__cCs|j |¡}|j|7_|Srâ)r<ÚwriterV)r…rXrrrrr s z_Tellable.writecCs|jSrâ)rVr«rrrr]sz_Tellable.tellcCs|j ¡dSrâ)r<rîr«rrrrîsz_Tellable.flushcCs|j ¡dSrâ)r<rr«rrrrsz_Tellable.closeN)rrrr†rr]rîrrrrrrs rcs¦eZdZdZdZdZdZd(dd„Zd d „Zd d „Z d)dd„Z d*dd„Z dd„Z d+dd„Z dd„Zdd„Zdd„Zdd„Z‡fdd „Zd!d"„Zd,d$d%„Zd&d'„Z‡ZS)-Ú ZipExtFilezZFile-like object for reading an archive member. Is returned by ZipFile.open(). i@iiNFcCs&||_||_||_|j|_|j|_|j|_t |jƒ|_ d|_ d|_ d|_ d|_||_|j|_t|dƒrz|j|_tdƒ|_nd|_d|_z4| ¡r¸| ¡|_|j|_|j|_|j|_d|_WntyÌYn0d|_|�r"|j d@rô|j!d?d@}n|jd?d@}| "¡}||k�r"t#d |j$ƒ‚dS) NFr-rrrTrrÏrÒzBad password for file %r)%Ú_fileobjÚ_pwdÚ_close_fileobjrhÚ_compress_typersÚ_compress_leftrtÚ_leftr Ú _decompressorÚ_eofÚ _readbufferÚ_offsetÚnewlinesÚmoderBÚnamer@rrÚ _expected_crcrÑÚ _running_crcÚ _seekablerr]Ú_orig_compress_startÚ_orig_compress_sizeÚ_orig_file_sizeÚ_orig_start_crcÚAttributeErrorÚ _decrypterrmruÚ_init_decrypterrürf)r…rr,ÚzipinforÞZ close_fileobjZ check_byteÚhrrrr†'sF        zZipExtFile.__init__cCs4t|jƒ|_|j d¡}|jd8_| |¡dS)Nrr&)ràr"r6r!r>r%)r…r¤rrrr7Zs  zZipExtFile._init_decryptercCsvd|jj|jjfg}|jsX| d|j|jf¡|jtkrb| dt   |j|j¡¡n | d¡| d¡d  |¡S)Nú<%s.%sz name=%r mode=%rr‡ú [closed]rˆr‰) rŠrrÚclosedr1r-r,r$rr‹rŒr2©r…rCrrrr“esÿ ÿÿ  zZipExtFile.__repr__rÇcCsL|dkr>|j d|j¡d}|dkr>|j|j|…}||_|Stj ||¡S)zrRead and return a line from the stream. If limit is specified, at most limit bytes will be read. ró r)r)r|r*ÚioÚBufferedIOBaseÚreadline)r…Úlimitr6ÚlinerrrrAsszZipExtFile.readlinercCsr|t|jƒ|jkr\| |¡}t|ƒ|jkrJ||j|jd…|_d|_n|jt|ƒ8_|j|j|jd…S)z6Returns buffered bytes without advancing the position.Nri)r0r)r*r>)r…rÚchunkrrrÚpeekƒs zZipExtFile.peekcCs|jrtdƒ‚dS)NúI/O operation on closed file.T)r<r�r«rrrÚreadable�szZipExtFile.readablecCs|jrtdƒ‚|dus|dkrV|j|jd…}d|_d|_|jsR|| |j¡7}q:|S||j}|t|jƒkrˆ|j|j|…}||_|S|t|jƒ}|j|jd…}d|_d|_|dk�r|j�s| |¡}|t|ƒkrú||_||_||d|…7}�q||7}|t|ƒ8}q²|S)zŽRead and return up to n bytes. If the argument is omitted, None, or negative, data is read and returned until EOF is reached. zread from closed file.Nrr-)r<r�r)r*r(Ú_read1ÚMAX_Nr0)r…rÚbufÚendrXrrrr>•s8   zZipExtFile.readcCs@|jdurdSt||jƒ|_|jr<|j|jkr     zZipExtFile.read1cCs"|js|dkrdS|jtkrH|jj}|t|ƒkrR|| |t|ƒ¡7}n | |¡}|jtkrj|jdk|_nx|jtkrÂt ||j ƒ}|j  ||¡}|jj p¨|jdko¨|jj |_|jrâ||j  ¡7}n |j  |¡}|jj pÞ|jdk|_|d|j…}|jt|ƒ8_|jdk�rd|_| |¡|S)Nrr-T)r(r$rr'Úunconsumed_tailr0Ú_read2rr%rbÚ MIN_READ_SIZEróròrîr&rMrrrrrHçs4       þ   zZipExtFile._read1cCsd|jdkrdSt||jƒ}t||jƒ}|j |¡}|jt|ƒ8_|sLt‚|jdur`| |¡}|S)Nrr-) r%rbrQÚminr!r>r0ÚEOFErrorr6rrrrrP s      zZipExtFile._read2cs0z|jr|j ¡Wtƒ ¡n tƒ ¡0dSrâ)r#r!rÚsuperr«©rŠrrrs zZipExtFile.closecCs|jrtdƒ‚|jS©NrF)r<r�r0r«rrrr"szZipExtFile.seekablercCsL|jrtdƒ‚|jst d¡‚| ¡}|dkr4|}n.|dkrF||}n|dkrZ|j|}ntdƒ‚||jkrr|j}|dkr~d}||}||j}|dkr²|t|j ƒkr²||_d}nf|dk�r|j   |j ¡|j |_|j|_|j|_d|_ d|_t|jƒ|_d|_|}|jdu�r| ¡|dk�rDt|j|ƒ}| |¡||8}�q| ¡S) Nzseek on closed file.ú!underlying stream is not seekablerrrzCwhence must be os.SEEK_SET (0), os.SEEK_CUR (1), or os.SEEK_END (2)r-F)r<r�r0r?ÚUnsupportedOperationr]r3r*r0r)r!rEr1r4r/r2r%r&r r$r'r(r6r7rRÚ MAX_SEEK_READr>)r…rVrZcurr_posZnew_posZ read_offsetZ buff_offsetZread_lenrrrrE'sL            zZipExtFile.seekcCs>|jrtdƒ‚|jst d¡‚|j|jt|jƒ|j }|S)Nztell on closed file.rW) r<r�r0r?rXr3r&r0r)r*)r…Zfileposrrrr]Ys  zZipExtFile.tell)NF)rÇ)r)rÇ)r)rrrrrIrQrYr†r7r“rArErGr>rMrNrHrPrrrEr]Ú __classcell__rrrUrr s*ÿ 3    # %$  2r cs@eZdZdd„Zedd„ƒZdd„Zdd„Z‡fd d „Z‡Z S) Ú _ZipWriteFilecCs8||_||_||_t|j|jƒ|_d|_d|_d|_ dSr) Ú_zinfoÚ_zip64Ú_zipfilerrhriÚ _compressorÚ _file_sizeÚ_compress_sizeÚ_crc)r…ÚzfrÅržrrrr†csÿz_ZipWriteFile.__init__cCs|jjSrâ)r^r<r«rrrr!msz_ZipWriteFile._fileobjcCsdS)NTrr«rrrÚwritableqsz_ZipWriteFile.writablecCs„|jrtdƒ‚t|ttfƒr&t|ƒ}nt|ƒ}|j}|j|7_t ||j ƒ|_ |j rt|j   |¡}|j t|ƒ7_ |j |¡|SrV)r<r�r´rÙrØr0Ú memoryviewÚnbytesr`rÑrbr_rírar!r)r…rXrfrrrrts   z_ZipWriteFile.writec sj|jr dS�zNtƒ ¡|jrR|j ¡}|jt|ƒ7_|j |¡|j|j _ n |j |j _ |j |j _ |j |j _|j jd@rÀ|jr†dnd}|j t |t|j j |j j |j j¡¡|j ¡|j_nn|jsê|j tkrØtdƒ‚|jtkrêtdƒ‚|j ¡|j_|j |j j¡|j |j  |j¡¡|j |jj¡|jj |j ¡|j |jj|j j<Wd|j_ n d|j_ 0dS)Nrzdd „Zd?d!d"œd#d$„Zd@d%d&„ZdAd'd(„ZdBd)d*„Zed+d,„ƒZd-d.„Zd/d0„ZdCd1d2„ZdDd3d4„Zd5d6„Z d7d8„Z!d9d:„Z"d;d<„Z#dS)Er ai Class with methods to open, read, write, close, list zip files. z = ZipFile(file, mode="r", compression=ZIP_STORED, allowZip64=True, compresslevel=None) file: Either the path to the file, or a file-like object. If it is a path, the file will be opened and closed by ZipFile. mode: The mode can be either read 'r', write 'w', exclusive create 'x', or append 'a'. compression: ZIP_STORED (no compression), ZIP_DEFLATED (requires zlib), ZIP_BZIP2 (requires bz2) or ZIP_LZMA (requires lzma). allowZip64: if True ZipFile will create files with ZIP64 extensions when needed, otherwise it will raise an exception when this would be necessary. compresslevel: None (default for the given compression type) or an integer specifying the level to pass to the compressor. When using ZIP_STORED or ZIP_LZMA this keyword has no effect. When using ZIP_DEFLATED integers 0 through 9 are accepted. When using ZIP_BZIP2 integers 1 through 9 are accepted. NÚrTr®c CsH|dvrtdƒ‚t|ƒ||_d|_d|_i|_g|_||_||_||_ d|_ d|_ ||_ t |tjƒrpt |¡}t |tƒräd|_||_ddd d dd d d œ}||}zt ||¡|_WqâtyÜ||vrÖ||}Yq¢‚Yqâ0qþq¢nd|_||_t|ddƒ|_d|_t ¡|_d|_d|_�z|dk�r2| ¡nê|dv�r¸d|_z|j  ¡|_!Wn0t"tf�y‚t#|jƒ|_d|_!d|_Yn40z|j $|j!¡Wnt"tf�y´d|_Yn0nd|dk�rz| ¡|j $|j!¡Wn4t%�y|j $dd¡d|_|j  ¡|_!Yn0ntdƒ‚Wn$|j} d|_| &| ¡‚Yn0dS)z]Open the ZIP file with mode read 'r', write 'w', exclusive create 'x', or append 'a'.)rlÚwÚxÚaz+ZipFile requires mode 'r', 'w', 'x', or 'a'FrNr-r?úw+búx+búr+bÚwbÚxb)rlrmrnrorrrprqrr-Trl)rmrnrorz"Mode must be 'r', 'w', 'x', or 'a')'r�rÚ _allowZip64Ú _didModifyÚdebugrjrirÿrr,rÞÚ_commentÚ_strict_timestampsr´r~rµr¶ÚstrÚ _filePassedrBr?rAr<r:ÚgetattrÚ _fileRefCntÚ threadingÚRLockrr0rÚ_RealGetContentsr]rhr5rrErÚ_fpclose) r…rr,rÿÚ allowZip64rr¯ZmodeDictrŽr<rrrr†Ñs†   ÿ          zZipFile.__init__cCs|Srârr«rrrÚ __enter__+szZipFile.__enter__cCs | ¡dSrâ©r)r…ÚtypeÚvalueÚ tracebackrrrÚ__exit__.szZipFile.__exit__cCs‚d|jj|jjfg}|jdurd|jr8| d|j¡n|jdurR| d|j¡| d|j¡n | d¡| d¡d |¡S)Nr:z file=%rz filename=%rz mode=%rr;rˆr‰) rŠrrr<r{r1rBr,r2r=rrrr“1sÿ    zZipFile.__repr__c CsÊ|j}z t|ƒ}Wnty,tdƒ‚Yn0|s:tdƒ‚|jdkrLt|ƒ|t}|t}|t|_ |t ||}|jdkr–||}td|||ƒ|||_ |  |j d¡|  |¡}t |¡}d}||k�r˜|  t¡} t| ƒtkrîtdƒ‚t t| ¡} | ttk�rtdƒ‚|jdk�r$t| ƒ|  | t¡} | d} | d @�rP|  d ¡} n |  d ¡} t| ƒ} |  | t¡| _|  | t¡| _| t| _| dd …\ | _ | _!| _"| _#| _$| _%} }| _&| _'| _(| j"t)k�rÞt*d | j"dƒ‚| dd…\| _+| _,| _-| | _.|d?d|d?d@|d@| d?| d?d@| d@df| _/|  0¡| j|| _|j1 2| ¡| |j3| j4<|t| t| t| t}|jdkrÆtd|ƒqÆ|j }t5|j1dd„dd�D]}||_6|j}�q²dS)z/Read in the table of contents for the ZIP file.zFile is not a zip filerrzgiven, inferred, offsetrzTruncated central directoryz&Bad magic number for central directoryr!r¨r§Úcp437rzzip file version %.1fr%r(r+r$ryr±r&rÚtotalcSs|jSrâ)rq)rÅrrrÚ‹r-z*ZipFile._RealGetContents..T)ÚkeyÚreverseN)7r<r9r:rrwÚprintrRrSÚ _ECD_COMMENTrxrTrhrEr>r?ÚBytesIOÚsizeCentralDirr0rFr/ÚstructCentralDirÚ _CD_SIGNATUREÚstringCentralDirÚ_CD_FILENAME_LENGTHÚdecoder Ú_CD_EXTRA_FIELD_LENGTHr3Ú_CD_COMMENT_LENGTHreÚ_CD_LOCAL_HEADER_OFFSETrqrZrjrkrlrmrhrrrsrtÚMAX_EXTRACT_VERSIONrþrnrorprurgr­rir1rjrBÚsortedrv)r…r<rWZsize_cdZ offset_cdÚconcatZinferredrXrŠÚcentdirrBÚflagsrnÚtÚdZ end_offsetrÅrrrr€?sŒ                  þ   ÿÿ   ÿþ  þ zZipFile._RealGetContentscCsdd„|jDƒS)z+Return a list of file names in the archive.cSsg|] }|j‘qSrrÈ)Ú.0rXrrrÚ ’r-z$ZipFile.namelist..©rir«rrrÚnamelist�szZipFile.namelistcCs|jS)zJReturn a list of class ZipInfo instances for files in the archive.r£r«rrrÚinfolist”szZipFile.infolistcCsLtdd|d�|jD]0}d|jdd…}td|j||jf|d�qdS)z+Print a table of contents for the zip file.z%-46s %19s %12s)z File Namez Modified ZSize)rz%d-%02d-%02d %02d:%02d:%02dNr"z %-46s %s %12d)rŽrirgrBrt)r…rrÅÚdaterrrÚprintdir™sÿ ÿzZipFile.printdirc Cspd}|jD]`}z>| |jd¡�}| |¡r,q Wdƒn1s@0YWq tyh|jYS0q dS)z%Read all the files and check the CRC.irlN)rirArBr>r)r…Z chunk_sizerÅÚfrrrÚtestzip¢s  $ zZipFile.testzipcCs$|j |¡}|dur td|ƒ‚|S)z,Return the instance of ZipInfo given 'name'.Nz(There is no item named %r in the archive)rjrŒÚKeyError)r…r-ÚinforrrÚgetinfo¯s  ÿzZipFile.getinfocCs6|r t|tƒs tdt|ƒjƒ‚|r,||_nd|_dS)z)Set default password for encrypted files.úpwd: expected bytes, got %sN)r´rÙÚ TypeErrorr…rrÞ)r…rÞrrrÚ setpassword¸s zZipFile.setpasswordcCs|jS)z.The comment text associated with the ZIP file.)rxr«rrrreÁszZipFile.commentcCs^t|tƒstdt|ƒjƒ‚t|ƒtkrNddl}|jdtdd�|dt…}||_ d|_ dS)Nzcomment: expected bytes, got %srz3Archive comment is too long; truncating to %d bytesr©Ú stacklevelT) r´rÙr®r…rr0ÚZIP_MAX_COMMENTÚwarningsÚwarnrxrv)r…rer³rrrreÆs  ÿÿ cCs:| |d|¡�}| ¡WdƒS1s,0YdS)zReturn file bytes for name.rlN©rAr>)r…r-rÞr<rrrr>Ósz ZipFile.readF©Ú force_zip64c sJ|dvrtdƒ‚|r0t|tƒs0tdt|ƒjƒ‚|rD|dkrDtdƒ‚ˆjsRtdƒ‚t|tƒrb|}n,|dkr„t|ƒ}ˆj|_ ˆj |_ n ˆ  |¡}|dkr¤ˆj ||d�Sˆjr²tdƒ‚ˆjd 7_tˆj|jˆjˆj‡fd d „ƒ}�zL| t¡}t|ƒtk�rtd ƒ‚t t|¡}|ttk�r&td ƒ‚| |t¡}|t�rL| |t¡|jd@�r`t dƒ‚|jd@�rtt dƒ‚|t!d@�rŽ| "d¡} n | "d¡} | |j#k�r¶td|j#|fƒ‚|j$du�rê| %¡|j&|j$k�rêtd|j#›d�ƒ‚|jd @} | �r|�sˆj'}|�st(d|ƒ‚nd}t)||||dƒWS| *¡‚Yn0dS)auReturn file-like object for 'name'. name is a string for the file name within the ZIP file, or a ZipInfo object. mode should be 'r' to read a file already in the ZIP file, or 'w' to write to a file newly added to the archive. pwd is the password to decrypt files (only used for reading). When writing, if the file size is not known in advance but may exceed 2 GiB, pass force_zip64 to use the ZIP64 format, which can handle large files. If the size is known in advance, it is best to pass a ZipInfo instance for name, with zinfo.file_size set. >rmrlzopen() requires mode "r" or "w"r­rmz'pwd is only supported for reading filesz2Attempt to use ZIP archive that was already closedr¶rrcsˆjSrâ)rrr«rrr‹ r-zZipFile.open..zTruncated file headerz Bad magic number for file headeré z$compressed patched data (flag bit 5)é@zstrong encryption (flag bit 6)r¨r§r‰z/File name in directory %r and header %r differ.NzOverlapped entries: z (possible zip bomb)z6File %r is encrypted, password required for extractionT)+r�r´rÙr®r…rr<r rÿrhrrir¬Ú_open_to_writerr}r rqr�rr>ÚsizeFileHeaderr0rrFr/rœÚ _FH_SIGNATUREr�Ú_FH_FILENAME_LENGTHÚ_FH_EXTRA_FIELD_LENGTHrmrþÚ_FH_GENERAL_PURPOSE_FLAG_BITSr–rfrvr]rsrÞrür r) r…r-r,rÞr·rÅZzef_fileZfheaderÚfnameZ fname_strZ is_encryptedrr«rrAØs‚ ÿ    ÿ        ÿÿ ÿ ÿz ZipFile.opencCsÖ|r|jstdƒ‚|jr tdƒ‚d|_d|_d|_|jtkrJ|jdO_|js^|jdO_|j sjd|_ |jo€|p€|j dt k}|jr–|j   |j¡|j  ¡|_| |¡d|_|j  | |¡¡d|_t|||ƒS) NzHforce_zip64 is True, but allowZip64 was False when opening the ZIP file.zzCan't write to the ZIP file while there is another write handle open on it. Close the first handle before opening another.rrré€gÍÌÌÌÌÌð?T)rur�rrsrrrmrhrr0rprtr•r<rErhr]rqÚ _writecheckrvrr¥r[)r…rÅr·ržrrrrº>s4 ÿ ÿ  zZipFile._open_to_writecCs*|durt ¡}n t |¡}| |||¡S)a#Extract a member from the archive to the current working directory, using its full name. Its file information is extracted as accurately as possible. `member' may be a filename or a ZipInfo object. You can specify a different directory using `path'. N)r~Úgetcwdr¶Ú_extract_member)r…Úmemberr¼rÞrrrÚextractgs  zZipFile.extractcCsH|dur| ¡}|dur"t ¡}n t |¡}|D]}| |||¡q0dS)zõExtract all members from the archive to the current working directory. `path' specifies a different directory to extract to. `members' is optional and must be a subset of the list returned by namelist(). N)r¤r~rÃr¶rÄ)r…r¼ÚmembersrÞr8rrrÚ extractallts  zZipFile.extractallcCs^|j}|s(d}t |dt|ƒ¡}||_| |¡}dd„| |¡Dƒ}| dd„|Dƒ¡}|S)z;Replace bad characters and remove trailing dots from parts.z:<>|"?*Ú_css|]}| d¡VqdS)Ú.N)Úrstrip©r¡rnrrrÚ �r-z1ZipFile._sanitize_windows_name..css|]}|r|VqdSrârrÌrrrrÍ‘r-)Ú!_windows_illegal_name_trans_tablerzÚ maketransr0Ú translateÚsplitr2)rÁrÂÚpathsepÚtableZillegalrrrÚ_sanitize_windows_name…s zZipFile._sanitize_windows_namec sxt|tƒs| |¡}|j dtjj¡}tjjrB| tjjtjj¡}tj  |¡d}dtjj tjj f‰tjj  ‡fdd„|  tjj¡Dƒ¡}tjjdkr¦| |tjj¡}tj  ||¡}tj |¡}tj |¡}|rætj |¡sæt |¡| ¡�r tj |¡�st |¡|S|j||d��H}t|dƒ�}t ||¡Wd ƒn1�sJ0YWd ƒn1�sj0Y|S) zbExtract the ZipInfo object 'member' to a physical file on the path targetpath. rzrr‰c3s|]}|ˆvr|VqdSrârrÌ©Zinvalid_path_partsrrrÍ¥sÿz*ZipFile._extract_member..ú\©rÞrsN)r´r r¬rBr€r~r¼rr¿r¾ÚcurdirÚpardirr2rÑrÔr½ÚdirnameÚexistsÚmakedirsr�r’ÚmkdirrAÚshutilÚ copyfileobj)r…rÅÚ targetpathrÞrÂZ upperdirsÚsourceÚtargetrrÕrrÄ”s2  &      ÿLzZipFile._extract_membercCs¢|j|jvr(ddl}|jd|jdd�|jdvr:tdƒ‚|jsHtdƒ‚t|jƒ|j sžd}t |j ƒt krpd }n|j tkr€d }n|jtkrŽd }|ržt|d ƒ‚dS) z6Check for errors before writing a file to the archive.rNzDuplicate name: %rrr°©rmrnroz&write() requires mode 'w', 'x', or 'a'z4Attempt to write ZIP archive that was already closedú Files countZFilesizez Zipfile sizeú would require ZIP64 extensions)rBrjr³r´r,r�r<rrhrur0riÚZIP_FILECOUNT_LIMITrtr•rqr )r…rÅr³Úrequires_zip64rrrr¾s,  ÿ   ÿzZipFile._writecheckc Cs’|jstdƒ‚|jrtdƒ‚tj|||jd�}| ¡rDd|_d|_n0|durT||_ n|j |_ |durl||_ n|j |_ | ¡�r&|j �Ž|jrš|j |j¡|j ¡|_|j tkr¾|jdO_| |¡d|_|j |¡||j|j<|j | d¡¡|j ¡|_Wdƒn1�s0Ynht|d ƒ�L}| |d ¡�}t ||d ¡Wdƒn1�sd0YWdƒn1�s„0YdS) zLPut the bytes from filename into the archive under the name arcname.ú7Attempt to write to ZIP archive that was already closedz>Can't write to ZIP archive while an open writing handle existsr®rNrTFr?rmi ) r<r�rr rÆryr�rsrrrhrÿrirrr0rErhr]rqrrmrÂrvrir1rjrBrr¥rArÞrß)r…rBrÂrhrrÅÚsrcÚdestrrrrÕsFÿÿÿ      .z ZipFile.writec Cs"t|tƒr| d¡}t|tƒsxt|t t ¡¡dd…d�}|j|_|j|_ |j ddkrpd|_ |j dO_ q|d |_ n|}|j sŠt d ƒ‚|jr˜t d ƒ‚|dur¦||_|dur´||_ t|ƒ|_|j�H|j|d d ��}| |¡Wdƒn1sô0YWdƒn1�s0YdS)aWrite a file into the archive. The contents is 'data', which may be either a 'str' or a 'bytes' instance; if it is a 'str', it is encoded as UTF-8 first. 'zinfo_or_arcname' is either a ZipInfo instance or the name of the file in the archive.r§Nr")rBrgrÇrziýAr)rÁrèz?Can't write to ZIP archive while an open writing handle exists.rm)r,)r´rzr©r r¹rºrÿrhrrirBrpr<r�rr0rtrrAr)r…Zzinfo_or_arcnamerXrhrrÅrêrrrÚwritestrs:   ÿÿÿ zZipFile.writestrcCs | ¡dS)z2Call the "close()" method in case the user forgot.Nr„r«rrrÚ__del__/szZipFile.__del__c Cs¦|jdurdS|jrtdƒ‚zl|jdvrp|jrp|j�,|jrJ|j |j¡|  ¡Wdƒn1sf0YW|j}d|_|  |¡n|j}d|_|  |¡0dS)zOClose the file, and for mode 'w', 'x' and 'a' write the ending records.NzvCan't close the ZIP file while there is an open writing handle on it. Close the writing handle before closing the zip.rã) r<rr�r,rvrr0rErhÚ_write_end_recordr�rrrrr3s  ( þz ZipFile.closecCs|jD�]Ô}|j}|ddd>|dd>B|dB}|dd>|d d>B|ddB}g}|jtksr|jtkr”| |j¡| |j¡d }d }n |j}|j}|jtkr¼| |j¡d }n|j}|j} d} |�rt| d ƒ} t j d d t |ƒddt |ƒg|¢RŽ| } t } |j tk�r&tt| ƒ} n|j tk�rrArºrÆrÈrÊrÔrÄrÂrrërìrrír�rrrrr ·sPÿÿ ZQ      f )  *ÿ 2ÿ )^r c@s4eZdZdZdeddfdd„Zd d d „Zd d „ZdS)r zDClass to create ZIP archives with Python library files and packages.rlTrÇcCstj|||||d�||_dS)N)r,rÿr‚)r r†Ú _optimize)r…rr,rÿr‚Úoptimizerrrr†±s ÿzPyZipFile.__init__r‰NcCs¼t |¡}|rD||ƒsD|jr@tj |¡r,dnd}td||fƒdStj |¡\}}tj |¡�rhtj |d¡}tj |¡�r¸|r�d||f}n|}|jr¨td|d|ƒ|  |d d …|¡\}} |jrÐtd | ƒ|  || ¡t t  |¡ƒ} |   d¡| D]¼} tj || ¡} tj | ¡\} }tj | ¡�rRtj tj | d¡¡�r´|j| ||d �qø|d krø|�r~|| ƒ�s~|jrøtd| ƒqø|  | d d …|¡\}} |j�r¨td | ƒ|  || ¡qøn®|j�rÊtd|ƒt t  |¡ƒD]Œ} tj || ¡} tj | ¡\} }|d k�rØ|�r,|| ƒ�s,|j�rØtd| ƒ�qØ|  | d d …|¡\}} |j�rVtd | ƒ|  || ¡�qØnP|d d…d k�r‚tdƒ‚|  |d d …|¡\}} |j�r¬td| ƒ|  || ¡dS)a¦Add all files from "pathname" to the ZIP archive. If pathname is a package directory, search the directory and all package subdirectories recursively for all *.py and enter the modules into the archive. If pathname is a plain directory, listdir *.py and enter all modules. Else, pathname must be a Python *.py file and the module will be put into the archive. Added modules are always module.pyc. This method will compile the module.py into module.pyc if necessary. If filterfunc(pathname) is given, it is called with every argument. When it is False, the file or directory is skipped. r¼rz%s %r skipped by filterfuncNz __init__.pyú%s/%szAdding package inÚasréýÿÿÿZAdding)Ú filterfuncú.pyzfile %r skipped by filterfunczAdding files from directoryz.Files added with writepy() must end with ".py"z Adding file)r~r¶rwr¼r’rŽrÑr2ÚisfileÚ _get_codenamerr›ÚlistdirÚremoveÚsplitextÚwritepyrü)r…ÚpathnameÚbasenameröZlabelÚdirr-ZinitnamerÀrÂÚdirlistrBr¼ÚrootÚextrrrrý·s€     ÿ ÿ    ÿ ÿ zPyZipFile.writepyc sd‡fdd„ }|d}|d}tjj|dd�}tjj|dd�}tjj|d d�}ˆjdk�r\tj |¡rˆt |¡jt |¡jkrˆ|} } nÒtj |¡r¶t |¡jt |¡jkr¶|} |} n¤tj |¡rät |¡jt |¡jkrä|} |} nvtj |¡�rt |¡jt |¡jk�r|} |} nD||ƒ�rRt j j d k�r4|} nt j j dk�rH|} n|} |} n|} } n’ˆjd k�rr|} |} n<|} ˆjdk�rˆ|} n&ˆjd k�rš|} nd   ˆj¡} t | ƒ‚tj | ¡�rÖt | ¡jt |¡jk�sî||ˆjd ��sî|} } tj | ¡d} |�rd || f} | | fS)aReturn (filename, archivename) for the path. Given a module name path, return the correct file path and archive name, compiling if necessary. For example, given /python/lib/string, return (/python/lib/string.pyc, string). rÇc sdddl}ˆjrtd|ƒz|j|d|d�Wn2|jy^}zt|jƒWYd}~dSd}~00dS)NrZ CompilingT)ÚdoraiseròF)Ú py_compilerwrŽÚcompileÚPyCompileErrorÚmsg)rròrÚerrr«rrÚ_compiles  z)PyZipFile._get_codename.._compiler÷z.pycr‰)Ú optimizationrrrz"invalid value for 'optimize': {!r})ròró)rÇ)Ú importlibÚutilÚcache_from_sourcerñr~r¼rør�r»r‚ržròÚformatr�rÑ) r…rþrÿr Zfile_pyZfile_pycZ pycache_opt0Z pycache_opt1Z pycache_opt2rÂrÀrZ archivenamerr«rrù sj   ÿ  ÿ ÿÿ      ÿ zPyZipFile._get_codename)r‰N)rrrrrr†rýrùrrrrr ®s ÿ  Rr cCst t|ƒdd¡S)a2 Given a path with elements separated by posixpath.sep, generate all parents of that path. >>> list(_parents('b/d')) ['b'] >>> list(_parents('/b/d/')) ['/b'] >>> list(_parents('b/d/f/')) ['b/d', 'b'] >>> list(_parents('b')) [] >>> list(_parents('')) [] rN)Ú itertoolsÚisliceÚ _ancestry)r¼rrrÚ_parents\srccs2| tj¡}| tj¡r.|Vt |¡\}}q dS)aÔ Given a path with elements separated by posixpath.sep, generate all elements of that path. >>> list(_ancestry('b/d')) ['b/d', 'b'] >>> list(_ancestry('/b/d/')) ['/b/d', '/b'] >>> list(_ancestry('b/d/f/')) ['b/d/f', 'b/d', 'b'] >>> list(_ancestry('b')) ['b'] >>> list(_ancestry('')) [] Multiple separators are treated like a single. >>> list(_ancestry('//b//d///f//')) ['//b//d///f', '//b//d', '//b'] N)rËÚ posixpathrrÑ)r¼Útailrrrros  rcCst t|ƒj|¡S)zZ Return items in minuend not in subtrahend, retaining order with O(1) lookup. )rÚ filterfalseÚsetÚ __contains__)ZminuendZ subtrahendrrrÚ _differenceŽsrcsHeZdZdZedd„ƒZ‡fdd„Zdd„Zdd „Ze d d „ƒZ ‡Z S) Ú CompleteDirszk A ZipFile subclass that ensures that implied directories are always included in the namelist. cCs.tj tt|ƒ¡}dd„|Dƒ}tt||ƒƒS)Ncss|]}|tjVqdSrâ)rr)r¡rßrrrrÍŸr-z-CompleteDirs._implied_dirs..)rÚchainÚ from_iterablerÝrÚ_deduper)ÚnamesÚparentsZas_dirsrrrÚ _implied_dirsœszCompleteDirs._implied_dirscs tt|ƒ ¡}|t| |¡ƒSrâ)rTrr¤rar )r…rrUrrr¤¢szCompleteDirs.namelistcCs t| ¡ƒSrâ)rr¤r«rrrÚ _name_set¦szCompleteDirs._name_setcCs,| ¡}|d}||vo||v}|r(|S|S)zx If the name represents a directory, return that name as a directory (with the trailing slash). rz)r!)r…r-rrÚZ dir_matchrrrÚ resolve_dir©szCompleteDirs.resolve_dircCsNt|tƒr|St|tƒs ||ƒSd|jvr.t}| |¡}t|ƒ t|ƒ¡|S)zl Given a source (filename or zipfile), return an appropriate CompleteDirs subclass. rl)r´rr r,Ú__new__ÚvarsÚupdate)rÁráÚresrrrÚmake³s    zCompleteDirs.make) rrrrÚ staticmethodr r¤r!r"rÊr'rZrrrUrr–s   rcs,eZdZdZ‡fdd„Z‡fdd„Z‡ZS)Ú FastLookupzV ZipFile subclass to ensure implicit dirs exist and are resolved rapidly. csFt t¡�|jWdƒS1s&0Ytt|ƒ ¡|_|jSrâ)Ú contextlibÚsuppressr5Z_FastLookup__namesrTr)r¤r«rUrrr¤Ís $zFastLookup.namelistcsFt t¡�|jWdƒS1s&0Ytt|ƒ ¡|_|jSrâ)r*r+r5Z_FastLookup__lookuprTr)r!r«rUrrr!Ós $zFastLookup._name_set)rrrrr¤r!rZrrrUrr)Ès r)c@sœeZdZdZdZd$dd„Zd%dd„Zed d „ƒZd d „Z d d„Z dd„Z dd„Z dd„Z dd„Zdd„Zdd„Zdd„Zdd„Zdd „ZeZed!d"„ƒZd#S)&ru’ A pathlib-compatible interface for zip files. Consider a zip file with this structure:: . ├── a.txt └── b ├── c.txt └── d └── e.txt >>> data = io.BytesIO() >>> zf = ZipFile(data, 'w') >>> zf.writestr('a.txt', 'content of a') >>> zf.writestr('b/c.txt', 'content of c') >>> zf.writestr('b/d/e.txt', 'content of e') >>> zf.filename = 'abcde.zip' Path accepts the zipfile object itself or a filename >>> root = Path(zf) From there, several path operations are available. Directory iteration (including the zip file itself): >>> a, b = root.iterdir() >>> a Path('abcde.zip', 'a.txt') >>> b Path('abcde.zip', 'b/') name property: >>> b.name 'b' join with divide operator: >>> c = b / 'c.txt' >>> c Path('abcde.zip', 'b/c.txt') >>> c.name 'c.txt' Read text: >>> c.read_text() 'content of c' existence: >>> c.exists() True >>> (b / 'missing.txt').exists() False Coercion to string: >>> str(c) 'abcde.zip/b/c.txt' z>{self.__class__.__name__}({self.root.filename!r}, {self.at!r})r‰cCst |¡|_||_dSrâ)r)r'rÚat)r…rr,rrrr† s z Path.__init__rlcOs\| dd¡}|d}|jj|j||d�}d|vrD|s8|r@tdƒ‚|Stj|g|¢Ri|¤ŽS)zª Open this entry as text or binary following the semantics of ``pathlib.Path.open()`` by passing arguments through to io.TextIOWrapper(). rÞNrr×Úbz*encoding args invalid for binary operation)ÚpoprrAr,r�r?Ú TextIOWrapper)r…r,ÚargsÚkwargsrÞZzip_modeÚstreamrrrrA! s z Path.opencCst |j d¡¡S©Nrz)rrÿr,rËr«rrrr-0 sz Path.namecOsD|jdg|¢Ri|¤Ž�}| ¡WdƒS1s60YdS)Nrlrµ)r…r0r1ÚstrmrrrÚ read_text4 szPath.read_textcCs6| d¡�}| ¡WdƒS1s(0YdS)Nr?rµ)r…r4rrrÚ read_bytes8 s zPath.read_bytescCst |j d¡¡|j d¡kSr3)rrÚr,rË)r…r¼rrrÚ _is_child< szPath._is_childcCs t|j|ƒSrâ)rr)r…r,rrrÚ_next? sz Path._nextcCs|j p|j d¡Sr3)r,Úendswithr«rrrr�B sz Path.is_dircCs | ¡ Srâ)r�r«rrrÚis_fileE sz Path.is_filecCs|j|j ¡vSrâ)r,rr!r«rrrrÛH sz Path.existscCs.| ¡stdƒ‚t|j|j ¡ƒ}t|j|ƒS)NzCan't listdir a file)r�r�rÝr8rr¤Úfilterr7)r…ZsubsrrrÚiterdirK sz Path.iterdircCst |jj|j¡Srâ)rr2rrBr,r«rrrÚ__str__Q sz Path.__str__cCs|jj|d�S)Nr«)Ú _Path__reprrr«rrrr“T sz Path.__repr__cCs t |j|¡}| |j |¡¡Srâ)rr2r,r8rr")r…ÚaddÚnextrrrÚjoinpathW sz Path.joinpathcCs(t |j d¡¡}|r|d7}| |¡Sr3)rrÚr,rËr8)r…Z parent_atrrrÚparent] sz Path.parentN)r‰)rl)rrrrr>r†rArkr-r5r6r7r8r�r:rÛr<r=r“rAÚ __truediv__rBrrrrrÚs(@   rc s ddl}d}|j|d�}|jdd�}|jdddd d �|jd d d ddd�|jdddddd�|jddddd �| |¡}|jdurÚ|j}t|dƒ�}| ¡}Wdƒn1s²0Y|rÎtd  |¡ƒtdƒ�nB|j du�r"|j }t|dƒ�}|  ¡Wdƒn1�s0Ynú|j du�rp|j \}}t|dƒ�}|  |¡Wdƒn1�sd0Yn¬|jdu�r|j d¡} |j} ‡fdd„‰t| dƒ�f}| D]P} tj | ¡} | �sÔtj tj | ¡¡} | dtjtjfv�rìd} ˆ|| | ƒ�qªWdƒn1�s0YdS) Nrz3A simple command-line interface for zipfile module.)Ú descriptionT)Úrequiredz-lz--listú zShow listing of a zipfile)ÚmetavarÚhelpz-ez --extractr)rFz zExtract zipfile into target dir)ÚnargsrGrHz-cz--createú+)zzzCreate zipfile from sourcesz-tz--testzTest if a zipfile is validrlz.The following enclosed file is corrupted: {!r}z Done testingcsptj |¡r| ||t¡nPtj |¡rl|r8| ||¡tt |¡ƒD]$}ˆ|tj ||¡tj ||¡ƒqFdSrâ) r~r¼rørrr’r›rúr2)rcr¼ÚzippathZnm©ÚaddToZiprrrM� s   ÿzmain..addToZiprmr‰)ÚargparseÚArgumentParserÚadd_mutually_exclusive_groupÚ add_argumentÚ parse_argsÚtestr r©rŽrrar§rÆrÈZcreater.r~r¼rÿrÚrØrÙ) r0rNrDÚparserÚgrouprércZbadfilerØZzip_nameÚfilesr¼rKrrLrÚmaine s\   ÿ þ þ ÿ   &   *   ,    rWÚ__main__)N)N)ŽrZbinasciiÚimportlib.utilr r?rr~rrÞr�rFr‚r~r¹r*rûrÑÚ ImportErrorrýrçÚ__all__Ú Exceptionrr rrr•rær²rrrrr„r˜r™ršršr`r_r—r^rMrNrOrPrQrRrSrdr�rTr’r”r‘r“Z_CD_CREATE_VERSIONZ_CD_CREATE_SYSTEMZ_CD_EXTRACT_VERSIONZ_CD_EXTRACT_SYSTEMZ _CD_FLAG_BITSZ_CD_COMPRESS_TYPEZ_CD_TIMEZ_CD_DATEZ_CD_CRCZ_CD_COMPRESSED_SIZEZ_CD_UNCOMPRESSED_SIZEr•r—r˜Z_CD_DISK_NUMBER_STARTZ_CD_INTERNAL_FILE_ATTRIBUTESZ_CD_EXTERNAL_FILE_ATTRIBUTESr™rœr�r»r¼Z_FH_EXTRACT_VERSIONZ_FH_EXTRACT_SYSTEMr¿Z_FH_COMPRESSION_METHODZ_FH_LAST_MOD_TIMEZ_FH_LAST_MOD_DATEZ_FH_CRCZ_FH_COMPRESSED_SIZEZ_FH_UNCOMPRESSED_SIZEr½r¾rGrHrDrLrKrIZ_CD64_SIGNATUREZ_CD64_DIRECTORY_RECSIZEZ_CD64_CREATE_VERSIONZ_CD64_EXTRACT_VERSIONZ_CD64_DISK_NUMBERZ_CD64_DISK_NUMBER_STARTZ_CD64_NUMBER_ENTRIES_THIS_DISKZ_CD64_NUMBER_ENTRIES_TOTALZ_CD64_DIRECTORY_SIZEZ_CD64_OFFSET_START_CENTDIRrgÚStructr.r8r=r r[r9Úobjectr rÜrÍràrárïr‹rrr r rr@r r[r r rrÚdictÚfromkeysrrrr)rrWrrrrrÚsR                <<^&ï (KU|/2 =