SILENT KILLERPanel

Current Path: > > opt > alt > python36 > lib64 > python3.6 > __pycache__


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python36/lib64/python3.6/__pycache__

NameTypeSizeLast ModifiedActions
__future__.cpython-36.opt-1.pyc File 4182 bytes April 17 2024 17:19:44.
__future__.cpython-36.opt-2.pyc File 2206 bytes April 17 2024 17:19:26.
__future__.cpython-36.pyc File 4182 bytes April 17 2024 17:19:48.
__phello__.foo.cpython-36.opt-1.pyc File 134 bytes April 17 2024 17:19:43.
__phello__.foo.cpython-36.opt-2.pyc File 134 bytes April 17 2024 17:19:26.
__phello__.foo.cpython-36.pyc File 134 bytes April 17 2024 17:19:47.
_bootlocale.cpython-36.opt-1.pyc File 967 bytes April 17 2024 17:19:40.
_bootlocale.cpython-36.opt-2.pyc File 742 bytes April 17 2024 17:19:26.
_bootlocale.cpython-36.pyc File 995 bytes April 17 2024 17:19:44.
_collections_abc.cpython-36.opt-1.pyc File 28812 bytes April 17 2024 17:19:40.
_collections_abc.cpython-36.opt-2.pyc File 23660 bytes April 17 2024 17:19:26.
_collections_abc.cpython-36.pyc File 28812 bytes April 17 2024 17:19:44.
_compat_pickle.cpython-36.opt-1.pyc File 6523 bytes April 17 2024 17:19:43.
_compat_pickle.cpython-36.opt-2.pyc File 6523 bytes April 17 2024 17:19:26.
_compat_pickle.cpython-36.pyc File 6581 bytes April 17 2024 17:19:47.
_compression.cpython-36.opt-1.pyc File 4119 bytes April 17 2024 17:19:40.
_compression.cpython-36.opt-2.pyc File 3903 bytes April 17 2024 17:19:26.
_compression.cpython-36.pyc File 4119 bytes April 17 2024 17:19:44.
_dummy_thread.cpython-36.opt-1.pyc File 4866 bytes April 17 2024 17:19:43.
_dummy_thread.cpython-36.opt-2.pyc File 2658 bytes April 17 2024 17:19:26.
_dummy_thread.cpython-36.pyc File 4866 bytes April 17 2024 17:19:47.
_markupbase.cpython-36.opt-1.pyc File 7837 bytes April 17 2024 17:19:40.
_markupbase.cpython-36.opt-2.pyc File 7457 bytes April 17 2024 17:19:26.
_markupbase.cpython-36.pyc File 8006 bytes April 17 2024 17:19:44.
_osx_support.cpython-36.opt-1.pyc File 9721 bytes April 17 2024 17:19:43.
_osx_support.cpython-36.opt-2.pyc File 7272 bytes April 17 2024 17:19:26.
_osx_support.cpython-36.pyc File 9721 bytes April 17 2024 17:19:47.
_pydecimal.cpython-36.opt-1.pyc File 163417 bytes April 17 2024 17:19:40.
_pydecimal.cpython-36.opt-2.pyc File 82010 bytes April 17 2024 17:19:26.
_pydecimal.cpython-36.pyc File 163417 bytes April 17 2024 17:19:44.
_pyio.cpython-36.opt-1.pyc File 71383 bytes April 17 2024 17:19:40.
_pyio.cpython-36.opt-2.pyc File 48988 bytes April 17 2024 17:19:26.
_pyio.cpython-36.pyc File 71401 bytes April 17 2024 17:19:45.
_sitebuiltins.cpython-36.opt-1.pyc File 3450 bytes April 17 2024 17:19:40.
_sitebuiltins.cpython-36.opt-2.pyc File 2926 bytes April 17 2024 17:19:26.
_sitebuiltins.cpython-36.pyc File 3450 bytes April 17 2024 17:19:45.
_strptime.cpython-36.opt-1.pyc File 15978 bytes April 17 2024 17:19:43.
_strptime.cpython-36.opt-2.pyc File 12248 bytes April 17 2024 17:19:26.
_strptime.cpython-36.pyc File 15978 bytes April 17 2024 17:19:48.
_sysconfigdata_dm_linux_x86_64-linux-gnu.cpython-36.opt-1.pyc File 21548 bytes April 17 2024 17:19:40.
_sysconfigdata_dm_linux_x86_64-linux-gnu.cpython-36.opt-2.pyc File 21548 bytes April 17 2024 17:19:26.
_sysconfigdata_dm_linux_x86_64-linux-gnu.cpython-36.pyc File 21548 bytes April 17 2024 17:19:44.
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-36.opt-1.pyc File 20788 bytes April 17 2024 17:19:43.
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-36.opt-2.pyc File 20788 bytes April 17 2024 17:19:26.
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-36.pyc File 20788 bytes April 17 2024 17:19:48.
_threading_local.cpython-36.opt-1.pyc File 6440 bytes April 17 2024 17:19:40.
_threading_local.cpython-36.opt-2.pyc File 3125 bytes April 17 2024 17:19:26.
_threading_local.cpython-36.pyc File 6440 bytes April 17 2024 17:19:44.
_weakrefset.cpython-36.opt-1.pyc File 7843 bytes April 17 2024 17:19:40.
_weakrefset.cpython-36.opt-2.pyc File 7843 bytes April 17 2024 17:19:26.
_weakrefset.cpython-36.pyc File 7843 bytes April 17 2024 17:19:44.
abc.cpython-36.opt-1.pyc File 7487 bytes April 17 2024 17:19:40.
abc.cpython-36.opt-2.pyc File 4123 bytes April 17 2024 17:19:26.
abc.cpython-36.pyc File 7530 bytes April 17 2024 17:19:44.
aifc.cpython-36.opt-1.pyc File 25958 bytes April 17 2024 17:19:44.
aifc.cpython-36.opt-2.pyc File 20753 bytes April 17 2024 17:19:26.
aifc.cpython-36.pyc File 25958 bytes April 17 2024 17:19:48.
antigravity.cpython-36.opt-1.pyc File 794 bytes April 17 2024 17:19:40.
antigravity.cpython-36.opt-2.pyc File 650 bytes April 17 2024 17:19:26.
antigravity.cpython-36.pyc File 794 bytes April 17 2024 17:19:44.
argparse.cpython-36.opt-1.pyc File 60071 bytes April 17 2024 17:19:43.
argparse.cpython-36.opt-2.pyc File 50830 bytes April 17 2024 17:19:26.
argparse.cpython-36.pyc File 60205 bytes April 17 2024 17:19:47.
ast.cpython-36.opt-1.pyc File 11719 bytes April 17 2024 17:19:43.
ast.cpython-36.opt-2.pyc File 6134 bytes April 17 2024 17:19:26.
ast.cpython-36.pyc File 11719 bytes April 17 2024 17:19:47.
asynchat.cpython-36.opt-1.pyc File 6830 bytes April 17 2024 17:19:43.
asynchat.cpython-36.opt-2.pyc File 5454 bytes April 17 2024 17:19:26.
asynchat.cpython-36.pyc File 6830 bytes April 17 2024 17:19:47.
asyncore.cpython-36.opt-1.pyc File 15853 bytes April 17 2024 17:19:44.
asyncore.cpython-36.opt-2.pyc File 14649 bytes April 17 2024 17:19:26.
asyncore.cpython-36.pyc File 15853 bytes April 17 2024 17:19:48.
base64.cpython-36.opt-1.pyc File 16916 bytes April 17 2024 17:19:40.
base64.cpython-36.opt-2.pyc File 11318 bytes April 17 2024 17:19:26.
base64.cpython-36.pyc File 17074 bytes April 17 2024 17:19:44.
bdb.cpython-36.opt-1.pyc File 17048 bytes April 17 2024 17:19:43.
bdb.cpython-36.opt-2.pyc File 15322 bytes April 17 2024 17:19:26.
bdb.cpython-36.pyc File 17048 bytes April 17 2024 17:19:47.
binhex.cpython-36.opt-1.pyc File 12101 bytes April 17 2024 17:19:40.
binhex.cpython-36.opt-2.pyc File 11568 bytes April 17 2024 17:19:26.
binhex.cpython-36.pyc File 12101 bytes April 17 2024 17:19:44.
bisect.cpython-36.opt-1.pyc File 2691 bytes April 17 2024 17:19:40.
bisect.cpython-36.opt-2.pyc File 1395 bytes April 17 2024 17:19:26.
bisect.cpython-36.pyc File 2691 bytes April 17 2024 17:19:44.
bz2.cpython-36.opt-1.pyc File 11297 bytes April 17 2024 17:19:43.
bz2.cpython-36.opt-2.pyc File 6240 bytes April 17 2024 17:19:26.
bz2.cpython-36.pyc File 11297 bytes April 17 2024 17:19:47.
cProfile.cpython-36.opt-1.pyc File 4309 bytes April 17 2024 17:19:40.
cProfile.cpython-36.opt-2.pyc File 3848 bytes April 17 2024 17:19:26.
cProfile.cpython-36.pyc File 4309 bytes April 17 2024 17:19:44.
calendar.cpython-36.opt-1.pyc File 25897 bytes April 17 2024 17:19:43.
calendar.cpython-36.opt-2.pyc File 21370 bytes April 17 2024 17:19:26.
calendar.cpython-36.pyc File 25897 bytes April 17 2024 17:19:47.
cgi.cpython-36.opt-1.pyc File 28621 bytes April 17 2024 17:19:43.
cgi.cpython-36.opt-2.pyc File 19482 bytes April 17 2024 17:19:26.
cgi.cpython-36.pyc File 28621 bytes April 17 2024 17:19:47.
cgitb.cpython-36.opt-1.pyc File 10095 bytes April 17 2024 17:19:44.
cgitb.cpython-36.opt-2.pyc File 8496 bytes April 17 2024 17:19:26.
cgitb.cpython-36.pyc File 10095 bytes April 17 2024 17:19:48.
chunk.cpython-36.opt-1.pyc File 4915 bytes April 17 2024 17:19:40.
chunk.cpython-36.opt-2.pyc File 2769 bytes April 17 2024 17:19:26.
chunk.cpython-36.pyc File 4915 bytes April 17 2024 17:19:45.
cmd.cpython-36.opt-1.pyc File 12590 bytes April 17 2024 17:19:40.
cmd.cpython-36.opt-2.pyc File 7151 bytes April 17 2024 17:19:26.
cmd.cpython-36.pyc File 12590 bytes April 17 2024 17:19:44.
code.cpython-36.opt-1.pyc File 9851 bytes April 17 2024 17:19:40.
code.cpython-36.opt-2.pyc File 4575 bytes April 17 2024 17:19:26.
code.cpython-36.pyc File 9851 bytes April 17 2024 17:19:44.
codecs.cpython-36.opt-1.pyc File 33915 bytes April 17 2024 17:19:40.
codecs.cpython-36.opt-2.pyc File 18067 bytes April 17 2024 17:19:26.
codecs.cpython-36.pyc File 33915 bytes April 17 2024 17:19:44.
codeop.cpython-36.opt-1.pyc File 6285 bytes April 17 2024 17:19:40.
codeop.cpython-36.opt-2.pyc File 2238 bytes April 17 2024 17:19:26.
codeop.cpython-36.pyc File 6285 bytes April 17 2024 17:19:44.
colorsys.cpython-36.opt-1.pyc File 3326 bytes April 17 2024 17:19:40.
colorsys.cpython-36.opt-2.pyc File 2720 bytes April 17 2024 17:19:26.
colorsys.cpython-36.pyc File 3326 bytes April 17 2024 17:19:44.
compileall.cpython-36.opt-1.pyc File 8293 bytes April 17 2024 17:19:40.
compileall.cpython-36.opt-2.pyc File 6155 bytes April 17 2024 17:19:26.
compileall.cpython-36.pyc File 8293 bytes April 17 2024 17:19:44.
configparser.cpython-36.opt-1.pyc File 45259 bytes April 17 2024 17:19:40.
configparser.cpython-36.opt-2.pyc File 30571 bytes April 17 2024 17:19:26.
configparser.cpython-36.pyc File 45259 bytes April 17 2024 17:19:44.
contextlib.cpython-36.opt-1.pyc File 11173 bytes April 17 2024 17:19:40.
contextlib.cpython-36.opt-2.pyc File 7827 bytes April 17 2024 17:19:26.
contextlib.cpython-36.pyc File 11173 bytes April 17 2024 17:19:44.
copy.cpython-36.opt-1.pyc File 7094 bytes April 17 2024 17:19:40.
copy.cpython-36.opt-2.pyc File 4778 bytes April 17 2024 17:19:26.
copy.cpython-36.pyc File 7094 bytes April 17 2024 17:19:44.
copyreg.cpython-36.opt-1.pyc File 4224 bytes April 17 2024 17:19:43.
copyreg.cpython-36.opt-2.pyc File 3420 bytes April 17 2024 17:19:26.
copyreg.cpython-36.pyc File 4259 bytes April 17 2024 17:19:47.
crypt.cpython-36.opt-1.pyc File 2257 bytes April 17 2024 17:19:40.
crypt.cpython-36.opt-2.pyc File 1593 bytes April 17 2024 17:19:26.
crypt.cpython-36.pyc File 2257 bytes April 17 2024 17:19:44.
csv.cpython-36.opt-1.pyc File 11870 bytes April 17 2024 17:19:40.
csv.cpython-36.opt-2.pyc File 9831 bytes April 17 2024 17:19:26.
csv.cpython-36.pyc File 11870 bytes April 17 2024 17:19:44.
datetime.cpython-36.opt-1.pyc File 53073 bytes April 17 2024 17:19:44.
datetime.cpython-36.opt-2.pyc File 44223 bytes April 17 2024 17:19:26.
datetime.cpython-36.pyc File 54526 bytes April 17 2024 17:19:48.
decimal.cpython-36.opt-1.pyc File 366 bytes April 17 2024 17:19:43.
decimal.cpython-36.opt-2.pyc File 366 bytes April 17 2024 17:19:26.
decimal.cpython-36.pyc File 366 bytes April 17 2024 17:19:47.
difflib.cpython-36.opt-1.pyc File 59619 bytes April 17 2024 17:19:40.
difflib.cpython-36.opt-2.pyc File 25049 bytes April 17 2024 17:19:26.
difflib.cpython-36.pyc File 59657 bytes April 17 2024 17:19:44.
dis.cpython-36.opt-1.pyc File 14196 bytes April 17 2024 17:19:40.
dis.cpython-36.opt-2.pyc File 10664 bytes April 17 2024 17:19:26.
dis.cpython-36.pyc File 14196 bytes April 17 2024 17:19:44.
doctest.cpython-36.opt-1.pyc File 75359 bytes April 17 2024 17:19:40.
doctest.cpython-36.opt-2.pyc File 40032 bytes April 17 2024 17:19:26.
doctest.cpython-36.pyc File 75604 bytes April 17 2024 17:19:44.
dummy_threading.cpython-36.opt-1.pyc File 1117 bytes April 17 2024 17:19:40.
dummy_threading.cpython-36.opt-2.pyc File 744 bytes April 17 2024 17:19:26.
dummy_threading.cpython-36.pyc File 1117 bytes April 17 2024 17:19:44.
enum.cpython-36.opt-1.pyc File 23468 bytes April 17 2024 17:19:40.
enum.cpython-36.opt-2.pyc File 19175 bytes April 17 2024 17:19:27.
enum.cpython-36.pyc File 23468 bytes April 17 2024 17:19:44.
filecmp.cpython-36.opt-1.pyc File 8320 bytes April 17 2024 17:19:40.
filecmp.cpython-36.opt-2.pyc File 5903 bytes April 17 2024 17:19:27.
filecmp.cpython-36.pyc File 8320 bytes April 17 2024 17:19:44.
fileinput.cpython-36.opt-1.pyc File 13167 bytes April 17 2024 17:19:40.
fileinput.cpython-36.opt-2.pyc File 7628 bytes April 17 2024 17:19:27.
fileinput.cpython-36.pyc File 13167 bytes April 17 2024 17:19:44.
fnmatch.cpython-36.opt-1.pyc File 2889 bytes April 17 2024 17:19:40.
fnmatch.cpython-36.opt-2.pyc File 1700 bytes April 17 2024 17:19:27.
fnmatch.cpython-36.pyc File 2889 bytes April 17 2024 17:19:44.
formatter.cpython-36.opt-1.pyc File 17594 bytes April 17 2024 17:19:40.
formatter.cpython-36.opt-2.pyc File 15154 bytes April 17 2024 17:19:27.
formatter.cpython-36.pyc File 17594 bytes April 17 2024 17:19:44.
fractions.cpython-36.opt-1.pyc File 18441 bytes April 17 2024 17:19:40.
fractions.cpython-36.opt-2.pyc File 11155 bytes April 17 2024 17:19:27.
fractions.cpython-36.pyc File 18441 bytes April 17 2024 17:19:44.
ftplib.cpython-36.opt-1.pyc File 28372 bytes April 17 2024 17:19:40.
ftplib.cpython-36.opt-2.pyc File 18568 bytes April 17 2024 17:19:27.
ftplib.cpython-36.pyc File 28372 bytes April 17 2024 17:19:44.
functools.cpython-36.opt-1.pyc File 24077 bytes April 17 2024 17:19:44.
functools.cpython-36.opt-2.pyc File 18106 bytes April 17 2024 17:19:27.
functools.cpython-36.pyc File 24077 bytes April 17 2024 17:19:48.
genericpath.cpython-36.opt-1.pyc File 3741 bytes April 17 2024 17:19:44.
genericpath.cpython-36.opt-2.pyc File 2748 bytes April 17 2024 17:19:27.
genericpath.cpython-36.pyc File 3741 bytes April 17 2024 17:19:48.
getopt.cpython-36.opt-1.pyc File 6198 bytes April 17 2024 17:19:43.
getopt.cpython-36.opt-2.pyc File 3644 bytes April 17 2024 17:19:27.
getopt.cpython-36.pyc File 6232 bytes April 17 2024 17:19:47.
getpass.cpython-36.opt-1.pyc File 4192 bytes April 17 2024 17:19:40.
getpass.cpython-36.opt-2.pyc File 3007 bytes April 17 2024 17:19:27.
getpass.cpython-36.pyc File 4192 bytes April 17 2024 17:19:44.
gettext.cpython-36.opt-1.pyc File 14212 bytes April 17 2024 17:19:43.
gettext.cpython-36.opt-2.pyc File 13521 bytes April 17 2024 17:19:27.
gettext.cpython-36.pyc File 14212 bytes April 17 2024 17:19:47.
glob.cpython-36.opt-1.pyc File 4205 bytes April 17 2024 17:19:40.
glob.cpython-36.opt-2.pyc File 3345 bytes April 17 2024 17:19:27.
glob.cpython-36.pyc File 4274 bytes April 17 2024 17:19:44.
gzip.cpython-36.opt-1.pyc File 16241 bytes April 17 2024 17:19:43.
gzip.cpython-36.opt-2.pyc File 12435 bytes April 17 2024 17:19:27.
gzip.cpython-36.pyc File 16241 bytes April 17 2024 17:19:47.
hashlib.cpython-36.opt-1.pyc File 6707 bytes April 17 2024 17:19:44.
hashlib.cpython-36.opt-2.pyc File 6135 bytes April 17 2024 17:19:27.
hashlib.cpython-36.pyc File 6707 bytes April 17 2024 17:19:48.
heapq.cpython-36.opt-1.pyc File 14307 bytes April 17 2024 17:19:40.
heapq.cpython-36.opt-2.pyc File 11317 bytes April 17 2024 17:19:27.
heapq.cpython-36.pyc File 14307 bytes April 17 2024 17:19:44.
hmac.cpython-36.opt-1.pyc File 4851 bytes April 17 2024 17:19:40.
hmac.cpython-36.opt-2.pyc File 3040 bytes April 17 2024 17:19:27.
hmac.cpython-36.pyc File 4851 bytes April 17 2024 17:19:45.
imaplib.cpython-36.opt-1.pyc File 39934 bytes April 17 2024 17:19:43.
imaplib.cpython-36.opt-2.pyc File 27846 bytes April 17 2024 17:19:27.
imaplib.cpython-36.pyc File 42153 bytes April 17 2024 17:19:47.
imghdr.cpython-36.opt-1.pyc File 4165 bytes April 17 2024 17:19:43.
imghdr.cpython-36.opt-2.pyc File 3850 bytes April 17 2024 17:19:27.
imghdr.cpython-36.pyc File 4165 bytes April 17 2024 17:19:47.
imp.cpython-36.opt-1.pyc File 9711 bytes April 17 2024 17:19:40.
imp.cpython-36.opt-2.pyc File 7308 bytes April 17 2024 17:19:27.
imp.cpython-36.pyc File 9711 bytes April 17 2024 17:19:44.
inspect.cpython-36.opt-1.pyc File 79454 bytes April 17 2024 17:19:43.
inspect.cpython-36.opt-2.pyc File 54039 bytes April 17 2024 17:19:27.
inspect.cpython-36.pyc File 79754 bytes April 17 2024 17:19:47.
io.cpython-36.opt-1.pyc File 3402 bytes April 17 2024 17:19:40.
io.cpython-36.opt-2.pyc File 1911 bytes April 17 2024 17:19:27.
io.cpython-36.pyc File 3402 bytes April 17 2024 17:19:44.
ipaddress.cpython-36.opt-1.pyc File 62401 bytes April 17 2024 17:19:43.
ipaddress.cpython-36.opt-2.pyc File 36815 bytes April 17 2024 17:19:27.
ipaddress.cpython-36.pyc File 62401 bytes April 17 2024 17:19:47.
keyword.cpython-36.opt-1.pyc File 1780 bytes April 17 2024 17:19:43.
keyword.cpython-36.opt-2.pyc File 1512 bytes April 17 2024 17:19:27.
keyword.cpython-36.pyc File 1780 bytes April 17 2024 17:19:47.
linecache.cpython-36.opt-1.pyc File 3793 bytes April 17 2024 17:19:40.
linecache.cpython-36.opt-2.pyc File 2688 bytes April 17 2024 17:19:27.
linecache.cpython-36.pyc File 3793 bytes April 17 2024 17:19:44.
locale.cpython-36.opt-1.pyc File 34060 bytes April 17 2024 17:19:43.
locale.cpython-36.opt-2.pyc File 29435 bytes April 17 2024 17:19:27.
locale.cpython-36.pyc File 34060 bytes April 17 2024 17:19:47.
lzma.cpython-36.opt-1.pyc File 12007 bytes April 17 2024 17:19:43.
lzma.cpython-36.opt-2.pyc File 5816 bytes April 17 2024 17:19:27.
lzma.cpython-36.pyc File 12007 bytes April 17 2024 17:19:48.
macpath.cpython-36.opt-1.pyc File 5656 bytes April 17 2024 17:19:40.
macpath.cpython-36.opt-2.pyc File 4390 bytes April 17 2024 17:19:27.
macpath.cpython-36.pyc File 5656 bytes April 17 2024 17:19:44.
macurl2path.cpython-36.opt-1.pyc File 1882 bytes April 17 2024 17:19:40.
macurl2path.cpython-36.opt-2.pyc File 1502 bytes April 17 2024 17:19:27.
macurl2path.cpython-36.pyc File 1882 bytes April 17 2024 17:19:44.
mailbox.cpython-36.opt-1.pyc File 63685 bytes April 17 2024 17:19:43.
mailbox.cpython-36.opt-2.pyc File 54538 bytes April 17 2024 17:19:27.
mailbox.cpython-36.pyc File 63767 bytes April 17 2024 17:19:47.
mailcap.cpython-36.opt-1.pyc File 6493 bytes April 17 2024 17:19:40.
mailcap.cpython-36.opt-2.pyc File 4975 bytes April 17 2024 17:19:27.
mailcap.cpython-36.pyc File 6493 bytes April 17 2024 17:19:44.
mimetypes.cpython-36.opt-1.pyc File 15568 bytes April 17 2024 17:19:43.
mimetypes.cpython-36.opt-2.pyc File 9570 bytes April 17 2024 17:19:27.
mimetypes.cpython-36.pyc File 15568 bytes April 17 2024 17:19:47.
modulefinder.cpython-36.opt-1.pyc File 15319 bytes April 17 2024 17:19:40.
modulefinder.cpython-36.opt-2.pyc File 14478 bytes April 17 2024 17:19:27.
modulefinder.cpython-36.pyc File 15381 bytes April 17 2024 17:19:44.
netrc.cpython-36.opt-1.pyc File 3851 bytes April 17 2024 17:19:40.
netrc.cpython-36.opt-2.pyc File 3613 bytes April 17 2024 17:19:27.
netrc.cpython-36.pyc File 3851 bytes April 17 2024 17:19:45.
nntplib.cpython-36.opt-1.pyc File 33795 bytes April 17 2024 17:19:40.
nntplib.cpython-36.opt-2.pyc File 21254 bytes April 17 2024 17:19:27.
nntplib.cpython-36.pyc File 33795 bytes April 17 2024 17:19:44.
ntpath.cpython-36.opt-1.pyc File 13765 bytes April 17 2024 17:19:40.
ntpath.cpython-36.opt-2.pyc File 11294 bytes April 17 2024 17:19:27.
ntpath.cpython-36.pyc File 13765 bytes April 17 2024 17:19:44.
nturl2path.cpython-36.opt-1.pyc File 1514 bytes April 17 2024 17:19:43.
nturl2path.cpython-36.opt-2.pyc File 1196 bytes April 17 2024 17:19:27.
nturl2path.cpython-36.pyc File 1514 bytes April 17 2024 17:19:47.
numbers.cpython-36.opt-1.pyc File 12157 bytes April 17 2024 17:19:43.
numbers.cpython-36.opt-2.pyc File 8196 bytes April 17 2024 17:19:27.
numbers.cpython-36.pyc File 12157 bytes April 17 2024 17:19:48.
opcode.cpython-36.opt-1.pyc File 5428 bytes April 17 2024 17:19:44.
opcode.cpython-36.opt-2.pyc File 5288 bytes April 17 2024 17:19:27.
opcode.cpython-36.pyc File 5428 bytes April 17 2024 17:19:48.
operator.cpython-36.opt-1.pyc File 13928 bytes April 17 2024 17:19:43.
operator.cpython-36.opt-2.pyc File 11469 bytes April 17 2024 17:19:27.
operator.cpython-36.pyc File 13928 bytes April 17 2024 17:19:47.
optparse.cpython-36.opt-1.pyc File 48001 bytes April 17 2024 17:19:43.
optparse.cpython-36.opt-2.pyc File 35646 bytes April 17 2024 17:19:27.
optparse.cpython-36.pyc File 48069 bytes April 17 2024 17:19:47.
os.cpython-36.opt-1.pyc File 29643 bytes April 17 2024 17:19:40.
os.cpython-36.opt-2.pyc File 17794 bytes April 17 2024 17:19:27.
os.cpython-36.pyc File 29643 bytes April 17 2024 17:19:44.
pathlib.cpython-36.opt-1.pyc File 42022 bytes April 17 2024 17:19:43.
pathlib.cpython-36.opt-2.pyc File 34380 bytes April 17 2024 17:19:27.
pathlib.cpython-36.pyc File 42022 bytes April 17 2024 17:19:47.
pdb.cpython-36.opt-1.pyc File 46052 bytes April 17 2024 17:19:40.
pdb.cpython-36.opt-2.pyc File 31985 bytes April 17 2024 17:19:27.
pdb.cpython-36.pyc File 46109 bytes April 17 2024 17:19:44.
pickle.cpython-36.opt-1.pyc File 42589 bytes April 17 2024 17:19:40.
pickle.cpython-36.opt-2.pyc File 37801 bytes April 17 2024 17:19:27.
pickle.cpython-36.pyc File 42706 bytes April 17 2024 17:19:45.
pickletools.cpython-36.opt-1.pyc File 65184 bytes April 17 2024 17:19:40.
pickletools.cpython-36.opt-2.pyc File 56443 bytes April 17 2024 17:19:27.
pickletools.cpython-36.pyc File 66035 bytes April 17 2024 17:19:44.
pipes.cpython-36.opt-1.pyc File 7823 bytes April 17 2024 17:19:43.
pipes.cpython-36.opt-2.pyc File 4950 bytes April 17 2024 17:19:27.
pipes.cpython-36.pyc File 7823 bytes April 17 2024 17:19:47.
pkgutil.cpython-36.opt-1.pyc File 16276 bytes April 17 2024 17:19:40.
pkgutil.cpython-36.opt-2.pyc File 11016 bytes April 17 2024 17:19:27.
pkgutil.cpython-36.pyc File 16276 bytes April 17 2024 17:19:44.
platform.cpython-36.opt-1.pyc File 28646 bytes April 17 2024 17:19:40.
platform.cpython-36.opt-2.pyc File 19398 bytes April 17 2024 17:19:27.
platform.cpython-36.pyc File 28646 bytes April 17 2024 17:19:44.
plistlib.cpython-36.opt-1.pyc File 28003 bytes April 17 2024 17:19:40.
plistlib.cpython-36.opt-2.pyc File 24749 bytes April 17 2024 17:19:27.
plistlib.cpython-36.pyc File 28070 bytes April 17 2024 17:19:44.
poplib.cpython-36.opt-1.pyc File 13344 bytes April 17 2024 17:19:40.
poplib.cpython-36.opt-2.pyc File 8413 bytes April 17 2024 17:19:27.
poplib.cpython-36.pyc File 13344 bytes April 17 2024 17:19:44.
posixpath.cpython-36.opt-1.pyc File 10438 bytes April 17 2024 17:19:40.
posixpath.cpython-36.opt-2.pyc File 8717 bytes April 17 2024 17:19:27.
posixpath.cpython-36.pyc File 10438 bytes April 17 2024 17:19:44.
pprint.cpython-36.opt-1.pyc File 15784 bytes April 17 2024 17:19:40.
pprint.cpython-36.opt-2.pyc File 13720 bytes April 17 2024 17:19:27.
pprint.cpython-36.pyc File 15839 bytes April 17 2024 17:19:44.
profile.cpython-36.opt-1.pyc File 13710 bytes April 17 2024 17:19:40.
profile.cpython-36.opt-2.pyc File 10728 bytes April 17 2024 17:19:27.
profile.cpython-36.pyc File 13916 bytes April 17 2024 17:19:44.
pstats.cpython-36.opt-1.pyc File 21872 bytes April 17 2024 17:19:40.
pstats.cpython-36.opt-2.pyc File 19418 bytes April 17 2024 17:19:27.
pstats.cpython-36.pyc File 21872 bytes April 17 2024 17:19:44.
pty.cpython-36.opt-1.pyc File 3876 bytes April 17 2024 17:19:40.
pty.cpython-36.opt-2.pyc File 3023 bytes April 17 2024 17:19:27.
pty.cpython-36.pyc File 3876 bytes April 17 2024 17:19:44.
py_compile.cpython-36.opt-1.pyc File 6559 bytes April 17 2024 17:19:43.
py_compile.cpython-36.opt-2.pyc File 2955 bytes April 17 2024 17:19:27.
py_compile.cpython-36.pyc File 6559 bytes April 17 2024 17:19:47.
pyclbr.cpython-36.opt-1.pyc File 8380 bytes April 17 2024 17:19:40.
pyclbr.cpython-36.opt-2.pyc File 5584 bytes April 17 2024 17:19:27.
pyclbr.cpython-36.pyc File 8380 bytes April 17 2024 17:19:44.
pydoc.cpython-36.opt-1.pyc File 83458 bytes April 17 2024 17:19:40.
pydoc.cpython-36.opt-2.pyc File 74257 bytes April 17 2024 17:19:27.
pydoc.cpython-36.pyc File 83511 bytes April 17 2024 17:19:44.
queue.cpython-36.opt-1.pyc File 8770 bytes April 17 2024 17:19:43.
queue.cpython-36.opt-2.pyc File 4980 bytes April 17 2024 17:19:27.
queue.cpython-36.pyc File 8770 bytes April 17 2024 17:19:47.
quopri.cpython-36.opt-1.pyc File 5613 bytes April 17 2024 17:19:43.
quopri.cpython-36.opt-2.pyc File 4577 bytes April 17 2024 17:19:27.
quopri.cpython-36.pyc File 5788 bytes April 17 2024 17:19:47.
random.cpython-36.opt-1.pyc File 19345 bytes April 17 2024 17:19:40.
random.cpython-36.opt-2.pyc File 12804 bytes April 17 2024 17:19:27.
random.cpython-36.pyc File 19345 bytes April 17 2024 17:19:44.
re.cpython-36.opt-1.pyc File 14073 bytes April 17 2024 17:19:40.
re.cpython-36.opt-2.pyc File 5793 bytes April 17 2024 17:19:27.
re.cpython-36.pyc File 14073 bytes April 17 2024 17:19:44.
reprlib.cpython-36.opt-1.pyc File 5415 bytes April 17 2024 17:19:40.
reprlib.cpython-36.opt-2.pyc File 5259 bytes April 17 2024 17:19:27.
reprlib.cpython-36.pyc File 5415 bytes April 17 2024 17:19:44.
rlcompleter.cpython-36.opt-1.pyc File 5795 bytes April 17 2024 17:19:44.
rlcompleter.cpython-36.opt-2.pyc File 3132 bytes April 17 2024 17:19:27.
rlcompleter.cpython-36.pyc File 5795 bytes April 17 2024 17:19:48.
runpy.cpython-36.opt-1.pyc File 7997 bytes April 17 2024 17:19:40.
runpy.cpython-36.opt-2.pyc File 6454 bytes April 17 2024 17:19:27.
runpy.cpython-36.pyc File 7997 bytes April 17 2024 17:19:44.
sched.cpython-36.opt-1.pyc File 6579 bytes April 17 2024 17:19:43.
sched.cpython-36.opt-2.pyc File 3539 bytes April 17 2024 17:19:27.
sched.cpython-36.pyc File 6579 bytes April 17 2024 17:19:47.
secrets.cpython-36.opt-1.pyc File 2177 bytes April 17 2024 17:19:40.
secrets.cpython-36.opt-2.pyc File 1119 bytes April 17 2024 17:19:27.
secrets.cpython-36.pyc File 2177 bytes April 17 2024 17:19:45.
selectors.cpython-36.opt-1.pyc File 17712 bytes April 17 2024 17:19:40.
selectors.cpython-36.opt-2.pyc File 13736 bytes April 17 2024 17:19:27.
selectors.cpython-36.pyc File 17712 bytes April 17 2024 17:19:44.
shelve.cpython-36.opt-1.pyc File 9473 bytes April 17 2024 17:19:43.
shelve.cpython-36.opt-2.pyc File 5320 bytes April 17 2024 17:19:27.
shelve.cpython-36.pyc File 9473 bytes April 17 2024 17:19:47.
shlex.cpython-36.opt-1.pyc File 6985 bytes April 17 2024 17:19:44.
shlex.cpython-36.opt-2.pyc File 6473 bytes April 17 2024 17:19:27.
shlex.cpython-36.pyc File 6985 bytes April 17 2024 17:19:48.
shutil.cpython-36.opt-1.pyc File 30719 bytes April 17 2024 17:19:43.
shutil.cpython-36.opt-2.pyc File 19946 bytes April 17 2024 17:19:27.
shutil.cpython-36.pyc File 30719 bytes April 17 2024 17:19:47.
signal.cpython-36.opt-1.pyc File 2530 bytes April 17 2024 17:19:43.
signal.cpython-36.opt-2.pyc File 2302 bytes April 17 2024 17:19:27.
signal.cpython-36.pyc File 2530 bytes April 17 2024 17:19:47.
site.cpython-36.opt-1.pyc File 16155 bytes April 17 2024 17:19:43.
site.cpython-36.opt-2.pyc File 10605 bytes April 17 2024 17:19:27.
site.cpython-36.pyc File 16155 bytes April 17 2024 17:19:47.
smtpd.cpython-36.opt-1.pyc File 26698 bytes April 17 2024 17:19:40.
smtpd.cpython-36.opt-2.pyc File 24079 bytes April 17 2024 17:19:27.
smtpd.cpython-36.pyc File 26698 bytes April 17 2024 17:19:44.
smtplib.cpython-36.opt-1.pyc File 35431 bytes April 17 2024 17:19:40.
smtplib.cpython-36.opt-2.pyc File 19019 bytes April 17 2024 17:19:27.
smtplib.cpython-36.pyc File 35492 bytes April 17 2024 17:19:44.
sndhdr.cpython-36.opt-1.pyc File 6928 bytes April 17 2024 17:19:43.
sndhdr.cpython-36.opt-2.pyc File 5653 bytes April 17 2024 17:19:27.
sndhdr.cpython-36.pyc File 6928 bytes April 17 2024 17:19:47.
socket.cpython-36.opt-1.pyc File 21988 bytes April 17 2024 17:19:43.
socket.cpython-36.opt-2.pyc File 14554 bytes April 17 2024 17:19:27.
socket.cpython-36.pyc File 22028 bytes April 17 2024 17:19:48.
socketserver.cpython-36.opt-1.pyc File 24265 bytes April 17 2024 17:19:44.
socketserver.cpython-36.opt-2.pyc File 13340 bytes April 17 2024 17:19:27.
socketserver.cpython-36.pyc File 24265 bytes April 17 2024 17:19:48.
sre_compile.cpython-36.opt-1.pyc File 10153 bytes April 17 2024 17:19:40.
sre_compile.cpython-36.opt-2.pyc File 9739 bytes April 17 2024 17:19:27.
sre_compile.cpython-36.pyc File 10293 bytes April 17 2024 17:19:44.
sre_constants.cpython-36.opt-1.pyc File 5987 bytes April 17 2024 17:19:40.
sre_constants.cpython-36.opt-2.pyc File 5562 bytes April 17 2024 17:19:27.
sre_constants.cpython-36.pyc File 5987 bytes April 17 2024 17:19:44.
sre_parse.cpython-36.opt-1.pyc File 20326 bytes April 17 2024 17:19:40.
sre_parse.cpython-36.opt-2.pyc File 20278 bytes April 17 2024 17:19:27.
sre_parse.cpython-36.pyc File 20373 bytes April 17 2024 17:19:44.
ssl.cpython-36.opt-1.pyc File 36517 bytes April 17 2024 17:19:43.
ssl.cpython-36.opt-2.pyc File 26993 bytes April 17 2024 17:19:27.
ssl.cpython-36.pyc File 36517 bytes April 17 2024 17:19:47.
stat.cpython-36.opt-1.pyc File 3866 bytes April 17 2024 17:19:43.
stat.cpython-36.opt-2.pyc File 3188 bytes April 17 2024 17:19:27.
stat.cpython-36.pyc File 3866 bytes April 17 2024 17:19:47.
statistics.cpython-36.opt-1.pyc File 17948 bytes April 17 2024 17:19:40.
statistics.cpython-36.opt-2.pyc File 7261 bytes April 17 2024 17:19:27.
statistics.cpython-36.pyc File 18189 bytes April 17 2024 17:19:44.
string.cpython-36.opt-1.pyc File 7979 bytes April 17 2024 17:19:43.
string.cpython-36.opt-2.pyc File 6873 bytes April 17 2024 17:19:27.
string.cpython-36.pyc File 7979 bytes April 17 2024 17:19:47.
stringprep.cpython-36.opt-1.pyc File 9987 bytes April 17 2024 17:19:40.
stringprep.cpython-36.opt-2.pyc File 9767 bytes April 17 2024 17:19:27.
stringprep.cpython-36.pyc File 10045 bytes April 17 2024 17:19:45.
struct.cpython-36.opt-1.pyc File 327 bytes April 17 2024 17:19:40.
struct.cpython-36.opt-2.pyc File 327 bytes April 17 2024 17:19:27.
struct.cpython-36.pyc File 327 bytes April 17 2024 17:19:44.
subprocess.cpython-36.opt-1.pyc File 35399 bytes April 17 2024 17:19:40.
subprocess.cpython-36.opt-2.pyc File 24685 bytes April 17 2024 17:19:27.
subprocess.cpython-36.pyc File 35500 bytes April 17 2024 17:19:44.
sunau.cpython-36.opt-1.pyc File 16953 bytes April 17 2024 17:19:40.
sunau.cpython-36.opt-2.pyc File 12363 bytes April 17 2024 17:19:27.
sunau.cpython-36.pyc File 16953 bytes April 17 2024 17:19:44.
symbol.cpython-36.opt-1.pyc File 2532 bytes April 17 2024 17:19:40.
symbol.cpython-36.opt-2.pyc File 2456 bytes April 17 2024 17:19:27.
symbol.cpython-36.pyc File 2532 bytes April 17 2024 17:19:44.
symtable.cpython-36.opt-1.pyc File 10336 bytes April 17 2024 17:19:43.
symtable.cpython-36.opt-2.pyc File 9639 bytes April 17 2024 17:19:27.
symtable.cpython-36.pyc File 10443 bytes April 17 2024 17:19:47.
sysconfig.cpython-36.opt-1.pyc File 15942 bytes April 17 2024 17:19:43.
sysconfig.cpython-36.opt-2.pyc File 13372 bytes April 17 2024 17:19:27.
sysconfig.cpython-36.pyc File 15942 bytes April 17 2024 17:19:47.
tabnanny.cpython-36.opt-1.pyc File 6990 bytes April 17 2024 17:19:43.
tabnanny.cpython-36.opt-2.pyc File 6057 bytes April 17 2024 17:19:27.
tabnanny.cpython-36.pyc File 6990 bytes April 17 2024 17:19:47.
tarfile.cpython-36.opt-1.pyc File 62703 bytes April 17 2024 17:19:40.
tarfile.cpython-36.opt-2.pyc File 48904 bytes April 17 2024 17:19:27.
tarfile.cpython-36.pyc File 62703 bytes April 17 2024 17:19:44.
telnetlib.cpython-36.opt-1.pyc File 18112 bytes April 17 2024 17:19:40.
telnetlib.cpython-36.opt-2.pyc File 10602 bytes April 17 2024 17:19:27.
telnetlib.cpython-36.pyc File 18112 bytes April 17 2024 17:19:44.
tempfile.cpython-36.opt-1.pyc File 22242 bytes April 17 2024 17:19:40.
tempfile.cpython-36.opt-2.pyc File 15770 bytes April 17 2024 17:19:27.
tempfile.cpython-36.pyc File 22242 bytes April 17 2024 17:19:44.
textwrap.cpython-36.opt-1.pyc File 13625 bytes April 17 2024 17:19:40.
textwrap.cpython-36.opt-2.pyc File 6328 bytes April 17 2024 17:19:30.
textwrap.cpython-36.pyc File 13699 bytes April 17 2024 17:19:44.
this.cpython-36.opt-1.pyc File 1280 bytes April 17 2024 17:19:40.
this.cpython-36.opt-2.pyc File 1280 bytes April 17 2024 17:19:30.
this.cpython-36.pyc File 1280 bytes April 17 2024 17:19:45.
threading.cpython-36.opt-1.pyc File 36596 bytes April 17 2024 17:19:43.
threading.cpython-36.opt-2.pyc File 20555 bytes April 17 2024 17:19:30.
threading.cpython-36.pyc File 37249 bytes April 17 2024 17:19:47.
timeit.cpython-36.opt-1.pyc File 11618 bytes April 17 2024 17:19:40.
timeit.cpython-36.opt-2.pyc File 5637 bytes April 17 2024 17:19:30.
timeit.cpython-36.pyc File 11618 bytes April 17 2024 17:19:44.
token.cpython-36.opt-1.pyc File 3335 bytes April 17 2024 17:19:40.
token.cpython-36.opt-2.pyc File 3285 bytes April 17 2024 17:19:30.
token.cpython-36.pyc File 3335 bytes April 17 2024 17:19:44.
tokenize.cpython-36.opt-1.pyc File 18616 bytes April 17 2024 17:19:43.
tokenize.cpython-36.opt-2.pyc File 15016 bytes April 17 2024 17:19:30.
tokenize.cpython-36.pyc File 18662 bytes April 17 2024 17:19:47.
trace.cpython-36.opt-1.pyc File 19510 bytes April 17 2024 17:19:40.
trace.cpython-36.opt-2.pyc File 16507 bytes April 17 2024 17:19:30.
trace.cpython-36.pyc File 19510 bytes April 17 2024 17:19:44.
traceback.cpython-36.opt-1.pyc File 19661 bytes April 17 2024 17:19:43.
traceback.cpython-36.opt-2.pyc File 10760 bytes April 17 2024 17:19:30.
traceback.cpython-36.pyc File 19661 bytes April 17 2024 17:19:47.
tracemalloc.cpython-36.opt-1.pyc File 17244 bytes April 17 2024 17:19:43.
tracemalloc.cpython-36.opt-2.pyc File 15828 bytes April 17 2024 17:19:30.
tracemalloc.cpython-36.pyc File 17244 bytes April 17 2024 17:19:47.
tty.cpython-36.opt-1.pyc File 1087 bytes April 17 2024 17:19:40.
tty.cpython-36.opt-2.pyc File 986 bytes April 17 2024 17:19:30.
tty.cpython-36.pyc File 1087 bytes April 17 2024 17:19:44.
types.cpython-36.opt-1.pyc File 8216 bytes April 17 2024 17:19:40.
types.cpython-36.opt-2.pyc File 7049 bytes April 17 2024 17:19:30.
types.cpython-36.pyc File 8216 bytes April 17 2024 17:19:44.
typing.cpython-36.opt-1.pyc File 72913 bytes April 17 2024 17:19:43.
typing.cpython-36.opt-2.pyc File 56062 bytes April 17 2024 17:19:30.
typing.cpython-36.pyc File 73321 bytes April 17 2024 17:19:47.
uu.cpython-36.opt-1.pyc File 3566 bytes April 17 2024 17:19:40.
uu.cpython-36.opt-2.pyc File 3348 bytes April 17 2024 17:19:30.
uu.cpython-36.pyc File 3566 bytes April 17 2024 17:19:44.
uuid.cpython-36.opt-1.pyc File 20797 bytes April 17 2024 17:19:40.
uuid.cpython-36.opt-2.pyc File 14129 bytes April 17 2024 17:19:30.
uuid.cpython-36.pyc File 20933 bytes April 17 2024 17:19:44.
warnings.cpython-36.opt-1.pyc File 12681 bytes April 17 2024 17:19:40.
warnings.cpython-36.opt-2.pyc File 10301 bytes April 17 2024 17:19:30.
warnings.cpython-36.pyc File 13273 bytes April 17 2024 17:19:44.
wave.cpython-36.opt-1.pyc File 17848 bytes April 17 2024 17:19:40.
wave.cpython-36.opt-2.pyc File 11857 bytes April 17 2024 17:19:30.
wave.cpython-36.pyc File 17900 bytes April 17 2024 17:19:44.
weakref.cpython-36.opt-1.pyc File 19128 bytes April 17 2024 17:19:43.
weakref.cpython-36.opt-2.pyc File 15828 bytes April 17 2024 17:19:30.
weakref.cpython-36.pyc File 19158 bytes April 17 2024 17:19:47.
webbrowser.cpython-36.opt-1.pyc File 15779 bytes April 17 2024 17:19:43.
webbrowser.cpython-36.opt-2.pyc File 13910 bytes April 17 2024 17:19:30.
webbrowser.cpython-36.pyc File 15812 bytes April 17 2024 17:19:47.
xdrlib.cpython-36.opt-1.pyc File 8317 bytes April 17 2024 17:19:44.
xdrlib.cpython-36.opt-2.pyc File 7832 bytes April 17 2024 17:19:30.
xdrlib.cpython-36.pyc File 8317 bytes April 17 2024 17:19:48.
zipapp.cpython-36.opt-1.pyc File 5549 bytes April 17 2024 17:19:40.
zipapp.cpython-36.opt-2.pyc File 4373 bytes April 17 2024 17:19:30.
zipapp.cpython-36.pyc File 5549 bytes April 17 2024 17:19:44.
zipfile.cpython-36.opt-1.pyc File 48617 bytes April 17 2024 17:19:44.
zipfile.cpython-36.opt-2.pyc File 42114 bytes April 17 2024 17:19:30.
zipfile.cpython-36.pyc File 48685 bytes April 17 2024 17:19:48.

