/opt/alt/python36/lib64/python3.6/__pycache__
NameSizeModeActions
abc.cpython-36.opt-1.pyc74870644editdlrm
abc.cpython-36.opt-2.pyc41230644editdlrm
abc.cpython-36.pyc75300644editdlrm
aifc.cpython-36.opt-1.pyc259580644editdlrm
aifc.cpython-36.opt-2.pyc207530644editdlrm
aifc.cpython-36.pyc259580644editdlrm
antigravity.cpython-36.opt-1.pyc7940644editdlrm
antigravity.cpython-36.opt-2.pyc6500644editdlrm
antigravity.cpython-36.pyc7940644editdlrm
argparse.cpython-36.opt-1.pyc600710644editdlrm
argparse.cpython-36.opt-2.pyc508300644editdlrm
argparse.cpython-36.pyc602050644editdlrm
ast.cpython-36.opt-1.pyc117190644editdlrm
ast.cpython-36.opt-2.pyc61340644editdlrm
ast.cpython-36.pyc117190644editdlrm
asynchat.cpython-36.opt-1.pyc68300644editdlrm
asynchat.cpython-36.opt-2.pyc54540644editdlrm
asynchat.cpython-36.pyc68300644editdlrm
asyncore.cpython-36.opt-1.pyc158530644editdlrm
asyncore.cpython-36.opt-2.pyc146490644editdlrm
asyncore.cpython-36.pyc158530644editdlrm
base64.cpython-36.opt-1.pyc169160644editdlrm
base64.cpython-36.opt-2.pyc113180644editdlrm
base64.cpython-36.pyc170740644editdlrm
bdb.cpython-36.opt-1.pyc170480644editdlrm
bdb.cpython-36.opt-2.pyc153220644editdlrm
bdb.cpython-36.pyc170480644editdlrm
binhex.cpython-36.opt-1.pyc121010644editdlrm
binhex.cpython-36.opt-2.pyc115680644editdlrm
binhex.cpython-36.pyc121010644editdlrm
bisect.cpython-36.opt-1.pyc26910644editdlrm
bisect.cpython-36.opt-2.pyc13950644editdlrm
bisect.cpython-36.pyc26910644editdlrm
bz2.cpython-36.opt-1.pyc112970644editdlrm
bz2.cpython-36.opt-2.pyc62400644editdlrm
bz2.cpython-36.pyc112970644editdlrm
calendar.cpython-36.opt-1.pyc258970644editdlrm
calendar.cpython-36.opt-2.pyc213700644editdlrm
calendar.cpython-36.pyc258970644editdlrm
cgi.cpython-36.opt-1.pyc286210644editdlrm
cgi.cpython-36.opt-2.pyc194820644editdlrm
cgi.cpython-36.pyc286210644editdlrm
cgitb.cpython-36.opt-1.pyc100950644editdlrm
cgitb.cpython-36.opt-2.pyc84960644editdlrm
cgitb.cpython-36.pyc100950644editdlrm
chunk.cpython-36.opt-1.pyc49150644editdlrm
chunk.cpython-36.opt-2.pyc27690644editdlrm
chunk.cpython-36.pyc49150644editdlrm
cmd.cpython-36.opt-1.pyc125900644editdlrm
cmd.cpython-36.opt-2.pyc71510644editdlrm
cmd.cpython-36.pyc125900644editdlrm
code.cpython-36.opt-1.pyc98510644editdlrm
code.cpython-36.opt-2.pyc45750644editdlrm
code.cpython-36.pyc98510644editdlrm
codecs.cpython-36.opt-1.pyc339150644editdlrm
codecs.cpython-36.opt-2.pyc180670644editdlrm
codecs.cpython-36.pyc339150644editdlrm
codeop.cpython-36.opt-1.pyc62850644editdlrm
codeop.cpython-36.opt-2.pyc22380644editdlrm
codeop.cpython-36.pyc62850644editdlrm
colorsys.cpython-36.opt-1.pyc33260644editdlrm
colorsys.cpython-36.opt-2.pyc27200644editdlrm
colorsys.cpython-36.pyc33260644editdlrm
compileall.cpython-36.opt-1.pyc82930644editdlrm
compileall.cpython-36.opt-2.pyc61550644editdlrm
compileall.cpython-36.pyc82930644editdlrm
configparser.cpython-36.opt-1.pyc452590644editdlrm
configparser.cpython-36.opt-2.pyc305710644editdlrm
configparser.cpython-36.pyc452590644editdlrm
contextlib.cpython-36.opt-1.pyc111730644editdlrm
contextlib.cpython-36.opt-2.pyc78270644editdlrm
contextlib.cpython-36.pyc111730644editdlrm
copy.cpython-36.opt-1.pyc70940644editdlrm
copy.cpython-36.opt-2.pyc47780644editdlrm
copy.cpython-36.pyc70940644editdlrm
copyreg.cpython-36.opt-1.pyc42240644editdlrm
copyreg.cpython-36.opt-2.pyc34200644editdlrm
copyreg.cpython-36.pyc42590644editdlrm
cProfile.cpython-36.opt-1.pyc43090644editdlrm
cProfile.cpython-36.opt-2.pyc38480644editdlrm
cProfile.cpython-36.pyc43090644editdlrm
crypt.cpython-36.opt-1.pyc22570644editdlrm
crypt.cpython-36.opt-2.pyc15930644editdlrm
crypt.cpython-36.pyc22570644editdlrm
csv.cpython-36.opt-1.pyc118700644editdlrm
csv.cpython-36.opt-2.pyc98310644editdlrm
csv.cpython-36.pyc118700644editdlrm
datetime.cpython-36.opt-1.pyc530730644editdlrm
datetime.cpython-36.opt-2.pyc442230644editdlrm
datetime.cpython-36.pyc545260644editdlrm
decimal.cpython-36.opt-1.pyc3660644editdlrm
decimal.cpython-36.opt-2.pyc3660644editdlrm
decimal.cpython-36.pyc3660644editdlrm
difflib.cpython-36.opt-1.pyc596190644editdlrm
difflib.cpython-36.opt-2.pyc250490644editdlrm
difflib.cpython-36.pyc596570644editdlrm
dis.cpython-36.opt-1.pyc141960644editdlrm
dis.cpython-36.opt-2.pyc106640644editdlrm
dis.cpython-36.pyc141960644editdlrm
doctest.cpython-36.opt-1.pyc753590644editdlrm
doctest.cpython-36.opt-2.pyc400320644editdlrm
doctest.cpython-36.pyc756040644editdlrm
dummy_threading.cpython-36.opt-1.pyc11170644editdlrm
dummy_threading.cpython-36.opt-2.pyc7440644editdlrm
dummy_threading.cpython-36.pyc11170644editdlrm
enum.cpython-36.opt-1.pyc234680644editdlrm
enum.cpython-36.opt-2.pyc191750644editdlrm
enum.cpython-36.pyc234680644editdlrm
filecmp.cpython-36.opt-1.pyc83200644editdlrm
filecmp.cpython-36.opt-2.pyc59030644editdlrm
filecmp.cpython-36.pyc83200644editdlrm
fileinput.cpython-36.opt-1.pyc131670644editdlrm
fileinput.cpython-36.opt-2.pyc76280644editdlrm
fileinput.cpython-36.pyc131670644editdlrm
fnmatch.cpython-36.opt-1.pyc28890644editdlrm
fnmatch.cpython-36.opt-2.pyc17000644editdlrm
fnmatch.cpython-36.pyc28890644editdlrm
formatter.cpython-36.opt-1.pyc175940644editdlrm
formatter.cpython-36.opt-2.pyc151540644editdlrm
formatter.cpython-36.pyc175940644editdlrm
fractions.cpython-36.opt-1.pyc184410644editdlrm
fractions.cpython-36.opt-2.pyc111550644editdlrm
fractions.cpython-36.pyc184410644editdlrm
ftplib.cpython-36.opt-1.pyc283720644editdlrm
ftplib.cpython-36.opt-2.pyc185680644editdlrm
ftplib.cpython-36.pyc283720644editdlrm
functools.cpython-36.opt-1.pyc240770644editdlrm
functools.cpython-36.opt-2.pyc181060644editdlrm
functools.cpython-36.pyc240770644editdlrm
genericpath.cpython-36.opt-1.pyc37410644editdlrm
genericpath.cpython-36.opt-2.pyc27480644editdlrm
genericpath.cpython-36.pyc37410644editdlrm
getopt.cpython-36.opt-1.pyc61980644editdlrm
getopt.cpython-36.opt-2.pyc36440644editdlrm
getopt.cpython-36.pyc62320644editdlrm
getpass.cpython-36.opt-1.pyc41920644editdlrm
getpass.cpython-36.opt-2.pyc30070644editdlrm
getpass.cpython-36.pyc41920644editdlrm
gettext.cpython-36.opt-1.pyc142120644editdlrm
gettext.cpython-36.opt-2.pyc135210644editdlrm
gettext.cpython-36.pyc142120644editdlrm
glob.cpython-36.opt-1.pyc42050644editdlrm
glob.cpython-36.opt-2.pyc33450644editdlrm
glob.cpython-36.pyc42740644editdlrm
gzip.cpython-36.opt-1.pyc162410644editdlrm
gzip.cpython-36.opt-2.pyc124350644editdlrm
gzip.cpython-36.pyc162410644editdlrm
hashlib.cpython-36.opt-1.pyc67070644editdlrm
hashlib.cpython-36.opt-2.pyc61350644editdlrm
hashlib.cpython-36.pyc67070644editdlrm
heapq.cpython-36.opt-1.pyc143070644editdlrm
heapq.cpython-36.opt-2.pyc113170644editdlrm
heapq.cpython-36.pyc143070644editdlrm
hmac.cpython-36.opt-1.pyc48510644editdlrm
hmac.cpython-36.opt-2.pyc30400644editdlrm
hmac.cpython-36.pyc48510644editdlrm
imaplib.cpython-36.opt-1.pyc399340644editdlrm
imaplib.cpython-36.opt-2.pyc278460644editdlrm
imaplib.cpython-36.pyc421530644editdlrm
imghdr.cpython-36.opt-1.pyc41650644editdlrm
imghdr.cpython-36.opt-2.pyc38500644editdlrm
imghdr.cpython-36.pyc41650644editdlrm
imp.cpython-36.opt-1.pyc97110644editdlrm
imp.cpython-36.opt-2.pyc73080644editdlrm
imp.cpython-36.pyc97110644editdlrm
inspect.cpython-36.opt-1.pyc794540644editdlrm
inspect.cpython-36.opt-2.pyc540390644editdlrm
inspect.cpython-36.pyc797540644editdlrm
io.cpython-36.opt-1.pyc34020644editdlrm
io.cpython-36.opt-2.pyc19110644editdlrm
io.cpython-36.pyc34020644editdlrm
ipaddress.cpython-36.opt-1.pyc624010644editdlrm
ipaddress.cpython-36.opt-2.pyc368150644editdlrm
ipaddress.cpython-36.pyc624010644editdlrm
keyword.cpython-36.opt-1.pyc17800644editdlrm
keyword.cpython-36.opt-2.pyc15120644editdlrm
keyword.cpython-36.pyc17800644editdlrm
linecache.cpython-36.opt-1.pyc37930644editdlrm
linecache.cpython-36.opt-2.pyc26880644editdlrm
linecache.cpython-36.pyc37930644editdlrm
locale.cpython-36.opt-1.pyc340600644editdlrm
locale.cpython-36.opt-2.pyc294350644editdlrm
locale.cpython-36.pyc340600644editdlrm
lzma.cpython-36.opt-1.pyc120070644editdlrm
lzma.cpython-36.opt-2.pyc58160644editdlrm
lzma.cpython-36.pyc120070644editdlrm
macpath.cpython-36.opt-1.pyc56560644editdlrm
macpath.cpython-36.opt-2.pyc43900644editdlrm
macpath.cpython-36.pyc56560644editdlrm
macurl2path.cpython-36.opt-1.pyc18820644editdlrm
macurl2path.cpython-36.opt-2.pyc15020644editdlrm
macurl2path.cpython-36.pyc18820644editdlrm
mailbox.cpython-36.opt-1.pyc636850644editdlrm
mailbox.cpython-36.opt-2.pyc545380644editdlrm
mailbox.cpython-36.pyc637670644editdlrm
mailcap.cpython-36.opt-1.pyc64930644editdlrm
mailcap.cpython-36.opt-2.pyc49750644editdlrm
mailcap.cpython-36.pyc64930644editdlrm
mimetypes.cpython-36.opt-1.pyc155680644editdlrm
mimetypes.cpython-36.opt-2.pyc95700644editdlrm
mimetypes.cpython-36.pyc155680644editdlrm
modulefinder.cpython-36.opt-1.pyc153190644editdlrm
modulefinder.cpython-36.opt-2.pyc144780644editdlrm
modulefinder.cpython-36.pyc153810644editdlrm
netrc.cpython-36.opt-1.pyc38510644editdlrm
netrc.cpython-36.opt-2.pyc36130644editdlrm
netrc.cpython-36.pyc38510644editdlrm
nntplib.cpython-36.opt-1.pyc337950644editdlrm
nntplib.cpython-36.opt-2.pyc212540644editdlrm
nntplib.cpython-36.pyc337950644editdlrm
ntpath.cpython-36.opt-1.pyc137650644editdlrm
ntpath.cpython-36.opt-2.pyc112940644editdlrm
ntpath.cpython-36.pyc137650644editdlrm
nturl2path.cpython-36.opt-1.pyc15140644editdlrm
nturl2path.cpython-36.opt-2.pyc11960644editdlrm
nturl2path.cpython-36.pyc15140644editdlrm
numbers.cpython-36.opt-1.pyc121570644editdlrm
numbers.cpython-36.opt-2.pyc81960644editdlrm
numbers.cpython-36.pyc121570644editdlrm
opcode.cpython-36.opt-1.pyc54280644editdlrm
opcode.cpython-36.opt-2.pyc52880644editdlrm
opcode.cpython-36.pyc54280644editdlrm
operator.cpython-36.opt-1.pyc139280644editdlrm
operator.cpython-36.opt-2.pyc114690644editdlrm
operator.cpython-36.pyc139280644editdlrm
optparse.cpython-36.opt-1.pyc480010644editdlrm
optparse.cpython-36.opt-2.pyc356460644editdlrm
optparse.cpython-36.pyc480690644editdlrm
os.cpython-36.opt-1.pyc296430644editdlrm
os.cpython-36.opt-2.pyc177940644editdlrm
os.cpython-36.pyc296430644editdlrm
pathlib.cpython-36.opt-1.pyc420220644editdlrm
pathlib.cpython-36.opt-2.pyc343800644editdlrm
pathlib.cpython-36.pyc420220644editdlrm
pdb.cpython-36.opt-1.pyc460520644editdlrm
pdb.cpython-36.opt-2.pyc319850644editdlrm
pdb.cpython-36.pyc461090644editdlrm
pickle.cpython-36.opt-1.pyc425890644editdlrm
pickle.cpython-36.opt-2.pyc378010644editdlrm
pickle.cpython-36.pyc427060644editdlrm
pickletools.cpython-36.opt-1.pyc651840644editdlrm
pickletools.cpython-36.opt-2.pyc564430644editdlrm
pickletools.cpython-36.pyc660350644editdlrm
pipes.cpython-36.opt-1.pyc78230644editdlrm
pipes.cpython-36.opt-2.pyc49500644editdlrm
pipes.cpython-36.pyc78230644editdlrm
pkgutil.cpython-36.opt-1.pyc162760644editdlrm
pkgutil.cpython-36.opt-2.pyc110160644editdlrm
pkgutil.cpython-36.pyc162760644editdlrm
platform.cpython-36.opt-1.pyc286460644editdlrm
platform.cpython-36.opt-2.pyc193980644editdlrm
platform.cpython-36.pyc286460644editdlrm
plistlib.cpython-36.opt-1.pyc280030644editdlrm
plistlib.cpython-36.opt-2.pyc247490644editdlrm
plistlib.cpython-36.pyc280700644editdlrm
poplib.cpython-36.opt-1.pyc133440644editdlrm
poplib.cpython-36.opt-2.pyc84130644editdlrm
poplib.cpython-36.pyc133440644editdlrm
posixpath.cpython-36.opt-1.pyc104380644editdlrm
posixpath.cpython-36.opt-2.pyc87170644editdlrm
posixpath.cpython-36.pyc104380644editdlrm
pprint.cpython-36.opt-1.pyc157840644editdlrm
pprint.cpython-36.opt-2.pyc137200644editdlrm
pprint.cpython-36.pyc158390644editdlrm
profile.cpython-36.opt-1.pyc137100644editdlrm
profile.cpython-36.opt-2.pyc107280644editdlrm
profile.cpython-36.pyc139160644editdlrm
pstats.cpython-36.opt-1.pyc218720644editdlrm
pstats.cpython-36.opt-2.pyc194180644editdlrm
pstats.cpython-36.pyc218720644editdlrm
pty.cpython-36.opt-1.pyc38760644editdlrm
pty.cpython-36.opt-2.pyc30230644editdlrm
pty.cpython-36.pyc38760644editdlrm
pyclbr.cpython-36.opt-1.pyc83800644editdlrm
pyclbr.cpython-36.opt-2.pyc55840644editdlrm
pyclbr.cpython-36.pyc83800644editdlrm
pydoc.cpython-36.opt-1.pyc834580644editdlrm
pydoc.cpython-36.opt-2.pyc742570644editdlrm
pydoc.cpython-36.pyc835110644editdlrm
py_compile.cpython-36.opt-1.pyc65590644editdlrm
py_compile.cpython-36.opt-2.pyc29550644editdlrm
py_compile.cpython-36.pyc65590644editdlrm
queue.cpython-36.opt-1.pyc87700644editdlrm
queue.cpython-36.opt-2.pyc49800644editdlrm
queue.cpython-36.pyc87700644editdlrm
quopri.cpython-36.opt-1.pyc56130644editdlrm
quopri.cpython-36.opt-2.pyc45770644editdlrm
quopri.cpython-36.pyc57880644editdlrm
random.cpython-36.opt-1.pyc193450644editdlrm
random.cpython-36.opt-2.pyc128040644editdlrm
random.cpython-36.pyc193450644editdlrm
re.cpython-36.opt-1.pyc140730644editdlrm
re.cpython-36.opt-2.pyc57930644editdlrm
re.cpython-36.pyc140730644editdlrm
reprlib.cpython-36.opt-1.pyc54150644editdlrm
reprlib.cpython-36.opt-2.pyc52590644editdlrm
reprlib.cpython-36.pyc54150644editdlrm
rlcompleter.cpython-36.opt-1.pyc57950644editdlrm
rlcompleter.cpython-36.opt-2.pyc31320644editdlrm
rlcompleter.cpython-36.pyc57950644editdlrm
runpy.cpython-36.opt-1.pyc79970644editdlrm
runpy.cpython-36.opt-2.pyc64540644editdlrm
runpy.cpython-36.pyc79970644editdlrm
sched.cpython-36.opt-1.pyc65790644editdlrm
sched.cpython-36.opt-2.pyc35390644editdlrm
sched.cpython-36.pyc65790644editdlrm
secrets.cpython-36.opt-1.pyc21770644editdlrm
secrets.cpython-36.opt-2.pyc11190644editdlrm
secrets.cpython-36.pyc21770644editdlrm
selectors.cpython-36.opt-1.pyc177120644editdlrm
selectors.cpython-36.opt-2.pyc137360644editdlrm
selectors.cpython-36.pyc177120644editdlrm
shelve.cpython-36.opt-1.pyc94730644editdlrm
shelve.cpython-36.opt-2.pyc53200644editdlrm
shelve.cpython-36.pyc94730644editdlrm
shlex.cpython-36.opt-1.pyc69850644editdlrm
shlex.cpython-36.opt-2.pyc64730644editdlrm
shlex.cpython-36.pyc69850644editdlrm
shutil.cpython-36.opt-1.pyc307190644editdlrm
shutil.cpython-36.opt-2.pyc199460644editdlrm
shutil.cpython-36.pyc307190644editdlrm
signal.cpython-36.opt-1.pyc25300644editdlrm
signal.cpython-36.opt-2.pyc23020644editdlrm
signal.cpython-36.pyc25300644editdlrm
site.cpython-36.opt-1.pyc161550644editdlrm
site.cpython-36.opt-2.pyc106050644editdlrm
site.cpython-36.pyc161550644editdlrm
smtpd.cpython-36.opt-1.pyc266980644editdlrm
smtpd.cpython-36.opt-2.pyc240790644editdlrm
smtpd.cpython-36.pyc266980644editdlrm
smtplib.cpython-36.opt-1.pyc354310644editdlrm
smtplib.cpython-36.opt-2.pyc190190644editdlrm
smtplib.cpython-36.pyc354920644editdlrm
sndhdr.cpython-36.opt-1.pyc69280644editdlrm
sndhdr.cpython-36.opt-2.pyc56530644editdlrm
sndhdr.cpython-36.pyc69280644editdlrm
socket.cpython-36.opt-1.pyc219880644editdlrm
socket.cpython-36.opt-2.pyc145540644editdlrm
socket.cpython-36.pyc220280644editdlrm
socketserver.cpython-36.opt-1.pyc242650644editdlrm
socketserver.cpython-36.opt-2.pyc133400644editdlrm
socketserver.cpython-36.pyc242650644editdlrm
sre_compile.cpython-36.opt-1.pyc101530644editdlrm
sre_compile.cpython-36.opt-2.pyc97390644editdlrm
sre_compile.cpython-36.pyc102930644editdlrm
sre_constants.cpython-36.opt-1.pyc59870644editdlrm
sre_constants.cpython-36.opt-2.pyc55620644editdlrm
sre_constants.cpython-36.pyc59870644editdlrm
sre_parse.cpython-36.opt-1.pyc203260644editdlrm
sre_parse.cpython-36.opt-2.pyc202780644editdlrm
sre_parse.cpython-36.pyc203730644editdlrm
ssl.cpython-36.opt-1.pyc365170644editdlrm
ssl.cpython-36.opt-2.pyc269930644editdlrm
ssl.cpython-36.pyc365170644editdlrm
stat.cpython-36.opt-1.pyc38660644editdlrm
stat.cpython-36.opt-2.pyc31880644editdlrm
stat.cpython-36.pyc38660644editdlrm
statistics.cpython-36.opt-1.pyc179480644editdlrm
statistics.cpython-36.opt-2.pyc72610644editdlrm
statistics.cpython-36.pyc181890644editdlrm
string.cpython-36.opt-1.pyc79790644editdlrm
string.cpython-36.opt-2.pyc68730644editdlrm
string.cpython-36.pyc79790644editdlrm
stringprep.cpython-36.opt-1.pyc99870644editdlrm
stringprep.cpython-36.opt-2.pyc97670644editdlrm
stringprep.cpython-36.pyc100450644editdlrm
struct.cpython-36.opt-1.pyc3270644editdlrm
struct.cpython-36.opt-2.pyc3270644editdlrm
struct.cpython-36.pyc3270644editdlrm
subprocess.cpython-36.opt-1.pyc353990644editdlrm
subprocess.cpython-36.opt-2.pyc246850644editdlrm
subprocess.cpython-36.pyc355000644editdlrm
sunau.cpython-36.opt-1.pyc169530644editdlrm
sunau.cpython-36.opt-2.pyc123630644editdlrm
sunau.cpython-36.pyc169530644editdlrm
symbol.cpython-36.opt-1.pyc25320644editdlrm
symbol.cpython-36.opt-2.pyc24560644editdlrm
symbol.cpython-36.pyc25320644editdlrm
symtable.cpython-36.opt-1.pyc103360644editdlrm
symtable.cpython-36.opt-2.pyc96390644editdlrm
symtable.cpython-36.pyc104430644editdlrm
sysconfig.cpython-36.opt-1.pyc159420644editdlrm
sysconfig.cpython-36.opt-2.pyc133720644editdlrm
sysconfig.cpython-36.pyc159420644editdlrm
tabnanny.cpython-36.opt-1.pyc69900644editdlrm
tabnanny.cpython-36.opt-2.pyc60570644editdlrm
tabnanny.cpython-36.pyc69900644editdlrm
tarfile.cpython-36.opt-1.pyc627030644editdlrm
tarfile.cpython-36.opt-2.pyc489040644editdlrm
tarfile.cpython-36.pyc627030644editdlrm
telnetlib.cpython-36.opt-1.pyc181120644editdlrm
telnetlib.cpython-36.opt-2.pyc106020644editdlrm
telnetlib.cpython-36.pyc181120644editdlrm
tempfile.cpython-36.opt-1.pyc222420644editdlrm
tempfile.cpython-36.opt-2.pyc157700644editdlrm
tempfile.cpython-36.pyc222420644editdlrm
textwrap.cpython-36.opt-1.pyc136250644editdlrm
textwrap.cpython-36.opt-2.pyc63280644editdlrm
textwrap.cpython-36.pyc136990644editdlrm
this.cpython-36.opt-1.pyc12800644editdlrm
this.cpython-36.opt-2.pyc12800644editdlrm
this.cpython-36.pyc12800644editdlrm
threading.cpython-36.opt-1.pyc365960644editdlrm
threading.cpython-36.opt-2.pyc205550644editdlrm
threading.cpython-36.pyc372490644editdlrm
timeit.cpython-36.opt-1.pyc116180644editdlrm
timeit.cpython-36.opt-2.pyc56370644editdlrm
timeit.cpython-36.pyc116180644editdlrm
token.cpython-36.opt-1.pyc33350644editdlrm
token.cpython-36.opt-2.pyc32850644editdlrm
token.cpython-36.pyc33350644editdlrm
tokenize.cpython-36.opt-1.pyc186160644editdlrm
tokenize.cpython-36.opt-2.pyc150160644editdlrm
tokenize.cpython-36.pyc186620644editdlrm
trace.cpython-36.opt-1.pyc195100644editdlrm
trace.cpython-36.opt-2.pyc165070644editdlrm
trace.cpython-36.pyc195100644editdlrm
traceback.cpython-36.opt-1.pyc196610644editdlrm
traceback.cpython-36.opt-2.pyc107600644editdlrm
traceback.cpython-36.pyc196610644editdlrm
tracemalloc.cpython-36.opt-1.pyc172440644editdlrm
tracemalloc.cpython-36.opt-2.pyc158280644editdlrm
tracemalloc.cpython-36.pyc172440644editdlrm
tty.cpython-36.opt-1.pyc10870644editdlrm
tty.cpython-36.opt-2.pyc9860644editdlrm
tty.cpython-36.pyc10870644editdlrm
types.cpython-36.opt-1.pyc82160644editdlrm
types.cpython-36.opt-2.pyc70490644editdlrm
types.cpython-36.pyc82160644editdlrm
typing.cpython-36.opt-1.pyc729130644editdlrm
typing.cpython-36.opt-2.pyc560620644editdlrm
typing.cpython-36.pyc733210644editdlrm
uu.cpython-36.opt-1.pyc35660644editdlrm
uu.cpython-36.opt-2.pyc33480644editdlrm
uu.cpython-36.pyc35660644editdlrm
uuid.cpython-36.opt-1.pyc207970644editdlrm
uuid.cpython-36.opt-2.pyc141290644editdlrm
uuid.cpython-36.pyc209330644editdlrm
warnings.cpython-36.opt-1.pyc126810644editdlrm
warnings.cpython-36.opt-2.pyc103010644editdlrm
warnings.cpython-36.pyc132730644editdlrm
wave.cpython-36.opt-1.pyc178480644editdlrm
wave.cpython-36.opt-2.pyc118570644editdlrm
wave.cpython-36.pyc179000644editdlrm
weakref.cpython-36.opt-1.pyc191280644editdlrm
weakref.cpython-36.opt-2.pyc158280644editdlrm
weakref.cpython-36.pyc191580644editdlrm
webbrowser.cpython-36.opt-1.pyc157790644editdlrm
webbrowser.cpython-36.opt-2.pyc139100644editdlrm
webbrowser.cpython-36.pyc158120644editdlrm
xdrlib.cpython-36.opt-1.pyc83170644editdlrm
xdrlib.cpython-36.opt-2.pyc78320644editdlrm
xdrlib.cpython-36.pyc83170644editdlrm
zipapp.cpython-36.opt-1.pyc55490644editdlrm
zipapp.cpython-36.opt-2.pyc43730644editdlrm
zipapp.cpython-36.pyc55490644editdlrm
zipfile.cpython-36.opt-1.pyc486170644editdlrm
zipfile.cpython-36.opt-2.pyc421140644editdlrm
zipfile.cpython-36.pyc486850644editdlrm
_bootlocale.cpython-36.opt-1.pyc9670644editdlrm
_bootlocale.cpython-36.opt-2.pyc7420644editdlrm
_bootlocale.cpython-36.pyc9950644editdlrm
_collections_abc.cpython-36.opt-1.pyc288120644editdlrm
_collections_abc.cpython-36.opt-2.pyc236600644editdlrm
_collections_abc.cpython-36.pyc288120644editdlrm
_compat_pickle.cpython-36.opt-1.pyc65230644editdlrm
_compat_pickle.cpython-36.opt-2.pyc65230644editdlrm
_compat_pickle.cpython-36.pyc65810644editdlrm
_compression.cpython-36.opt-1.pyc41190644editdlrm
_compression.cpython-36.opt-2.pyc39030644editdlrm
_compression.cpython-36.pyc41190644editdlrm
_dummy_thread.cpython-36.opt-1.pyc48660644editdlrm
_dummy_thread.cpython-36.opt-2.pyc26580644editdlrm
_dummy_thread.cpython-36.pyc48660644editdlrm
_markupbase.cpython-36.opt-1.pyc78370644editdlrm
_markupbase.cpython-36.opt-2.pyc74570644editdlrm
_markupbase.cpython-36.pyc80060644editdlrm
_osx_support.cpython-36.opt-1.pyc97210644editdlrm
_osx_support.cpython-36.opt-2.pyc72720644editdlrm
_osx_support.cpython-36.pyc97210644editdlrm
_pydecimal.cpython-36.opt-1.pyc1634170644editdlrm
_pydecimal.cpython-36.opt-2.pyc820100644editdlrm
_pydecimal.cpython-36.pyc1634170644editdlrm
_pyio.cpython-36.opt-1.pyc713830644editdlrm
_pyio.cpython-36.opt-2.pyc489880644editdlrm
_pyio.cpython-36.pyc714010644editdlrm
_sitebuiltins.cpython-36.opt-1.pyc34500644editdlrm
_sitebuiltins.cpython-36.opt-2.pyc29260644editdlrm
_sitebuiltins.cpython-36.pyc34500644editdlrm
_strptime.cpython-36.opt-1.pyc159780644editdlrm
_strptime.cpython-36.opt-2.pyc122480644editdlrm
_strptime.cpython-36.pyc159780644editdlrm
_sysconfigdata_dm_linux_x86_64-linux-gnu.cpython-36.opt-1.pyc198750644editdlrm
_sysconfigdata_dm_linux_x86_64-linux-gnu.cpython-36.opt-2.pyc198750644editdlrm
_sysconfigdata_dm_linux_x86_64-linux-gnu.cpython-36.pyc198750644editdlrm
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-36.opt-1.pyc195440644editdlrm
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-36.opt-2.pyc195440644editdlrm
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-36.pyc195440644editdlrm
_threading_local.cpython-36.opt-1.pyc64400644editdlrm
_threading_local.cpython-36.opt-2.pyc31250644editdlrm
_threading_local.cpython-36.pyc64400644editdlrm
_weakrefset.cpython-36.opt-1.pyc78430644editdlrm
_weakrefset.cpython-36.opt-2.pyc78430644editdlrm
_weakrefset.cpython-36.pyc78430644editdlrm
__future__.cpython-36.opt-1.pyc41820644editdlrm
__future__.cpython-36.opt-2.pyc22060644editdlrm
__future__.cpython-36.pyc41820644editdlrm
__phello__.foo.cpython-36.opt-1.pyc1340644editdlrm
__phello__.foo.cpython-36.opt-2.pyc1340644editdlrm
__phello__.foo.cpython-36.pyc1340644editdlrm
Edit: /opt/alt/python36/lib64/python3.6/__pycache__/tarfile.cpython-36.pyc (62703B)
3 cfl'@szdZdZdZdZdZdZddlmZddl Z ddl Z ddl Z ddl Z ddl Z ddlZddlZddlZddlZy ddlZWnek rdZYnXy ddlZWnek rdZYnXeefZyeef7ZWnek rYnXd d d d d ddddddddddgZdZdZedZdZdZdZ dZ!dZ"dZ#dZ$d Z%d!Z&d"Z'd#Z(d$Z)d%Z*d&Z+d'Z,d(Z-d)Z.d*Z/d+Z0d,Z1dZ2d-Z3d.Z4e3Z5e#e$e%e&e)e*e+e'e(e,e-e.f Z6e#e$e+e.fZ7e,e-e.fZ8dkZ9d/d0d5d6hZ:e;e;e;ed8krd9Z?ne j@Z?d:d;ZAdd?ZCd@e5fdAdBZDdCdDZEdedfdEdFZFdGdHZGdIdJZHGdKd d eIZJGdLddeJZKGdMd d eJZLGdNddeJZMGdOddeJZNGdPddeJZOGdQdRdReOZPGdSdTdTeOZQGdUdVdVeOZRGdWdXdXeOZSGdYdZdZeOZTGd[d\d\ZUGd]d^d^ZVGd_d`d`eWZXGdadbdbeWZYGdcdddde jZZ[Gded d eWZ\Gdfd d eWZ]dgd Z^e]jZdhdiZ_e`djkrve_dS)lz,Read from and write to tar format archives. z0.9.0u"Lars Gustäbel (lars@gustaebel.de)z5$Date: 2011-02-25 17:42:01 +0200 (Fri, 25 Feb 2011) $z?$Id: tarfile.py 88586 2011-02-25 15:42:01Z marc-andre.lemburg $u4Gustavo Niemeyer, Niels Gustäbel, Richard Townsend.)openNTarFileTarInfo is_tarfileTarError ReadErrorCompressionError StreamError ExtractError HeaderErrorENCODING USTAR_FORMAT GNU_FORMAT PAX_FORMATDEFAULT_FORMATrisustar sustar00d01234567LKSxgXpathlinkpathsizemtimeuidgidunamegname)ZatimeZctimer(r)r*r'ntzutf-8cCs(|j||}|d||t|tS)z8Convert a string to a null-terminated bytes object. N)encodelenNUL)slengthencodingerrorsr5,/opt/alt/python36/lib64/python3.6/tarfile.pystns r7cCs*|jd}|dkr|d|}|j||S)z8Convert a null-terminated bytes object to a string. rr#N)finddecode)r1r3r4pr5r5r6ntss  r<c Cs|dd krfd}x0tt|dD]}|dK}|||d7}q"W|ddkrdt|d| }n@y"t|dd}t|jpd d}Wntk rtd YnX|S) z/Convert a number field to a python number. rr#asciistrict0zinvalid header)r=r>)ranger/r<intstrip ValueErrorInvalidHeaderError)r1nir5r5r6ntis   rKr?cCst|}d|ko"d|dknrDtd|d|fdt}n|tkrd|d |kopd|dknr|dkrtdg}ntdg}d||}x6t|dD]}|jd|d@|dL}qWntd |S) z/Convert a python number to a number field. rr?r#z%0*orAr@r=r>zoverflow in number field)rEbytesr0r bytearrayrDinsertrG)rIdigitsformatr1rJr5r5r6itns  2   rQcCs0dttjd|}dttjd|}||fS)aCalculate the checksum for a member's header by summing up all characters except for the chksum field which is treated as if it was filled with spaces. According to the GNU tar sources, some tars (Sun and NeXT) calculate chksum with signed char, which will be different if there are chars in the buffer with the high bit set. So we calculate two checksums, unsigned and signed. r@Z 148B8x356BZ 148b8x356b)sumstructZ unpack_from)bufZunsigned_chksumZ signed_chksumr5r5r6 calc_chksumss rUc Cs|pd}|dkrdS|dkr.tj|||dSt||\}}x8t|D],}|j|}t||krh|d|j|qFW|dkr|j|}t||kr|d|j|dS)zjCopy length bytes from fileobj src to fileobj dst. If length is None, copy the entire content. irNzunexpected end of datai@)shutil copyfileobjdivmodrDreadr/write) srcdstr2 exceptionbufsizeblocks remainderbrTr5r5r6rXs$     rXcCs ddl}|jdtdtj|S)z/Deprecated in this location; use stat.filemode.rNz$deprecated in favor of stat.filemoder$)warningswarnDeprecationWarningstatfilemode)modercr5r5r6rgsrgcCs8ttjdd}|dk r(|j|dj|}t|dddS)Nr3backslashreplace )end)getattrsysstdoutr.r:print)r1r3r5r5r6 _safe_print srpc@seZdZdZdS)rzBase exception.N)__name__ __module__ __qualname____doc__r5r5r5r6rsc@seZdZdZdS)r z%General exception for extract errors.N)rqrrrsrtr5r5r5r6r sc@seZdZdZdS)rz&Exception for unreadable tar archives.N)rqrrrsrtr5r5r5r6rsc@seZdZdZdS)rz.Exception for unavailable compression methods.N)rqrrrsrtr5r5r5r6rsc@seZdZdZdS)r z=Exception for unsupported operations on stream-like TarFiles.N)rqrrrsrtr5r5r5r6r sc@seZdZdZdS)r z!Base exception for header errors.N)rqrrrsrtr5r5r5r6r "sc@seZdZdZdS)EmptyHeaderErrorzException for empty headers.N)rqrrrsrtr5r5r5r6ru%sruc@seZdZdZdS)TruncatedHeaderErrorz Exception for truncated headers.N)rqrrrsrtr5r5r5r6rv(srvc@seZdZdZdS)EOFHeaderErrorz"Exception for end of file headers.N)rqrrrsrtr5r5r5r6rw+srwc@seZdZdZdS)rHzException for invalid headers.N)rqrrrsrtr5r5r5r6rH.srHc@seZdZdZdS)SubsequentHeaderErrorz3Exception for missing and invalid extended headers.N)rqrrrsrtr5r5r5r6rx1srxc@s0eZdZdZddZddZddZdd Zd S) _LowLevelFilezLow-level file object. Supports reading and writing. It is used instead of a regular file object for streaming access. cCsFtjtjtjBtjBd|}ttdr2|tjO}tj||d|_dS)N)rwO_BINARYi) osO_RDONLYO_WRONLYO_CREATO_TRUNChasattrr|rfd)selfnamerhr5r5r6__init__>s   z_LowLevelFile.__init__cCstj|jdS)N)r}closer)rr5r5r6rGsz_LowLevelFile.closecCstj|j|S)N)r}rZr)rr'r5r5r6rZJsz_LowLevelFile.readcCstj|j|dS)N)r}r[r)rr1r5r5r6r[Msz_LowLevelFile.writeN)rqrrrsrtrrrZr[r5r5r5r6ry8s  ryc@steZdZdZddZddZddZdd Zd d Zd d Z ddZ ddZ dddZ dddZ ddZddZdS)_StreamaClass that serves as an adapter between TarFile and a stream-like object. The stream-like object only needs to have a read() or write() method and is accessed blockwise. Use of gzip or bzip2 compression is possible. A stream-like object could be for example: sys.stdin, sys.stdout, a socket, a tape device etc. _Stream is intended to be used only internally. c Csd|_|dkrt||}d|_|dkr6t|}|j}|pt|j|jkrL|jj|jd|j|j|jd|_qWdS)z]Write string s to the stream if a whole new block is ready to be written. N)rTr/r_rr[)rr1r5r5r6Z__writesz_Stream.__writec Cs|jr dSd|_z|jdkr:|jdkr:|j|jj7_|jdkr|jr|jj|jd|_|jdkr|jjtj d|j |jjtj d|j d@Wd|j s|jj XdS) z[Close the _Stream object. No operation should be done on it afterwards. NTr{rrrzd|fg}d|_g|_d}|j}xT|D]L\}}||kr~|jj d||df|jj d||||f||7}||}qZW||jkr|jj d||jdfdS)NrrFT) roffsetr'positionrlrr map_indexmapr)rrrr'Z blockinfoZlastposZrealposr5r5r6rjs(   z_FileInFile.__init__cCsdS)Nr5)rr5r5r6rsz_FileInFile.flushcCsdS)NTr5)rr5r5r6readablesz_FileInFile.readablecCsdS)NFr5)rr5r5r6writablesz_FileInFile.writablecCs |jjS)N)rseekable)rr5r5r6rsz_FileInFile.seekablecCs|jS)z*Return the current file position. )r)rr5r5r6rsz_FileInFile.tellcCs|tjkr tt|d|j|_nj|tjkr\|dkrFt|j|d|_qt|j||j|_n.|tjkrtt|j||jd|_ntd|jS)z(Seek to a position in the file. rzInvalid argument) ioSEEK_SETminmaxr'rSEEK_CURSEEK_ENDrG)rrwhencer5r5r6rs   z_FileInFile.seekc Cs|dkr|j|j}nt||j|j}d}x|dkr xZ|j|j\}}}}||jkob|knrlPq:|jd7_|jt|jkr:d|_q:Wt|||j}|r|jj||j||jj|}t||krt d||7}n |t |7}||8}|j|7_q.W|S)z!Read data from the file. Nrrr#zunexpected end of data) r'rrrrr/rrrZrr0) rr'rTdatastartstoprr2rbr5r5r6rZs.      z_FileInFile.readcCs&|jt|}||dt|<t|S)N)rZr/)rrbrTr5r5r6readintosz_FileInFile.readintocCs d|_dS)NT)r)rr5r5r6rsz_FileInFile.close)N)N)rqrrrsrtrrrrrrrrrrZrrr5r5r5r6rds  rcseZdZfddZZS) ExFileObjectcs&t|j|j|j|j}tj|dS)N)rr offset_datar'sparsesuperr)rtarfiletarinfor) __class__r5r6rs  zExFileObject.__init__)rqrrrsr __classcell__r5r5)rr6rsrc@seZdZdZdiZdjddZddZddZeeeZ ddZ dd Z ee e Z d!d"Z d#d$Zeed%fd&d'Zd(d)Zd*d+Zd,d-Zed.d/Zd0d1Zed2d3Zed4d5Zed6d7Zed8d9Zed:d;Zedd?Zd@dAZ dBdCZ!dDdEZ"dFdGZ#dHdIZ$dJdKZ%dLdMZ&dNdOZ'dPdQZ(dRdSZ)dTdUZ*dVdWZ+dXdYZ,dZd[Z-d\d]Z.d^d_Z/d`daZ0dbdcZ1dddeZ2dfdgZ3dhS)kraInformational class which holds the details about an archive member given by a tar header block. TarInfo objects are returned by TarFile.getmember(), TarFile.getmembers() and TarFile.gettarinfo() and are usually created internally. rrhr)r*r'r(chksumtypelinknamer+r,devmajordevminorrr pax_headersrr_sparse_structs _link_targetrcCsj||_d|_d|_d|_d|_d|_d|_t|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_i|_dS)zXConstruct a TarInfo object. name is the optional name of the member. irrN)rrhr)r*r'r(rREGTYPErrr+r,rrrrrr)rrr5r5r6rs"zTarInfo.__init__cCs|jS)N)r)rr5r5r6_getpathszTarInfo._getpathcCs ||_dS)N)r)rrr5r5r6_setpathszTarInfo._setpathcCs|jS)N)r)rr5r5r6 _getlinkpathszTarInfo._getlinkpathcCs ||_dS)N)r)rrr5r5r6 _setlinkpathszTarInfo._setlinkpathcCsd|jj|jt|fS)Nz<%s %r at %#x>)rrqrid)rr5r5r6__repr__ szTarInfo.__repr__cCsn|j|jd@|j|j|j|j|j|j|j|j |j |j |j d }|dt krj|djd rj|dd7<|S)z9Return the TarInfo's attributes as a dictionary. i) rrhr)r*r'r(rrrr+r,rrrr/)rrhr)r*r'r(rrrr+r,rrDIRTYPEr)rinfor5r5r6get_infos  zTarInfo.get_infosurrogateescapecCsT|j}|tkr|j|||S|tkr4|j|||S|tkrH|j||StddS)ztdt|dd}|t|krbt d|}t |dd|||_ t|dd |_ t|d d |_ t|d d |_t|d d |_t|d d|_||_|dd |_t |d d|||_t |dd|||_t |dd|||_t|dd|_t|dd|_t |dd||}|jtkr|j jdrt|_|jtkr6d}g}xrtdD]f} y0t|||d} t||d|d} Wntk rPYnX|j| | f|d7}qWt|d} t|dd} || | f|_ |j!rN|j j"d|_ |rp|jt#krp|d|j |_ |S)zAConstruct a TarInfo object from a 512 byte bytes object. rz empty headerztruncated headerzend of file headerz bad checksumrlt|ii i)iIiQiYirirriii)$r/rurrvcountr0rwrKrUrHr<rrhr)r*r'r(rrrr+r,rrAREGTYPErrGNUTYPE_SPARSErDrGrboolrisdirrstrip GNU_TYPES)rrTr3r4robjrrstructsrJrnumbytes isextendedorigsizer5r5r6frombufsZ       zTarInfo.frombufcCs8|jjt}|j||j|j}|jjt|_|j|S)zOReturn the next TarInfo object from TarFile object tarfile. ) rrZrr0r3r4rr _proc_member)rrrTr+r5r5r6 fromtarfile?s zTarInfo.fromtarfilecCsT|jttfkr|j|S|jtkr,|j|S|jtttfkrF|j |S|j |SdS)zYChoose the right processing method depending on the type and call it. N) rrr _proc_gnulongr& _proc_sparser r SOLARIS_XHDTYPE _proc_pax _proc_builtin)rrr5r5r6r1Ts    zTarInfo._proc_membercCsR|jj|_|j}|js$|jtkr4||j|j7}||_|j |j |j |j |S)zfProcess a builtin type or an unknown type which will be treated as a regular file. ) rrrisregrSUPPORTED_TYPES_blockr'r_apply_pax_inforr3r4)rrrr5r5r6r7as zTarInfo._proc_builtinc Cs|jj|j|j}y|j|}Wntk r>tdYnX|j|_|jt krft ||j |j |_ n|jtkrt ||j |j |_|S)zSProcess the blocks that hold a GNU longname or longlink member. z missing or bad subsequent header)rrZr:r'r2r rxrrrr<r3r4rrr)rrrTnextr5r5r6r3rs  zTarInfo._proc_gnulongc Cs|j\}}}|`x|r|jjt}d}xvtdD]j}y0t|||d}t||d|d} Wntk rzPYnX|r| r|j|| f|d7}q0Wt|d}qW||_ |jj |_ |j |j |j |_||_ |S)z8Process a GNU sparse header plus extra headers. rrr#i)rrrZrrDrKrGrr'rrrr:r'r) rrr,r.r/rTrrJrr-r5r5r6r4s(    zTarInfo._proc_sparsec Cs0|jj|j|j}|jtkr&|j}n |jj}tj d|}|dk rX|j dj d|d<|j d}|dkrr|j }nd}tjd}d}x|j||}|sP|j\} } t| } | dkrtd ||jd d|jd| d} |j| dd|j} | tkr|j| ||j |j} n|j| dd|j} | || <|| 7}qWy|j|} Wntk rdtd YnXd |kr~|j| |nHd |kr|j| ||n.|j ddkr|j ddkr|j| |||jttfkr,| j ||j |j|j!| _!d|kr,| j"} | j#s| jt$kr&| | j| j7} | |_!| S)zVProcess an extended or global header as described in POSIX.1-2008. s\d+ hdrcharset=([^\n]+)\nNr#zutf-8 hdrcharsetZBINARYs(\d+) ([^=]+)=rzinvalid headerr$z missing or bad subsequent headerzGNU.sparse.mapzGNU.sparse.sizezGNU.sparse.major1zGNU.sparse.minorrCr')%rrZr:r'rr rrresearchgroupr:rr3compilematchgroupsrErHrkr_decode_pax_fieldr4PAX_NAME_FIELDSr2r rx_proc_gnusparse_01_proc_gnusparse_00_proc_gnusparse_10r r5r;rrr8r9)rrrTrrDr>r3Zregexrr2rrr<rr5r5r6r6sd       $          zTarInfo._proc_paxcCspg}x(tjd|D]}|jt|jdqWg}x(tjd|D]}|jt|jdq@Wtt|||_dS)z?Process a GNU tar extended sparse header, version 0.0. s\d+ GNU.sparse.offset=(\d+)\nr#s\d+ GNU.sparse.numbytes=(\d+)\nN)r@finditerrrErBlistzipr)rr<rrTZoffsetsrDr-r5r5r6rI szTarInfo._proc_gnusparse_00cCs@dd|djdD}tt|ddd|ddd|_dS)z?Process a GNU tar extended sparse header, version 0.1. cSsg|] }t|qSr5)rE).0xr5r5r6 sz.TarInfo._proc_gnusparse_01..zGNU.sparse.map,Nr$r#)rrLrMr)rr<rrr5r5r6rHszTarInfo._proc_gnusparse_01cCsd}g}|jjt}|jdd\}}t|}xJt||dkrvd|krV||jjt7}|jdd\}}|jt|q.W|jj|_t t |ddd|ddd|_ dS)z?Process a GNU tar extended sparse header, version 1.0. Nrr#r$) rrZrrrEr/rrrrLrMr)rr<rrZfieldsrrTZnumberr5r5r6rJs  zTarInfo._proc_gnusparse_10c Csx|jD]\}}|dkr(t|d|q |dkrBt|dt|q |dkr\t|dt|q |tkr |tkryt||}Wntk rd}YnX|dkr|jd}t|||q W|j|_dS) zoReplace fields with supplemental information from a previous pax extended or global header. zGNU.sparse.namer%zGNU.sparse.sizer'zGNU.sparse.realsizerrN) rsetattrrE PAX_FIELDSPAX_NUMBER_FIELDSrGr)rr)rrr3r4rrr5r5r6r;-s"  zTarInfo._apply_pax_infoc Cs.y |j|dStk r(|j||SXdS)z1Decode a single field from a pax record. rBN)r:UnicodeDecodeError)rrr3Zfallback_encodingZfallback_errorsr5r5r6rFDs zTarInfo._decode_pax_fieldcCs"t|t\}}|r|d7}|tS)z_Round up a byte count by BLOCKSIZE and return it, e.g. _block(834) => 1024. r#)rYr)rr$r`rar5r5r6r:LszTarInfo._blockcCs |jtkS)N)r REGULAR_TYPES)rr5r5r6r8Usz TarInfo.isregcCs|jS)N)r8)rr5r5r6isfileWszTarInfo.isfilecCs |jtkS)N)rr)rr5r5r6r(Ysz TarInfo.isdircCs |jtkS)N)rSYMTYPE)rr5r5r6issym[sz TarInfo.issymcCs |jtkS)N)rLNKTYPE)rr5r5r6islnk]sz TarInfo.islnkcCs |jtkS)N)rCHRTYPE)rr5r5r6ischr_sz TarInfo.ischrcCs |jtkS)N)rBLKTYPE)rr5r5r6isblkasz TarInfo.isblkcCs |jtkS)N)rFIFOTYPE)rr5r5r6isfifocszTarInfo.isfifocCs |jdk S)N)r)rr5r5r6issparseeszTarInfo.issparsecCs|jtttfkS)N)rr\r^r`)rr5r5r6isdevgsz TarInfo.isdevN)rrhr)r*r'r(rrrr+r,rrrrrrrrr)r)4rqrrrsrt __slots__rrrpropertyr%rrr&rrrr rrrr classmethodrr staticmethodrrrr r0r2r1r7r3r4r6rIrHrJr;rFr:r8rWr(rYr[r]r_rarbrcr5r5r5r6rs`    1    3 ?  h  c @seZdZdZdZdZdZdZeZ e Z dZ e ZeZd\dd Zedddefd d Zed]d d Zed^ddZed_ddZed`ddZdddddZddZddZddZd d!Zdad"d#Zdbdd%d&d'Zdcdd(d)d*Z ddd+d,Z!dedd.d/d0Z"dfdd.d2d3Z#d4d5Z$dgd6d7Z%d8d9Z&d:d;Z'dd?Z)d@dAZ*dBdCZ+dDdEZ,dFdGZ-dHdIZ.dJdKZ/dhdLdMZ0dNdOZ1didPdQZ2dRdSZ3dTdUZ4dVdWZ5dXdYZ6dZd[Z7dS)jrz=The TarFile Class provides an interface to tar archives. rFr#NrzrcCsddddd}||krtd||_|||_|sj|jdkrVtjj| rVd|_d|_t||j}d |_n@|d krt|d rt |j t t fr|j }t|d r|j|_d |_|rtjj |nd |_ ||_|d k r||_|d k r||_|d k r||_|d k r||_|d k r||_| |_| d k r4|jtkr4| |_ni|_| d k rJ| |_| d k rZ| |_| |_d |_g|_d |_|jj|_i|_y|jdkrd |_ |j!|_ |jdkr8x|jj"|jy|jj#|}|jj$|WnTt%k r|jj"|jPYn0t&k r0}zt't |WYd d }~XnXqW|jdkrd |_|jr|jj(|jj)}|jj*||jt+|7_Wn&|js|jj,d |_YnXd S)aOpen an (uncompressed) tar archive `name'. `mode' is either 'r' to read from an existing archive, 'a' to append data to an existing file or 'w' to create a new file overwriting an existing one. `mode' defaults to 'r'. If `fileobj' is given, it is used for reading or writing data. If it can be determined, `mode' is overridden by `fileobj's mode. `fileobj' is not closed, when TarFile is closed. rbzr+bwbZxb)rzar{rOz!mode must be 'r', 'a', 'w' or 'x'rjr{FNrrhTrzrO)rjr{rO)-rGrh_moder}r%exists bltn_openrrrrr rLabspathrrPr dereference ignore_zerosr3r4rrdebug errorlevel copybufsizermembers_loadedrrinodes firstmemberr<rr2rrwr rrrr[r/r)rrrhrrPrrorpr3r4rrqrrrsZmodeserTr5r5r6rs             $   zTarFile.__init__c s| r| rtd|dkrfdd}xttj|dD]b}tj|}|dk r\|j} y||d|f|Sttfk r|dk r|j| w8Yq8Xq8Wtdnd |kr |jd d \} }| pd} |pd }|jkrtj|}n td |||| |f|Sd |kr|jd d \} }| p.d} |p8d }| dkrLtdt || |||} y|| | f|} Wn| j YnXd| _ | S|dkrj |||f|StddS)aOpen a tar archive for reading, writing or appending. Return an appropriate TarFile class. mode: 'r' or 'r:*' open for reading with transparent compression 'r:' open for reading exclusively uncompressed 'r:gz' open for reading with gzip compression 'r:bz2' open for reading with bzip2 compression 'r:xz' open for reading with lzma compression 'a' or 'a:' open for appending, creating the file if necessary 'w' or 'w:' open for writing without compression 'w:gz' open for writing with gzip compression 'w:bz2' open for writing with bzip2 compression 'w:xz' open for writing with lzma compression 'x' or 'x:' create a tarfile exclusively without compression, raise an exception if the file is already created 'x:gz' create a gzip compressed tarfile, raise an exception if the file is already created 'x:bz2' create a bzip2 compressed tarfile, raise an exception if the file is already created 'x:xz' create an lzma compressed tarfile, raise an exception if the file is already created 'r|*' open a stream of tar blocks with transparent compression 'r|' open an uncompressed stream of tar blocks for reading 'r|gz' open a gzip compressed stream of tar blocks 'r|bz2' open a bzip2 compressed stream of tar blocks 'r|xz' open an lzma compressed stream of tar blocks 'w|' open an uncompressed stream for writing 'w|gz' open a gzip compressed stream for writing 'w|bz2' open a bzip2 compressed stream for writing 'w|xz' open an lzma compressed stream for writing znothing to openrzr:*csj|dkS)Ntaropen) OPEN_METH)r)rr5r6not_compressedsz$TarFile.open..not_compressed)keyNz%file could not be opened successfully:r#rzunknown compression type %r|r{zmode must be 'r' or 'w'FrjrOzundiscernible mode)rzry)rzr{)rjr{rO) rGsortedr{rlrrrrrrrrrz) rrrhrr_kwargsr|rfuncZ saved_posrgstreamrr5)rr6rsP%             z TarFile.opencKs |dkrtd||||f|S)zCOpen uncompressed tar archive name for reading or writing. rzrjr{rOz!mode must be 'r', 'a', 'w' or 'x')rzrjr{rO)rG)rrrhrrr5r5r6rzOszTarFile.taropenrcKs|d krtdyddl}|jWn ttfk rBtdYnXy|j||d||}Wn.tk r|dk r|dkrtd YnXy|j|||f|}WnBtk r|j |dkrtd Yn|j YnXd |_ |S) zkOpen gzip compressed tar archive name for reading or writing. Appending is not allowed. rzr{rOzmode must be 'r', 'w' or 'x'rNzgzip module is not availablerbznot a gzip fileF)rzr{rO) rGgzipZGzipFilerAttributeErrorrrrrzrr)rrrhr compresslevelrrrr5r5r6gzopenWs2 zTarFile.gzopencKs|d krtdy ddl}Wntk r8tdYnX|j|pD|||d}y|j|||f|}WnFttfk r|j|dkrt d Yn|jYnXd |_ |S) zlOpen bzip2 compressed tar archive name for reading or writing. Appending is not allowed. rzr{rOzmode must be 'r', 'w' or 'x'rNzbz2 module is not available)rznot a bzip2 fileF)rzr{rO) rGrrrZBZ2FilerzrEOFErrorrrr)rrrhrrrrrr5r5r6bz2openys(  zTarFile.bz2opencKs|d krtdy ddl}Wntk r8tdYnX|j|pD|||d}y|j|||f|}WnH|jtfk r|j|dkrt d Yn|jYnXd |_ |S) zkOpen lzma compressed tar archive name for reading or writing. Appending is not allowed. rzr{rOzmode must be 'r', 'w' or 'x'rNzlzma module is not available)presetznot an lzma fileF)rzr{rO) rGrrrZLZMAFilerzrrrrr)rrrhrrrrrr5r5r6xzopens& zTarFile.xzopenrzrrr)rrrrc Cs|jr dSd|_z`|jdkrn|jjttd|jtd7_t|jt\}}|dkrn|jjtt|Wd|j s|jj XdS) zlClose the TarFile. In write-mode, two finishing zero blocks are appended to the archive. NTrjr{rOr$r)rjr{rO) rrhrr[r0rrrY RECORDSIZErr)rr`rar5r5r6rs z TarFile.closecCs"|j|}|dkrtd||S)aReturn a TarInfo object for member `name'. If `name' can not be found in the archive, KeyError is raised. If a member occurs more than once in the archive, its last occurrence is assumed to be the most up-to-date version. Nzfilename %r not found) _getmemberKeyError)rrrr5r5r6 getmembers  zTarFile.getmembercCs|j|js|j|jS)zReturn the members of the archive as a list of TarInfo objects. The list has the same order as the members in the archive. )_checkru_loadrt)rr5r5r6 getmembersszTarFile.getmemberscCsdd|jDS)zReturn the members of the archive as a list of their names. It has the same order as the list returned by getmembers(). cSsg|] }|jqSr5)r)rNrr5r5r6rPsz$TarFile.getnames..)r)rr5r5r6getnamesszTarFile.getnamesc Csp|jd|dk r|j}|dkr$|}tjj|\}}|jtjd}|jd}|j}||_ |dkrt tdr|j rtj |}qtj |}ntj|j}d}|j}t j|r|j|jf} |j r|jdkr| |jkr||j| krt} |j| }nt} | drx||j| <nht j|r"t} nVt j|r4t} nDt j|rPt} tj|}n(t j|rbt } nt j!|rtt"} ndS||_||_#|j$|_%|j&|_'| tkr|j(|_)nd|_)|j*|_+| |_,||_-t.ryt.j/|j%d|_0Wnt1k rYnXt2r*yt2j3|j'd|_4Wnt1k r(YnX| t t"fkrlt tdrlt td rltj5|j6|_7tj8|j6|_9|S) aCreate a TarInfo object from the result of os.stat or equivalent on an existing file. The file is either named by `name', or specified as a file object `fileobj' with a file descriptor. If given, `arcname' specifies an alternative name for the file in the archive, otherwise, the name is taken from the 'name' attribute of 'fileobj', or the 'name' argument. The name should be a text string. awxNrlstatrr#rmajorminor):rrr}r% splitdriverseplstriprrrrorrffstatfilenost_modeS_ISREGst_inost_devst_nlinkrvrZrS_ISDIRrS_ISFIFOr`S_ISLNKrXreadlinkS_ISCHRr\S_ISBLKr^rhst_uidr)st_gidr*st_sizer'st_mtimer(rrpwdgetpwuidr+rgrpZgetgrgidr,rst_rdevrrr) rrarcnamerZdrvrZstatresrZstmdinoderr5r5r6 gettarinfos~                 zTarFile.gettarinfoT)rtcCs|j|dkr|}x|D]}|rttj|jtd|jp@|j|jpJ|jf|j sb|j r|tdd|j |j fntd|j tdtj|jddt|j|jrdnd |r|jrtd |j|jrtd |jtqWdS) aPrint a table of contents to sys.stdout. If `verbose' is False, only the names of the members are printed. If it is True, an `ls -l'-like output is produced. `members' is optional and must be a subset of the list returned by getmembers(). Nz%s/%sz%10sz%d,%dz%10dz%d-%02d-%02d %02d:%02d:%02drrrz-> zlink to )rrprfrgrhr+r)r,r*r]r_rrr'rZ localtimer(rr(rYrr[ro)rverbosertrr5r5r6rLQs* z TarFile.list)filterc Csv|jd|dkr|}|dk rPddl}|jdtd||rP|jdd|dS|jdk rtjj||jkr|jdd|dS|jd||j ||}|dkr|jdd |dS|dk r||}|dkr|jdd|dS|j rt |d }|j ||WdQRXnd|j rh|j ||rrxHtj|D].}|jtjj||tjj|||||d q4Wn |j |dS) a~Add the file `name' to the archive. `name' may be any type of file (directory, fifo, symbolic link, etc.). If given, `arcname' specifies an alternative name for the file in the archive. Directories are added recursively by default. This can be avoided by setting `recursive' to False. `exclude' is a function that should return True for each filename to be excluded. `filter' is a function that expects a TarInfo object argument and returns the changed TarInfo object, if it returns None the TarInfo object will be excluded from the archive. rNrzuse the filter argument insteadr$ztarfile: Excluded %rztarfile: Skipped %rr#ztarfile: Unsupported type %rrh)r)rrcrdre_dbgrr}r%rnrr8rmaddfiler(listdiraddr) rrr recursiveZexcluderrcrfr5r5r6rqsB       z TarFile.addcCs|jdtj|}|j|j|j|j}|jj||jt |7_|j }|dk rt ||j|j |dt |j t\}}|dkr|jjtt||d7}|j|t7_|jj|dS)aAdd the TarInfo object `tarinfo' to the archive. If `fileobj' is given, it should be a binary file, and tarinfo.size bytes are read from it and added to the archive. You can create TarInfo objects directly, or by using gettarinfo(). rN)r_rr#)rrrrPr3r4rr[rr/rsrXr'rYrr0rtr)rrrrTr_r`rar5r5r6rs   zTarFile.addfile.) numeric_ownercCsg}|dkr|}xF|D]>}|jr<|j|tj|}d|_|j|||j |dqW|jddd|jx|D]}tjj ||j }y,|j |||d|j |||j ||Wqvtk r}z$|jdkrւn|jdd |WYdd}~XqvXqvWdS) aExtract all members from the archive to the current working directory and set owner, modification time and permissions on directories afterwards. `path' specifies a different directory to extract to. `members' is optional and must be a subset of the list returned by getmembers(). If `numeric_owner` is True, only the numbers for user/group names are used and not the names. Ni) set_attrsrcSs|jS)N)r)rjr5r5r6sz$TarFile.extractall..)r})rr#z tarfile: %s)r(rrrhextractsortreverser}r%rrchownutimechmodr rrr)rr%rtrZ directoriesrdirpathrxr5r5r6 extractalls,       zTarFile.extractallrcCs |jdt|tr |j|}n|}|jr>tjj||j|_ y"|j |tjj||j ||dWnt k r}zJ|j dkrn6|jdkr|jdd|jn|jdd|j|jfWYdd}~XnBtk r}z$|j dkrn|jdd|WYdd}~XnXdS)aExtract 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 TarInfo object. You can specify a different directory using `path'. File attributes (owner, mtime, mode) are set unless `set_attrs' is False. If `numeric_owner` is True, only the numbers for user/group names are used and not the names. rz)rrrNr#z tarfile: %sztarfile: %s %r)rrr rr[r}r%rrr_extract_memberrrrrfilenamerstrerrorr )rmemberr%rrrrxr5r5r6rs(      ( zTarFile.extractcCs|jdt|tr |j|}n|}|js6|jtkrB|j||S|jsR|j rzt|j t rht dq~|j |j|SndSdS)zExtract a member from the archive as a file object. `member' may be a filename or a TarInfo object. If `member' is a regular file or a link, an io.BufferedReader object is returned. Otherwise, None is returned. rzz'cannot extract (sym)link as file objectN)rrr rr8rr9 fileobjectr[rYrrr extractfile_find_link_target)rrrr5r5r6rs      zTarFile.extractfilecCsV|jd}|jdtj}tjj|}|r@tjj| r@tj||jsP|j rj|j dd|j |j fn|j d|j |j r|j||n|jr|j||nx|jr|j||nb|js|jr|j||nD|js|j r|j||n&|jtkr|j||n |j|||rR|j||||j sR|j|||j||dS)z\Extract the TarInfo object tarinfo to a physical file called targetpath. rr#z%s -> %sN)r)rr}rr%dirnamerlmakedirsr[rYrrrr8makefiler(makedirramakefifor]r_makedevmakelinkrr9 makeunknownrrr)rr targetpathrrZ upperdirsr5r5r6r4s4       zTarFile._extract_memberc Cs*ytj|dWntk r$YnXdS)z,Make a directory called targetpath. iN)r}mkdirFileExistsError)rrrr5r5r6reszTarFile.makedircCs|j}|j|j|j}t|df}|jdk rrx,|jD]"\}}|j|t|||t|q6W|j|j|j nt|||jt|WdQRXdS)z'Make a file called targetpath. riN) rrrrsrmrrXrr'truncate)rrrsourcer_targetrr'r5r5r6ros      zTarFile.makefilecCs"|j|||jdd|jdS)zYMake a file from a TarInfo object with an unknown type at targetpath. r#z9tarfile: Unknown file type %r, extracted as regular file.N)rrr)rrrr5r5r6rs zTarFile.makeunknowncCs"ttdrtj|ntddS)z'Make a fifo called targetpath. mkfifozfifo not supported by systemN)rr}rr )rrrr5r5r6rs  zTarFile.makefifocCsbttd sttd r td|j}|jr:|tjO}n |tjO}tj||tj |j |j dS)zttdr:ytj||jWntk r8tdYnXdS)zASet file permissions of targetpath according to tarinfo. rzcould not change modeN)rr}rrhrr )rrrr5r5r6rs  z TarFile.chmodc CsHttdsdSytj||j|jfWntk rBtdYnXdS)zBSet modification time of targetpath according to tarinfo. rNz"could not change modification time)rr}rr(rr )rrrr5r5r6rs  z TarFile.utimecCs|jd|jdk r$|j}d|_|S|j|jjkrZ|jj|jd|jjdsZtdd}xby|jj |}WnHt k r}z2|j r|j dd|j|f|jt 7_wbWYdd}~Xntk r,}zN|j r|j dd|j|f|jt 7_wbn|jdkrtt|WYdd}~Xntk rT|jdkrPtdYnjtk r}z|jdkr~tt|WYdd}~Xn0tk r}ztt|WYdd}~XnXPqbW|dk r|jj|nd |_|S) zReturn the next member of the archive as a TarInfo object, when TarFile is opened for reading. Return None if there is no more available. ZraNr#zunexpected end of datar$z0x%X: %srz empty fileT)rrwrrrrrZrrr2rwrprrrHr rurvrxrtrru)rmrrxr5r5r6r<sL        z TarFile.nextcCsn|j}|dk r"|d|j|}|r2tjj|}x6t|D]*}|rTtjj|j}n|j}||kr<|SqzShow listing of a tarfile)metavarrz-ez --extract+ zExtract tarfile into target dir)nargsrrz-cz--createzCreate tarfile from sourcesz-tz--testzTest if a tarfile is validrz)rz{!r} is a tar archive.r#z{!r} is not a tar archive. zr:*)rr$)r%rz{!r} file is extracted.z+{!r} file is extracted into {!r} directory.rrr)z.gzz.tgzz.xzz.txzz.bz2z.tbzz.tbz2z.tb2zw:r{z{!r} file created.)rr)rr)argparseArgumentParser add_argumentZadd_mutually_exclusive_group parse_argsZtestrrrrormrrrPexitrLrrr/r}curdirZ format_helprZcreatepopr%splitextr)rrparserrBargsr\rZtfrrZtar_name_ZextZ compressionsZtar_modeZ tar_files file_namer5r5r6main s                r__main__)r%r&r'r(r)r*r+r,)artversion __author__Z__date__Z __cvsid__ __credits__builtinsrrmrmr}rrWrfrrSrr@rrrrNotImplementedErrorrr NameError__all__r0rrrrrrrrr%rZrXr\r^rr`ZCONTTYPErrr&r r r5r rrrr9rVr*rSrGrrErTrr getfilesystemencodingr7r<rKrQrUrXrgrp Exceptionrr rrr r rurvrwrHrxryrobjectrrBufferedReaderrrrrrrqr5r5r5r6s         wh , Z