Reading File: //opt/alt/python36/lib64/python3.6/__pycache__/difflib.cpython-36.pyc

3

� f�I�@s8dZddddddddd	d
ddgZd
dlmZd
dlmZedd�Zdd�Z	Gdd�d�Z
d8dd�Zdd�ZGdd�d�Z
d
dlZejd�jfdd�Zd9dd�Zdd �Zd:d#d	�Zd$d%�Zd;d&d�Zd'd(�Zd<d+d
�Zdefd,d�Zddefd-d.�Zd/Zd0Zd1Zd2ZGd3d�de�Z [d4d�Z!d5d6�Z"e#d7k�r4e"�dS)=ae
Module difflib -- helpers for computing deltas between objects.

Function get_close_matches(word, possibilities, n=3, cutoff=0.6):
    Use SequenceMatcher to return list of the best "good enough" matches.

Function context_diff(a, b):
    For two lists of strings, return a delta in context diff format.

Function ndiff(a, b):
    Return a delta: the difference between `a` and `b` (lists of strings).

Function restore(delta, which):
    Return one of the two sequences that generated an ndiff delta.

Function unified_diff(a, b):
    For two lists of strings, return a delta in unified diff format.

Class SequenceMatcher:
    A flexible class for comparing pairs of sequences of any type.

Class Differ:
    For producing human-readable deltas from sequences of lines of text.

Class HtmlDiff:
    For producing HTML side by side comparison with change highlights.
�get_close_matches�ndiff�restore�SequenceMatcher�Differ�IS_CHARACTER_JUNK�IS_LINE_JUNK�context_diff�unified_diff�
diff_bytes�HtmlDiff�Match�)�nlargest)�
namedtupleza b sizecCs|rd||SdS)Ng@g�?�)�matches�lengthrr�,/opt/alt/python36/lib64/python3.6/difflib.py�_calculate_ratio&src@steZdZdZddd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Z	dd�Z
dd�Zddd�Zdd�Z
dd�Zdd�ZdS) ra�
    SequenceMatcher is a flexible class for comparing pairs of sequences of
    any type, so long as the sequence elements are hashable.  The basic
    algorithm predates, and is a little fancier than, an algorithm
    published in the late 1980's by Ratcliff and Obershelp under the
    hyperbolic name "gestalt pattern matching".  The basic idea is to find
    the longest contiguous matching subsequence that contains no "junk"
    elements (R-O doesn't address junk).  The same idea is then applied
    recursively to the pieces of the sequences to the left and to the right
    of the matching subsequence.  This does not yield minimal edit
    sequences, but does tend to yield matches that "look right" to people.

    SequenceMatcher tries to compute a "human-friendly diff" between two
    sequences.  Unlike e.g. UNIX(tm) diff, the fundamental notion is the
    longest *contiguous* & junk-free matching subsequence.  That's what
    catches peoples' eyes.  The Windows(tm) windiff has another interesting
    notion, pairing up elements that appear uniquely in each sequence.
    That, and the method here, appear to yield more intuitive difference
    reports than does diff.  This method appears to be the least vulnerable
    to synching up on blocks of "junk lines", though (like blank lines in
    ordinary text files, or maybe "<P>" lines in HTML files).  That may be
    because this is the only method of the 3 that has a *concept* of
    "junk" <wink>.

    Example, comparing two strings, and considering blanks to be "junk":

    >>> s = SequenceMatcher(lambda x: x == " ",
    ...                     "private Thread currentThread;",
    ...                     "private volatile Thread currentThread;")
    >>>

    .ratio() returns a float in [0, 1], measuring the "similarity" of the
    sequences.  As a rule of thumb, a .ratio() value over 0.6 means the
    sequences are close matches:

    >>> print(round(s.ratio(), 3))
    0.866
    >>>

    If you're only interested in where the sequences match,
    .get_matching_blocks() is handy:

    >>> for block in s.get_matching_blocks():
    ...     print("a[%d] and b[%d] match for %d elements" % block)
    a[0] and b[0] match for 8 elements
    a[8] and b[17] match for 21 elements
    a[29] and b[38] match for 0 elements

    Note that the last tuple returned by .get_matching_blocks() is always a
    dummy, (len(a), len(b), 0), and this is the only case in which the last
    tuple element (number of elements matched) is 0.

    If you want to know how to change the first sequence into the second,
    use .get_opcodes():

    >>> for opcode in s.get_opcodes():
    ...     print("%6s a[%d:%d] b[%d:%d]" % opcode)
     equal a[0:8] b[0:8]
    insert a[8:8] b[8:17]
     equal a[8:29] b[17:38]

    See the Differ class for a fancy human-friendly file differencer, which
    uses SequenceMatcher both to compare sequences of lines, and to compare
    sequences of characters within similar (near-matching) lines.

    See also function get_close_matches() in this module, which shows how
    simple code building on SequenceMatcher can be used to do useful work.

    Timing:  Basic R-O is cubic time worst case and quadratic time expected
    case.  SequenceMatcher is quadratic time for the worst case and has
    expected-case behavior dependent in a complicated way on how many
    elements the sequences have in common; best case time is linear.

    Methods:

    __init__(isjunk=None, a='', b='')
        Construct a SequenceMatcher.

    set_seqs(a, b)
        Set the two sequences to be compared.

    set_seq1(a)
        Set the first sequence to be compared.

    set_seq2(b)
        Set the second sequence to be compared.

    find_longest_match(alo, ahi, blo, bhi)
        Find longest matching block in a[alo:ahi] and b[blo:bhi].

    get_matching_blocks()
        Return list of triples describing matching subsequences.

    get_opcodes()
        Return list of 5-tuples describing how to turn a into b.

    ratio()
        Return a measure of the sequences' similarity (float in [0,1]).

    quick_ratio()
        Return an upper bound on .ratio() relatively quickly.

    real_quick_ratio()
        Return an upper bound on ratio() very quickly.
    N�TcCs(||_d|_|_||_|j||�dS)a!Construct a SequenceMatcher.

        Optional arg isjunk is None (the default), or a one-argument
        function that takes a sequence element and returns true iff the
        element is junk.  None is equivalent to passing "lambda x: 0", i.e.
        no elements are considered to be junk.  For example, pass
            lambda x: x in " \t"
        if you're comparing lines as sequences of characters, and don't
        want to synch up on blanks or hard tabs.

        Optional arg a is the first of two sequences to be compared.  By
        default, an empty string.  The elements of a must be hashable.  See
        also .set_seqs() and .set_seq1().

        Optional arg b is the second of two sequences to be compared.  By
        default, an empty string.  The elements of b must be hashable. See
        also .set_seqs() and .set_seq2().

        Optional arg autojunk should be set to False to disable the
        "automatic junk heuristic" that treats popular elements as junk
        (see module documentation for more information).
        N)�isjunk�a�b�autojunk�set_seqs)�selfrrrrrrr�__init__�s;zSequenceMatcher.__init__cCs|j|�|j|�dS)z�Set the two sequences to be compared.

        >>> s = SequenceMatcher()
        >>> s.set_seqs("abcd", "bcde")
        >>> s.ratio()
        0.75
        N)�set_seq1�set_seq2)rrrrrrr�s	
zSequenceMatcher.set_seqscCs$||jkrdS||_d|_|_dS)aMSet the first sequence to be compared.

        The second sequence to be compared is not changed.

        >>> s = SequenceMatcher(None, "abcd", "bcde")
        >>> s.ratio()
        0.75
        >>> s.set_seq1("bcde")
        >>> s.ratio()
        1.0
        >>>

        SequenceMatcher computes and caches detailed information about the
        second sequence, so if you want to compare one sequence S against
        many sequences, use .set_seq2(S) once and call .set_seq1(x)
        repeatedly for each of the other sequences.

        See also set_seqs() and set_seq2().
        N)r�matching_blocks�opcodes)rrrrrr�s
zSequenceMatcher.set_seq1cCs2||jkrdS||_d|_|_d|_|j�dS)aMSet the second sequence to be compared.

        The first sequence to be compared is not changed.

        >>> s = SequenceMatcher(None, "abcd", "bcde")
        >>> s.ratio()
        0.75
        >>> s.set_seq2("abcd")
        >>> s.ratio()
        1.0
        >>>

        SequenceMatcher computes and caches detailed information about the
        second sequence, so if you want to compare one sequence S against
        many sequences, use .set_seq2(S) once and call .set_seq1(x)
        repeatedly for each of the other sequences.

        See also set_seqs() and set_seq1().
        N)rrr �
fullbcount�_SequenceMatcher__chain_b)rrrrrr�s
zSequenceMatcher.set_seq2cCs�|j}i|_}x*t|�D]\}}|j|g�}|j|�qWt�|_}|j}|r�x"|j�D]}||�r\|j	|�q\Wx|D]
}||=q|Wt�|_
}t|�}	|jr�|	dkr�|	dd}
x*|j
�D]\}}t|�|
kr�|j	|�q�Wx|D]
}||=q�WdS)N���d�)r�b2j�	enumerate�
setdefault�append�set�bjunkr�keys�addZbpopular�lenr�items)rrr&�i�elt�indicesZjunkrZpopular�nZntestZidxsrrrZ	__chain_b)s,



zSequenceMatcher.__chain_bcCsN|j|j|j|jjf\}}}}||d}	}
}i}g}
x�t||�D]�}|j}i}xn|j|||
�D]Z}||krpqb||krzP||dd�d}||<||krb||d||d|}	}
}qbW|}qBWxb|	|k�r*|
|k�r*|||
d��r*||	d||
dk�r*|	d|
d|d}	}
}q�WxX|	||k�r�|
||k�r�|||
|��r�||	|||
|k�r�|d7}�q.Wxb|	|k�r�|
|k�r�|||
d��r�||	d||
dk�r�|	d|
d|d}	}
}�q�WxV|	||k�r@|
||k�r@|||
|��r@||	|||
|k�r@|d}�q�Wt|	|
|�S)a�Find longest matching block in a[alo:ahi] and b[blo:bhi].

        If isjunk is not defined:

        Return (i,j,k) such that a[i:i+k] is equal to b[j:j+k], where
            alo <= i <= i+k <= ahi
            blo <= j <= j+k <= bhi
        and for all (i',j',k') meeting those conditions,
            k >= k'
            i <= i'
            and if i == i', j <= j'

        In other words, of all maximal matching blocks, return one that
        starts earliest in a, and of all those maximal matching blocks that
        start earliest in a, return the one that starts earliest in b.

        >>> s = SequenceMatcher(None, " abcd", "abcd abcd")
        >>> s.find_longest_match(0, 5, 0, 9)
        Match(a=0, b=4, size=5)

        If isjunk is defined, first the longest matching block is
        determined as above, but with the additional restriction that no
        junk element appears in the block.  Then that block is extended as
        far as possible by matching (only) junk elements on both sides.  So
        the resulting block never matches on junk except as identical junk
        happens to be adjacent to an "interesting" match.

        Here's the same example as before, but considering blanks to be
        junk.  That prevents " abcd" from matching the " abcd" at the tail
        end of the second sequence directly.  Instead only the "abcd" can
        match, and matches the leftmost "abcd" in the second sequence:

        >>> s = SequenceMatcher(lambda x: x==" ", " abcd", "abcd abcd")
        >>> s.find_longest_match(0, 5, 0, 9)
        Match(a=1, b=0, size=4)

        If no blocks match, return (alo, blo, 0).

        >>> s = SequenceMatcher(None, "ab", "c")
        >>> s.find_longest_match(0, 2, 0, 1)
        Match(a=0, b=0, size=0)
        r
r%)rrr&r+�__contains__�range�getr)r�alo�ahi�blo�bhirrr&ZisbjunkZbestiZbestjZbestsizeZj2lenZnothingr0Zj2lengetZnewj2len�j�krrr�find_longest_matchPsB8$ 	"z"SequenceMatcher.find_longest_matchcCs�|jdk	r|jSt|j�t|j�}}d|d|fg}g}x�|r�|j�\}}}}|j||||�\}	}
}}|r:|j|�||	kr�||
kr�|j||	||
f�|	||kr:|
||kr:|j|	|||
||f�q:W|j�d}
}}g}x^|D]V\}}}|
||k�r|||k�r||7}q�|�r2|j|
||f�|||}
}}q�W|�r\|j|
||f�|j||df�tt	t
j|��|_|jS)aReturn list of triples describing matching subsequences.

        Each triple is of the form (i, j, n), and means that
        a[i:i+n] == b[j:j+n].  The triples are monotonically increasing in
        i and in j.  New in Python 2.5, it's also guaranteed that if
        (i, j, n) and (i', j', n') are adjacent triples in the list, and
        the second is not the last triple in the list, then i+n != i' or
        j+n != j'.  IOW, adjacent triples never describe adjacent equal
        blocks.

        The last triple is a dummy, (len(a), len(b), 0), and is the only
        triple with n==0.

        >>> s = SequenceMatcher(None, "abxcd", "abcd")
        >>> list(s.get_matching_blocks())
        [Match(a=0, b=0, size=2), Match(a=3, b=2, size=2), Match(a=5, b=4, size=0)]
        Nr
)rr.rr�popr=r)�sort�list�mapr�_make)r�la�lbZqueuerr7r8r9r:r0r;r<�x�i1�j1Zk1Znon_adjacent�i2�j2Zk2rrr�get_matching_blocks�s8


z#SequenceMatcher.get_matching_blockscCs�|jdk	r|jSd}}g|_}x�|j�D]�\}}}d}||krP||krPd}n||kr^d}n||krjd}|r�|j|||||f�||||}}|r,|jd||||f�q,W|S)a[Return list of 5-tuples describing how to turn a into b.

        Each tuple is of the form (tag, i1, i2, j1, j2).  The first tuple
        has i1 == j1 == 0, and remaining tuples have i1 == the i2 from the
        tuple preceding it, and likewise for j1 == the previous j2.

        The tags are strings, with these meanings:

        'replace':  a[i1:i2] should be replaced by b[j1:j2]
        'delete':   a[i1:i2] should be deleted.
                    Note that j1==j2 in this case.
        'insert':   b[j1:j2] should be inserted at a[i1:i1].
                    Note that i1==i2 in this case.
        'equal':    a[i1:i2] == b[j1:j2]

        >>> a = "qabxcd"
        >>> b = "abycdf"
        >>> s = SequenceMatcher(None, a, b)
        >>> for tag, i1, i2, j1, j2 in s.get_opcodes():
        ...    print(("%7s a[%d:%d] (%s) b[%d:%d] (%s)" %
        ...           (tag, i1, i2, a[i1:i2], j1, j2, b[j1:j2])))
         delete a[0:1] (q) b[0:0] ()
          equal a[1:3] (ab) b[0:2] (ab)
        replace a[3:4] (x) b[2:3] (y)
          equal a[4:6] (cd) b[3:5] (cd)
         insert a[6:6] () b[5:6] (f)
        Nr
r�replace�delete�insert�equal)r rJr))rr0r;Zanswer�ai�bj�size�tagrrr�get_opcodess$

zSequenceMatcher.get_opcodes�c

csr|j�}|sdg}|dddkrZ|d\}}}}}|t|||�|t|||�|f|d<|dddkr�|d\}}}}}||t|||�|t|||�f|d<||}g}	x�|D]�\}}}}}|dko�|||k�r(|	j||t|||�|t|||�f�|	Vg}	t|||�t|||�}}|	j|||||f�q�W|	�rnt|	�dk�ob|	dddk�rn|	VdS)	a� Isolate change clusters by eliminating ranges with no changes.

        Return a generator of groups with up to n lines of context.
        Each group is in the same format as returned by get_opcodes().

        >>> from pprint import pprint
        >>> a = list(map(str, range(1,40)))
        >>> b = a[:]
        >>> b[8:8] = ['i']     # Make an insertion
        >>> b[20] += 'x'       # Make a replacement
        >>> b[23:28] = []      # Make a deletion
        >>> b[30] += 'y'       # Make another replacement
        >>> pprint(list(SequenceMatcher(None,a,b).get_grouped_opcodes()))
        [[('equal', 5, 8, 5, 8), ('insert', 8, 8, 8, 9), ('equal', 8, 11, 9, 12)],
         [('equal', 16, 19, 17, 20),
          ('replace', 19, 20, 20, 21),
          ('equal', 20, 22, 21, 23),
          ('delete', 22, 27, 23, 23),
          ('equal', 27, 30, 23, 26)],
         [('equal', 31, 34, 27, 30),
          ('replace', 34, 35, 30, 31),
          ('equal', 35, 38, 31, 34)]]
        rNr
r%N)rNr
r%r
r%���rUrU)rS�max�minr)r.)
rr3ZcodesrRrFrHrGrIZnn�grouprrr�get_grouped_opcodes<s(&&((z#SequenceMatcher.get_grouped_opcodescCs0tdd�|j�D��}t|t|j�t|j��S)a�Return a measure of the sequences' similarity (float in [0,1]).

        Where T is the total number of elements in both sequences, and
        M is the number of matches, this is 2.0*M / T.
        Note that this is 1 if the sequences are identical, and 0 if
        they have nothing in common.

        .ratio() is expensive to compute if you haven't already computed
        .get_matching_blocks() or .get_opcodes(), in which case you may
        want to try .quick_ratio() or .real_quick_ratio() first to get an
        upper bound.

        >>> s = SequenceMatcher(None, "abcd", "bcde")
        >>> s.ratio()
        0.75
        >>> s.quick_ratio()
        0.75
        >>> s.real_quick_ratio()
        1.0
        css|]}|dVqdS)r%NrUr)�.0Ztriplerrr�	<genexpr>�sz(SequenceMatcher.ratio.<locals>.<genexpr>)�sumrJrr.rr)rrrrr�rationszSequenceMatcher.ratiocCs�|jdkr8i|_}x"|jD]}|j|d�d||<qW|j}i}|jd}}xH|jD]>}||�rl||}n|j|d�}|d||<|dkrV|d}qVWt|t|j�t|j��S)z�Return an upper bound on ratio() relatively quickly.

        This isn't defined beyond that it is an upper bound on .ratio(), and
        is faster to compute.
        Nr
r%)r!rr6r4rrr.)rr!r1ZavailZavailhasrZnumbrrr�quick_ratio�s



zSequenceMatcher.quick_ratiocCs*t|j�t|j�}}tt||�||�S)z�Return an upper bound on ratio() very quickly.

        This isn't defined beyond that it is an upper bound on .ratio(), and
        is faster to compute than either .ratio() or .quick_ratio().
        )r.rrrrW)rrCrDrrr�real_quick_ratio�sz SequenceMatcher.real_quick_ratio)NrrT)rT)�__name__�
__module__�__qualname__�__doc__rrrrr"r=rJrSrYr]r^r_rrrrr+sj
@,'nG7
2rT�333333�?cCs�|dkstd|f��d|ko(dkns<td|f��g}t�}|j|�xL|D]D}|j|�|j�|krV|j�|krV|j�|krV|j|j�|f�qVWt||�}dd�|D�S)a�Use SequenceMatcher to return list of the best "good enough" matches.

    word is a sequence for which close matches are desired (typically a
    string).

    possibilities is a list of sequences against which to match word
    (typically a list of strings).

    Optional arg n (default 3) is the maximum number of close matches to
    return.  n must be > 0.

    Optional arg cutoff (default 0.6) is a float in [0, 1].  Possibilities
    that don't score at least that similar to word are ignored.

    The best (no more than n) matches among the possibilities are returned
    in a list, sorted by similarity score, most similar first.

    >>> get_close_matches("appel", ["ape", "apple", "peach", "puppy"])
    ['apple', 'ape']
    >>> import keyword as _keyword
    >>> get_close_matches("wheel", _keyword.kwlist)
    ['while']
    >>> get_close_matches("Apple", _keyword.kwlist)
    []
    >>> get_close_matches("accept", _keyword.kwlist)
    ['except']
    r
zn must be > 0: %rgg�?z cutoff must be in [0.0, 1.0]: %rcSsg|]\}}|�qSrr)rZZscorerErrr�
<listcomp>�sz%get_close_matches.<locals>.<listcomp>)	�
ValueErrorrrrr_r^r]r)�	_nlargest)ZwordZ
possibilitiesr3�cutoff�result�srErrrr�s



cCs4dt|�}}x ||kr.|||kr.|d7}qW|S)z}
    Return number of `ch` characters at the start of `line`.

    Example:

    >>> _count_leading('   abc', ' ')
    3
    r
r%)r.)�line�chr0r3rrr�_count_leading�s
rmc@sJeZdZdZddd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dS)ra�

    Differ is a class for comparing sequences of lines of text, and
    producing human-readable differences or deltas.  Differ uses
    SequenceMatcher both to compare sequences of lines, and to compare
    sequences of characters within similar (near-matching) lines.

    Each line of a Differ delta begins with a two-letter code:

        '- '    line unique to sequence 1
        '+ '    line unique to sequence 2
        '  '    line common to both sequences
        '? '    line not present in either input sequence

    Lines beginning with '? ' attempt to guide the eye to intraline
    differences, and were not present in either input sequence.  These lines
    can be confusing if the sequences contain tab characters.

    Note that Differ makes no claim to produce a *minimal* diff.  To the
    contrary, minimal diffs are often counter-intuitive, because they synch
    up anywhere possible, sometimes accidental matches 100 pages apart.
    Restricting synch points to contiguous matches preserves some notion of
    locality, at the occasional cost of producing a longer diff.

    Example: Comparing two texts.

    First we set up the texts, sequences of individual single-line strings
    ending with newlines (such sequences can also be obtained from the
    `readlines()` method of file-like objects):

    >>> text1 = '''  1. Beautiful is better than ugly.
    ...   2. Explicit is better than implicit.
    ...   3. Simple is better than complex.
    ...   4. Complex is better than complicated.
    ... '''.splitlines(keepends=True)
    >>> len(text1)
    4
    >>> text1[0][-1]
    '\n'
    >>> text2 = '''  1. Beautiful is better than ugly.
    ...   3.   Simple is better than complex.
    ...   4. Complicated is better than complex.
    ...   5. Flat is better than nested.
    ... '''.splitlines(keepends=True)

    Next we instantiate a Differ object:

    >>> d = Differ()

    Note that when instantiating a Differ object we may pass functions to
    filter out line and character 'junk'.  See Differ.__init__ for details.

    Finally, we compare the two:

    >>> result = list(d.compare(text1, text2))

    'result' is a list of strings, so let's pretty-print it:

    >>> from pprint import pprint as _pprint
    >>> _pprint(result)
    ['    1. Beautiful is better than ugly.\n',
     '-   2. Explicit is better than implicit.\n',
     '-   3. Simple is better than complex.\n',
     '+   3.   Simple is better than complex.\n',
     '?     ++\n',
     '-   4. Complex is better than complicated.\n',
     '?            ^                     ---- ^\n',
     '+   4. Complicated is better than complex.\n',
     '?           ++++ ^                      ^\n',
     '+   5. Flat is better than nested.\n']

    As a single multi-line string it looks like this:

    >>> print(''.join(result), end="")
        1. Beautiful is better than ugly.
    -   2. Explicit is better than implicit.
    -   3. Simple is better than complex.
    +   3.   Simple is better than complex.
    ?     ++
    -   4. Complex is better than complicated.
    ?            ^                     ---- ^
    +   4. Complicated is better than complex.
    ?           ++++ ^                      ^
    +   5. Flat is better than nested.

    Methods:

    __init__(linejunk=None, charjunk=None)
        Construct a text differencer, with optional filters.

    compare(a, b)
        Compare two sequences of lines; generate the resulting delta.
    NcCs||_||_dS)a�
        Construct a text differencer, with optional filters.

        The two optional keyword parameters are for filter functions:

        - `linejunk`: A function that should accept a single string argument,
          and return true iff the string is junk. The module-level function
          `IS_LINE_JUNK` may be used to filter out lines without visible
          characters, except for at most one splat ('#').  It is recommended
          to leave linejunk None; the underlying SequenceMatcher class has
          an adaptive notion of "noise" lines that's better than any static
          definition the author has ever been able to craft.

        - `charjunk`: A function that should accept a string of length 1. The
          module-level function `IS_CHARACTER_JUNK` may be used to filter out
          whitespace characters (a blank or tab; **note**: bad idea to include
          newline in this!).  Use of IS_CHARACTER_JUNK is recommended.
        N)�linejunk�charjunk)rrnrorrrrMszDiffer.__init__c
cs�t|j||�}x�|j�D]�\}}}}}|dkrD|j||||||�}	n\|dkr^|jd|||�}	nB|dkrx|jd|||�}	n(|dkr�|jd|||�}	ntd|f��|	Ed	HqWd	S)
a�
        Compare two sequences of lines; generate the resulting delta.

        Each sequence must contain individual single-line strings ending with
        newlines. Such sequences can be obtained from the `readlines()` method
        of file-like objects.  The delta generated also consists of newline-
        terminated strings, ready to be printed as-is via the writeline()
        method of a file-like object.

        Example:

        >>> print(''.join(Differ().compare('one\ntwo\nthree\n'.splitlines(True),
        ...                                'ore\ntree\nemu\n'.splitlines(True))),
        ...       end="")
        - one
        ?  ^
        + ore
        ?  ^
        - two
        - three
        ?  -
        + tree
        + emu
        rKrL�-rM�+rN� zunknown tag %rN)rrnrS�_fancy_replace�_dumprf)
rrr�cruncherrRr7r8r9r:�grrr�comparedszDiffer.compareccs*x$t||�D]}d|||fVqWdS)z4Generate comparison results for a same-tagged range.z%s %sN)r5)rrRrE�lo�hir0rrrrt�szDiffer._dumpc
cs�||kr||kst�||||krF|jd|||�}|jd|||�}n |jd|||�}|jd|||�}x||fD]}	|	EdHqpWdS)Nrqrp)�AssertionErrorrt)
rrr7r8rr9r:�first�secondrvrrr�_plain_replace�szDiffer._plain_replaceccsHd\}}t|j�}	d\}
}x�t||�D]�}||}
|	j|
�xxt||�D]j}||}||
krp|
dkrH||}
}qH|	j|�|	j�|krH|	j�|krH|	j�|krH|	j�||}}}qHWq&W||k�r�|
dkr�|j||||||�EdHdS|
|d}}}nd}
|j	||||||�EdH||||}}|
dk�rd}}|	j
||�x�|	j�D]�\}}}}}||||}}|dk�r�|d|7}|d|7}nb|dk�r�|d	|7}nJ|d
k�r�|d|7}n2|dk�r�|d
|7}|d
|7}ntd|f���qTW|j
||||�EdHn
d|V|j	||d|||d|�EdHdS)aL
        When replacing one block of lines with another, search the blocks
        for *similar* lines; the best-matching pair (if any) is used as a
        synch point, and intraline difference marking is done on the
        similar pair. Lots of work, but often worth it.

        Example:

        >>> d = Differ()
        >>> results = d._fancy_replace(['abcDefghiJkl\n'], 0, 1,
        ...                            ['abcdefGhijkl\n'], 0, 1)
        >>> print(''.join(results), end="")
        - abcDefghiJkl
        ?    ^  ^  ^
        + abcdefGhijkl
        ?    ^  ^  ^
        �G�z��?��?Ng�?rrK�^rLrprMrqrNrrzunknown tag %rz  r%)r~r)NN)rror5rrr_r^r]r}�
_fancy_helperrrSrf�_qformat)rrr7r8rr9r:Z
best_ratiorhruZeqiZeqjr;rPr0rOZbest_iZbest_jZaeltZbelt�atags�btagsrRZai1Zai2Zbj1Zbj2rCrDrrrrs�sX










zDiffer._fancy_replaceccsbg}||kr<||kr*|j||||||�}qT|jd|||�}n||krT|jd|||�}|EdHdS)Nrprq)rsrt)rrr7r8rr9r:rvrrrr��szDiffer._fancy_helperccs�tt|d�t|d��}t|t|d|�d��}t|t|d|�d��}||d�j�}||d�j�}d|V|r�dd||fVd|V|r�dd||fVdS)a�
        Format "?" output and deal with leading tabs.

        Example:

        >>> d = Differ()
        >>> results = d._qformat('\tabcDefghiJkl\n', '\tabcdefGhijkl\n',
        ...                      '  ^ ^  ^      ', '  ^ ^  ^      ')
        >>> for line in results: print(repr(line))
        ...
        '- \tabcDefghiJkl\n'
        '? \t ^ ^  ^\n'
        '+ \tabcdefGhijkl\n'
        '? \t ^ ^  ^\n'
        �	Nrrz- z? %s%s
z+ )rWrm�rstrip)rZalineZbliner�r��commonrrrr�
s


zDiffer._qformat)NN)r`rarbrcrrwrtr}rsr�r�rrrrr�s\
)^Nz
\s*(?:#\s*)?$cCs||�dk	S)z�
    Return 1 for ignorable line: iff `line` is blank or contains a single '#'.

    Examples:

    >>> IS_LINE_JUNK('\n')
    True
    >>> IS_LINE_JUNK('  #   \n')
    True
    >>> IS_LINE_JUNK('hello\n')
    False
    Nr)rkZpatrrrr>s� 	cCs||kS)z�
    Return 1 for ignorable character: iff `ch` is a space or tab.

    Examples:

    >>> IS_CHARACTER_JUNK(' ')
    True
    >>> IS_CHARACTER_JUNK('\t')
    True
    >>> IS_CHARACTER_JUNK('\n')
    False
    >>> IS_CHARACTER_JUNK('x')
    False
    r)rlZwsrrrrNscCs:|d}||}|dkr"dj|�S|s.|d8}dj||�S)z Convert range to the "ed" formatr%z{}z{},{})�format)�start�stop�	beginningrrrr�_format_range_unifiedes
r�r�
ccsht|||||||�d}�xHtd||�j|�D�]0}	|s�d}|rJdj|�nd}
|r\dj|�nd}dj||
|�Vdj|||�V|	d|	d}}
t|d	|
d
�}t|d|
d�}d
j|||�Vx�|	D]�\}}}}}|dk�rx|||�D]}d|Vq�Wq�|dk�r2x |||�D]}d|V�qW|dkr�x |||�D]}d|V�qHWq�Wq.WdS)a�
    Compare two sequences of lines; generate the delta as a unified diff.

    Unified diffs are a compact way of showing line changes and a few
    lines of context.  The number of context lines is set by 'n' which
    defaults to three.

    By default, the diff control lines (those with ---, +++, or @@) are
    created with a trailing newline.  This is helpful so that inputs
    created from file.readlines() result in diffs that are suitable for
    file.writelines() since both the inputs and outputs have trailing
    newlines.

    For inputs that do not have trailing newlines, set the lineterm
    argument to "" so that the output will be uniformly newline free.

    The unidiff format normally has a header for filenames and modification
    times.  Any or all of these may be specified using strings for
    'fromfile', 'tofile', 'fromfiledate', and 'tofiledate'.
    The modification times are normally expressed in the ISO 8601 format.

    Example:

    >>> for line in unified_diff('one two three four'.split(),
    ...             'zero one tree four'.split(), 'Original', 'Current',
    ...             '2005-01-26 23:30:50', '2010-04-02 10:20:52',
    ...             lineterm=''):
    ...     print(line)                 # doctest: +NORMALIZE_WHITESPACE
    --- Original        2005-01-26 23:30:50
    +++ Current         2010-04-02 10:20:52
    @@ -1,4 +1,4 @@
    +zero
     one
    -two
    -three
    +tree
     four
    FNTz	{}rz
--- {}{}{}z
+++ {}{}{}r
r%�rT�z@@ -{} +{} @@{}rNrrrKrLrprMrqrU>rLrK>rKrM)�_check_typesrrYr�r�)rr�fromfile�tofile�fromfiledate�
tofiledater3�lineterm�startedrX�fromdate�todater{�last�file1_range�file2_rangerRrFrHrGrIrkrrrr	ps0)

cCsB|d}||}|s|d8}|dkr.dj|�Sdj|||d�S)z Convert range to the "ed" formatr%z{}z{},{})r�)r�r�r�rrrr�_format_range_context�s
r�ccs�t|||||||�tddddd�}d}	�xztd||�j|�D�]b}
|	s�d}	|rZd	j|�nd
}|rld	j|�nd
}dj|||�Vdj|||�V|
d
|
d}
}d|Vt|
d|d�}dj||�Vtdd�|
D���r&xD|
D]<\}}}}}|dkr�x$|||�D]}|||V�q
Wq�Wt|
d|d�}dj||�Vtdd�|
D��r>xH|
D]@\}}}}}|dk�r^x$|||�D]}|||V�q�W�q^Wq>WdS)ah
    Compare two sequences of lines; generate the delta as a context diff.

    Context diffs are a compact way of showing line changes and a few
    lines of context.  The number of context lines is set by 'n' which
    defaults to three.

    By default, the diff control lines (those with *** or ---) are
    created with a trailing newline.  This is helpful so that inputs
    created from file.readlines() result in diffs that are suitable for
    file.writelines() since both the inputs and outputs have trailing
    newlines.

    For inputs that do not have trailing newlines, set the lineterm
    argument to "" so that the output will be uniformly newline free.

    The context diff format normally has a header for filenames and
    modification times.  Any or all of these may be specified using
    strings for 'fromfile', 'tofile', 'fromfiledate', and 'tofiledate'.
    The modification times are normally expressed in the ISO 8601 format.
    If not specified, the strings default to blanks.

    Example:

    >>> print(''.join(context_diff('one\ntwo\nthree\nfour\n'.splitlines(True),
    ...       'zero\none\ntree\nfour\n'.splitlines(True), 'Original', 'Current')),
    ...       end="")
    *** Original
    --- Current
    ***************
    *** 1,4 ****
      one
    ! two
    ! three
      four
    --- 1,4 ----
    + zero
      one
    ! tree
      four
    z+ z- z! z  )rMrLrKrNFNTz	{}rz
*** {}{}{}z
--- {}{}{}r
r%z***************r�z
*** {} ****{}css |]\}}}}}|dkVqdS)rKrLN>rLrKr)rZrR�_rrrr[szcontext_diff.<locals>.<genexpr>rMrTr�z
--- {} ----{}css |]\}}}}}|dkVqdS)rKrMN>rKrMr)rZrRr�rrrr[srLrU)r��dictrrYr�r��any)rrr�r�r�r�r3r��prefixr�rXr�r�r{r�r�rRrFrHr�rkr�rGrIrrrr�s4,

cGs�|r2t|dt�r2tdt|d�j|df��|rdt|dt�rdtdt|d�j|df��x$|D]}t|t�sjtd|f��qjWdS)Nr
z)lines to compare must be str, not %s (%r)z"all arguments must be str, not: %r)�
isinstance�str�	TypeError�typer`)rr�args�argrrrr�s

r���
c		cs�dd�}	tt|	|��}tt|	|��}|	|�}|	|�}|	|�}|	|�}|	|�}|||||||||�}
x|
D]}|jdd�VqhWdS)a�
    Compare `a` and `b`, two sequences of lines represented as bytes rather
    than str. This is a wrapper for `dfunc`, which is typically either
    unified_diff() or context_diff(). Inputs are losslessly converted to
    strings so that `dfunc` only has to worry about strings, and encoded
    back to bytes on return. This is necessary to compare files with
    unknown or inconsistent encoding. All other inputs (except `n`) must be
    bytes rather than str.
    cSsPy|jdd�Stk
rJ}z"dt|�j|f}t|�|�WYdd}~XnXdS)N�ascii�surrogateescapez(all arguments must be bytes, not %s (%r))�decode�AttributeErrorr�r`r�)rj�err�msgrrrr�-szdiff_bytes.<locals>.decoder�r�N)r@rA�encode)Zdfuncrrr�r�r�r�r3r�r��linesrkrrrr
"s
cCst||�j||�S)aJ
    Compare `a` and `b` (lists of strings); return a `Differ`-style delta.

    Optional keyword parameters `linejunk` and `charjunk` are for filter
    functions, or can be None:

    - linejunk: A function that should accept a single string argument and
      return true iff the string is junk.  The default is None, and is
      recommended; the underlying SequenceMatcher class has an adaptive
      notion of "noise" lines.

    - charjunk: A function that accepts a character (string of length
      1), and returns true iff the character is junk. The default is
      the module-level function IS_CHARACTER_JUNK, which filters out
      whitespace characters (a blank or tab; note: it's a bad idea to
      include newline in this!).

    Tools/scripts/ndiff.py is a command-line front-end to this function.

    Example:

    >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
    ...              'ore\ntree\nemu\n'.splitlines(keepends=True))
    >>> print(''.join(diff), end="")
    - one
    ?  ^
    + ore
    ?  ^
    - two
    - three
    ?  -
    + tree
    + emu
    )rrw)rrrnrorrrr@s#c#s�ddl}|jd��t||||��ddgf�fdd�	���fdd���fdd	�}|�}|dkrj|EdH�n.|d
7}d}�xddg|}	}
d}xR|dkr�yt|�\}}
}Wntk
r�dSX|	|}||
|f|
|<|	d
7}	q�W|	|k�r�dV|}n|	}d}	x.|�r.|	|}|	d
7}	|
|V|d
8}�qW|d
}yDx>|�rxt|�\}}
}|�r`|d
}n|d
8}||
|fV�q<WWqztk
�r�dSXqzWdS)
a�Returns generator yielding marked up from/to side by side differences.

    Arguments:
    fromlines -- list of text lines to compared to tolines
    tolines -- list of text lines to be compared to fromlines
    context -- number of context lines to display on each side of difference,
               if None, all from/to text lines will be generated.
    linejunk -- passed on to ndiff (see ndiff documentation)
    charjunk -- passed on to ndiff (see ndiff documentation)

    This function returns an iterator which returns a tuple:
    (from line tuple, to line tuple, boolean flag)

    from/to line tuple -- (line num, line text)
        line num -- integer or None (to indicate a context separation)
        line text -- original line text with following markers inserted:
            '\0+' -- marks start of added text
            '\0-' -- marks start of deleted text
            '\0^' -- marks start of changed text
            '\1' -- marks end of added/deleted/changed text

    boolean flag -- None indicates context separation, True indicates
        either "from" or "to" line contains a change, otherwise False.

    This function/iterator was originally developed to generate side by side
    file difference for making HTML pages (see HtmlDiff class for example
    usage).

    Note, this function utilizes the ndiff function to generate the side by
    side difference markup.  Optional ndiff arguments may be passed to this
    function and they in turn will be passed to ndiff.
    r
Nz
(\++|\-+|\^+)cs�||d7<|dkr2|||jd�dd�fS|dkr�|jd�|jd�}}g}|fdd�}�j||�xHt|�D]<\}\}	}
|d|	�d|||	|
�d	||
d�}qvW|dd�}n*|jd�dd�}|s�d
}d||d	}|||fS)aReturns line of text with user's change markup and line formatting.

        lines -- list of lines from the ndiff generator to produce a line of
                 text from.  When producing the line of text to return, the
                 lines used are removed from this list.
        format_key -- '+' return first line in list with "add" markup around
                          the entire line.
                      '-' return first line in list with "delete" markup around
                          the entire line.
                      '?' return first line in list with add/delete/change
                          intraline markup (indices obtained from second line)
                      None return first line in list with no markup
        side -- indice into the num_lines list (0=from,1=to)
        num_lines -- from/to current line number.  This is NOT intended to be a
                     passed parameter.  It is present as a keyword argument to
                     maintain memory of the current line numbers between calls
                     of this function.

        Note, this function is purposefully not defined at the module scope so
        that data it needs from its parent function (within whose context it
        is defined) does not need to be of module scope.
        r%Nr
r��?cSs&|j|jd�d|j�g�|jd�S)Nr%r
)r)rX�span)Zmatch_object�sub_inforrr�record_sub_info�sz3_mdiff.<locals>._make_line.<locals>.record_sub_info��rr)r>�sub�reversed)r�Z
format_key�sideZ	num_lines�textZmarkersr�r��keyZbegin�end)�	change_rerr�
_make_line�s 4z_mdiff.<locals>._make_linec3s�g}d\}}�xlx t|�dkr0|jt�d��qWdjdd�|D��}|jd�rX|}�n�|jd�r��|dd��|dd	�d
fVq�n�|jd�r�|d	8}�|dd�d
d
fVq�nl|jd�rވ|dd�d
}}|d	d}}�n>|jd��r�|d
d��|dd	�d
fVq�n|jd��r8�|dd��|d
d	�d
fVqn�|jd��rd|d	8}�|dd�d
d
fVqn�|jd��r�|d	7}d
�|dd	�d
fVqn�|jd��r�d
�|dd	�}}|d	d}}n^|jd��r�|d	7}d
�|dd	�d
fVqn2|jd��r�|d
d
�d
d��|d
d	�dfVqx|dk�r:|d	7}dV�qWx|dk�rZ|d	8}d V�q>W|jd��rld
S||d
fVqWd
S)!a�Yields from/to lines of text with a change indication.

        This function is an iterator.  It itself pulls lines from a
        differencing iterator, processes them and yields them.  When it can
        it yields both a "from" and a "to" line, otherwise it will yield one
        or the other.  In addition to yielding the lines of from/to text, a
        boolean flag is yielded to indicate if the text line(s) have
        differences in them.

        Note, this function is purposefully not defined at the module scope so
        that data it needs from its parent function (within whose context it
        is defined) does not need to be of module scope.
        r
r��XrcSsg|]}|d�qS)r
r)rZrkrrrre�sz2_mdiff.<locals>._line_iterator.<locals>.<listcomp>z-?+?r�r%Tz--++rpN�--?+�--+�- z-+?z-?+z+--rq�+ �+-rrFr�)r
r
)r�r�r�)r�r��rr�)Nr�T�rr�)r�NT)r.r)�next�join�
startswith)r�Znum_blanks_pendingZnum_blanks_to_yieldrj�	from_line�to_line)r��diff_lines_iteratorrr�_line_iterator�sf



$z_mdiff.<locals>._line_iteratorc3s���}gg}}x�xpt|�dks,t|�dkr�yt|�\}}}Wntk
rRdSX|dk	rj|j||f�|dk	r|j||f�qW|jd�\}}|jd�\}}|||p�|fVqWdS)atYields from/to lines of text with a change indication.

        This function is an iterator.  It itself pulls lines from the line
        iterator.  Its difference from that iterator is that this function
        always yields a pair of from/to text lines (with the change
        indication).  If necessary it will collect single from/to lines
        until it has a matching pair from/to pair to yield.

        Note, this function is purposefully not defined at the module scope so
        that data it needs from its parent function (within whose context it
        is defined) does not need to be of module scope.
        r
N)r.r��
StopIterationr)r>)Z
line_iterator�	fromlines�tolinesr�r��
found_diffZfromDiffZto_diff)r�rr�_line_pair_iterators

z#_mdiff.<locals>._line_pair_iteratorr%F)NNN)�re�compilerr�r�)r�r��contextrnror�r�Zline_pair_iteratorZlines_to_write�indexZcontextLinesr�r�r�r0r)r�r�r�r�r�_mdiffesT"
8X!



r�an
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>
    <meta http-equiv="Content-Type"
          content="text/html; charset=%(charset)s" />
    <title></title>
    <style type="text/css">%(styles)s
    </style>
</head>

<body>
    %(table)s%(legend)s
</body>

</html>aH
        table.diff {font-family:Courier; border:medium;}
        .diff_header {background-color:#e0e0e0}
        td.diff_header {text-align:right}
        .diff_next {background-color:#c0c0c0}
        .diff_add {background-color:#aaffaa}
        .diff_chg {background-color:#ffff77}
        .diff_sub {background-color:#ffaaaa}aZ
    <table class="diff" id="difflib_chg_%(prefix)s_top"
           cellspacing="0" cellpadding="0" rules="groups" >
        <colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup>
        <colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup>
        %(header_row)s
        <tbody>
%(data_rows)s        </tbody>
    </table>a�
    <table class="diff" summary="Legends">
        <tr> <th colspan="2"> Legends </th> </tr>
        <tr> <td> <table border="" summary="Colors">
                      <tr><th> Colors </th> </tr>
                      <tr><td class="diff_add">&nbsp;Added&nbsp;</td></tr>
                      <tr><td class="diff_chg">Changed</td> </tr>
                      <tr><td class="diff_sub">Deleted</td> </tr>
                  </table></td>
             <td> <table border="" summary="Links">
                      <tr><th colspan="2"> Links </th> </tr>
                      <tr><td>(f)irst change</td> </tr>
                      <tr><td>(n)ext change</td> </tr>
                      <tr><td>(t)op</td> </tr>
                  </table></td> </tr>
    </table>c@s�eZdZdZeZeZeZeZdZddde	fdd�Z
dd
d�dd
�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zddd�ZdS) ra{For producing HTML side by side comparison with change highlights.

    This class can be used to create an HTML table (or a complete HTML file
    containing the table) showing a side by side, line by line comparison
    of text with inter-line and intra-line change highlights.  The table can
    be generated in either full or contextual difference mode.

    The following methods are provided for HTML generation:

    make_table -- generates HTML for a single side by side table
    make_file -- generates complete HTML file with a single side by side table

    See tools/scripts/diff.py for an example usage of this class.
    r
�NcCs||_||_||_||_dS)a�HtmlDiff instance initializer

        Arguments:
        tabsize -- tab stop spacing, defaults to 8.
        wrapcolumn -- column number where lines are broken and wrapped,
            defaults to None where lines are not wrapped.
        linejunk,charjunk -- keyword arguments passed into ndiff() (used by
            HtmlDiff() to generate the side by side HTML differences).  See
            ndiff() documentation for argument default values and descriptions.
        N)�_tabsize�_wrapcolumn�	_linejunk�	_charjunk)r�tabsizeZ
wrapcolumnrnrorrrr�szHtmlDiff.__init__rF�zutf-8)�charsetcCs:|jt|j|j|j||||||d�|d�j|d�j|�S)aReturns HTML file of side by side comparison with change highlights

        Arguments:
        fromlines -- list of "from" lines
        tolines -- list of "to" lines
        fromdesc -- "from" file column header string
        todesc -- "to" file column header string
        context -- set to True for contextual differences (defaults to False
            which shows full differences).
        numlines -- number of context lines.  When context is set True,
            controls number of lines displayed before and after the change.
            When context is False, controls the number of lines to place
            the "next" link anchors before the next change (so click of
            "next" link jumps to just before the change).
        charset -- charset of the HTML document
        )r��numlines)ZstylesZlegend�tabler��xmlcharrefreplace)�_file_templater��_styles�_legend�
make_tabler�r�)rr�r��fromdesc�todescr�r�r�rrr�	make_file�s
zHtmlDiff.make_filecs8�fdd���fdd�|D�}�fdd�|D�}||fS)aReturns from/to line lists with tabs expanded and newlines removed.

        Instead of tab characters being replaced by the number of spaces
        needed to fill in to the next tab stop, this function will fill
        the space with tab characters.  This is done so that the difference
        algorithms can identify changes in a file when tabs are replaced by
        spaces and vice versa.  At the end of the HTML generation, the tab
        characters will be replaced with a nonbreakable space.
        cs6|jdd�}|j�j�}|jdd�}|jdd�jd�S)Nrrr�r�r�)rK�
expandtabsr�r�)rk)rrr�expand_tabs�sz2HtmlDiff._tab_newline_replace.<locals>.expand_tabscsg|]}�|��qSrr)rZrk)r�rrresz1HtmlDiff._tab_newline_replace.<locals>.<listcomp>csg|]}�|��qSrr)rZrk)r�rrresr)rr�r�r)r�rr�_tab_newline_replace�s
	zHtmlDiff._tab_newline_replacecCs|s|j||f�dSt|�}|j}||ksB||jd�d|krT|j||f�dSd}d}d}xd||kr�||kr�||dkr�|d7}||}|d7}qb||dkr�|d7}d}qb|d7}|d7}qbW|d|�}	||d�}
|r�|	d}	d||
}
|j||	f�|j|d|
�dS)	a�Builds list of text lines by splitting text lines at wrap point

        This function will determine if the input text line needs to be
        wrapped (split) into separate lines.  If so, the first wrap point
        will be determined and the first line appended to the output
        text line list.  This function is used recursively to handle
        the second part of the split line to further split it.
        Nr�rTr
rr%r��>)r)r.r��count�_split_line)rZ	data_listZline_numr�rQrVr0r3ZmarkZline1Zline2rrrr�s8

zHtmlDiff._split_lineccs�x�|D]�\}}}|dkr&|||fVq||\}}\}}gg}	}
|j|	||�|j|
||�x@|	sh|
r�|	rx|	jd�}nd}|
r�|
jd�}nd}|||fVq`WqWdS)z5Returns iterator that splits (wraps) mdiff text linesNr
rrr)rrr)rrr)r�r>)r�diffs�fromdata�todata�flagZfromlineZfromtextZtolineZtotext�fromlist�tolistrrr�
_line_wrapper;s 

zHtmlDiff._line_wrappercCs�ggg}}}xz|D]r\}}}y4|j|jd|f|���|j|jd|f|���Wn(tk
r||jd�|jd�YnX|j|�qW|||fS)z�Collects mdiff output into separate lists

        Before storing the mdiff from/to data into a list, it is converted
        into a single line of text with HTML markup.
        r
r%N)r)�_format_liner�)rr�r�r��flaglistr�r�r�rrr�_collect_linesWs
zHtmlDiff._collect_linescCsryd|}d|j||f}Wntk
r6d}YnX|jdd�jdd�jdd	�}|jd
d�j�}d|||fS)
aReturns HTML markup of "from" / "to" text lines

        side -- 0 or 1 indicating "from" or "to" text
        flag -- indicates if difference on line
        linenum -- line number (used for line number column)
        text -- line text to be marked up
        z%dz
 id="%s%s"r�&z&amp;r�z&gt;�<z&lt;rrz&nbsp;z<<td class="diff_header"%s>%s</td><td nowrap="nowrap">%s</td>)�_prefixr�rKr�)rr�r�Zlinenumr��idrrrr�ls
zHtmlDiff._format_linecCs0dtj}dtj}tjd7_||g|_dS)zCreate unique anchor prefixeszfrom%d_zto%d_r%N)r�_default_prefixr�)rZ
fromprefix�toprefixrrr�_make_prefix�s

zHtmlDiff._make_prefixcCs�|jd}dgt|�}dgt|�}d\}	}
d}xbt|�D]V\}}
|
r�|
s�d}
|}td||g�}d||	f||<|	d7}	d||	f||<q<d}
q<W|s�dg}dg}dg}d}|r�dg}|}n
d	g}}|ds�d
||d<d|||<|||||fS)
zMakes list of "next" linksr%rr
FTz id="difflib_chg_%s_%d"z"<a href="#difflib_chg_%s_%d">n</a>z2<td></td><td>&nbsp;No Differences Found&nbsp;</td>z(<td></td><td>&nbsp;Empty File&nbsp;</td>z!<a href="#difflib_chg_%s_0">f</a>z#<a href="#difflib_chg_%s_top">t</a>)r
F)r�r.r'rV)rr�r�r�r�r�r�next_id�	next_hrefZnum_chgZ	in_changer�r0r�rrr�_convert_flags�s:

zHtmlDiff._convert_flagsc	CsV|j�|j||�\}}|r"|}nd}t||||j|jd�}|jrL|j|�}|j|�\}	}
}|j|	|
|||�\}	}
}}}
g}d}x`t	t
|��D]P}||dkr�|dkr�|jd�q�|j||
||||	||||
|f�q�W|s�|�rddd	|dd	|f}nd
}|jt
d
j|�||jdd�}|jd
d�jdd�jdd�jdd�jdd�S)a�Returns HTML table of side by side comparison with change highlights

        Arguments:
        fromlines -- list of "from" lines
        tolines -- list of "to" lines
        fromdesc -- "from" file column header string
        todesc -- "to" file column header string
        context -- set to True for contextual differences (defaults to False
            which shows full differences).
        numlines -- number of context lines.  When context is set True,
            controls number of lines displayed before and after the change.
            When context is False, controls the number of lines to place
            the "next" link anchors before the next change (so click of
            "next" link jumps to just before the change).
        N)rnroz1            <tr><td class="diff_next"%s>%s</td>%sz%<td class="diff_next">%s</td>%s</tr>
r
z)        </tbody>        
        <tbody>
z <thead><tr>%s%s%s%s</tr></thead>z!<th class="diff_next"><br /></th>z+<th colspan="2" class="diff_header">%s</th>rr%)Z	data_rows�
header_rowr�z+z<span class="diff_add">z-z<span class="diff_sub">z^z<span class="diff_chg">r�z</span>r�z&nbsp;zV            <tr><td class="diff_next"%s>%s</td>%s<td class="diff_next">%s</td>%s</tr>
)rr�r�r�r�r�r�r�rr5r.r)�_table_templater�r�r�rK)rr�r�r�r�r�r�Z
context_linesr�r�r�r�rrrjZfmtr0rr�rrrr��sJ


zHtmlDiff.make_table)rrFr�)rrFr�)r`rarbrcr�r�rr�r�rrr�r�r�r�r�r�rrr�rrrrr�s&7/ccspyddd�t|�}Wn tk
r6td|��YnXd|f}x*|D]"}|dd�|krF|dd�VqFWdS)a0
    Generate one of the two sequences that generated a delta.

    Given a `delta` produced by `Differ.compare()` or `ndiff()`, extract
    lines originating from file 1 or 2 (parameter `which`), stripping off line
    prefixes.

    Examples:

    >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
    ...              'ore\ntree\nemu\n'.splitlines(keepends=True))
    >>> diff = list(diff)
    >>> print(''.join(restore(diff, 1)), end="")
    one
    two
    three
    >>> print(''.join(restore(diff, 2)), end="")
    ore
    tree
    emu
    z- z+ )r%r�z)unknown delta choice (must be 1 or 2): %rz  Nr�)�int�KeyErrorrf)ZdeltaZwhichrR�prefixesrkrrrrs
cCsddl}ddl}|j|�S)Nr
)�doctest�difflibZtestmod)r
rrrr�_test,sr�__main__)rTrd)r�)rrrrrTr�)rrrrrTr�)r�r�r�r�rTr�)$rc�__all__�heapqrrg�collectionsrZ_namedtuplerrrrrmrr�r��matchrrr�r	r�rr�r
rr�r�r�rr��objectrrrr`rrrr�<module>s^


0O

H
K
%!	
a 


SILENT KILLER Tool