SILENT KILLERPanel

Current Path: > > opt > alt > python27 > lib64 > python2.7


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/python27/lib64/python2.7

NameTypeSizeLast ModifiedActions
bsddb Directory - -
compiler Directory - -
config Directory - -
ctypes Directory - -
curses Directory - -
distutils Directory - -
email Directory - -
encodings Directory - -
ensurepip Directory - -
hotshot Directory - -
idlelib Directory - -
importlib Directory - -
json Directory - -
lib-dynload Directory - -
lib2to3 Directory - -
logging Directory - -
multiprocessing Directory - -
plat-linux2 Directory - -
pydoc_data Directory - -
site-packages Directory - -
sqlite3 Directory - -
test Directory - -
unittest Directory - -
wsgiref Directory - -
xml Directory - -
BaseHTTPServer.py File 22747 bytes January 08 2025 10:43:40.
BaseHTTPServer.pyc File 21982 bytes January 08 2025 10:43:03.
BaseHTTPServer.pyo File 21982 bytes January 08 2025 10:43:03.
Bastion.py File 5744 bytes January 08 2025 10:43:11.
Bastion.pyc File 6855 bytes January 08 2025 10:42:51.
Bastion.pyo File 6855 bytes January 08 2025 10:42:51.
CGIHTTPServer.py File 13089 bytes January 08 2025 10:43:27.
CGIHTTPServer.pyc File 11187 bytes January 08 2025 10:43:39.
CGIHTTPServer.pyo File 11187 bytes January 08 2025 10:43:39.
ConfigParser.py File 27746 bytes January 08 2025 10:43:11.
ConfigParser.pyc File 25980 bytes January 08 2025 10:43:11.
ConfigParser.pyo File 25980 bytes January 08 2025 10:43:11.
Cookie.py File 26538 bytes January 08 2025 10:43:04.
Cookie.pyc File 23152 bytes January 08 2025 10:43:41.
Cookie.pyo File 23152 bytes January 08 2025 10:43:41.
DocXMLRPCServer.py File 10768 bytes January 08 2025 10:43:11.
DocXMLRPCServer.pyc File 10442 bytes January 08 2025 10:43:35.
DocXMLRPCServer.pyo File 10333 bytes January 08 2025 10:43:08.
HTMLParser.py File 17171 bytes January 08 2025 10:42:55.
HTMLParser.pyc File 14143 bytes January 08 2025 10:42:55.
HTMLParser.pyo File 13838 bytes January 08 2025 10:43:35.
MimeWriter.py File 6482 bytes January 08 2025 10:42:52.
MimeWriter.pyc File 7481 bytes January 08 2025 10:43:04.
MimeWriter.pyo File 7481 bytes January 08 2025 10:43:04.
Queue.py File 8577 bytes January 08 2025 10:43:11.
Queue.pyc File 9788 bytes January 08 2025 10:43:04.
Queue.pyo File 9788 bytes January 08 2025 10:43:04.
SimpleHTTPServer.py File 7997 bytes January 08 2025 10:43:03.
SimpleHTTPServer.pyc File 8153 bytes January 08 2025 10:42:51.
SimpleHTTPServer.pyo File 8153 bytes January 08 2025 10:42:51.
SimpleXMLRPCServer.py File 25812 bytes January 08 2025 10:43:42.
SimpleXMLRPCServer.pyc File 23331 bytes January 08 2025 10:43:05.
SimpleXMLRPCServer.pyo File 23331 bytes January 08 2025 10:43:05.
SocketServer.py File 23948 bytes January 08 2025 10:43:28.
SocketServer.pyc File 24828 bytes January 08 2025 10:43:04.
SocketServer.pyo File 24828 bytes January 08 2025 10:43:04.
StringIO.py File 10662 bytes January 08 2025 10:43:31.
StringIO.pyc File 11727 bytes January 08 2025 10:43:39.
StringIO.pyo File 11727 bytes January 08 2025 10:43:39.
UserDict.py File 7060 bytes January 08 2025 10:43:04.
UserDict.pyc File 10296 bytes January 21 2025 11:47:01.
UserDict.pyo File 10296 bytes January 08 2025 10:43:04.
UserList.py File 3644 bytes January 08 2025 10:43:35.
UserList.pyc File 7019 bytes January 08 2025 10:43:31.
UserList.pyo File 7019 bytes January 08 2025 10:43:31.
UserString.py File 9697 bytes January 08 2025 10:43:35.
UserString.pyc File 15748 bytes January 08 2025 10:43:27.
UserString.pyo File 15748 bytes January 08 2025 10:43:27.
_LWPCookieJar.py File 6553 bytes January 08 2025 10:43:41.
_LWPCookieJar.pyc File 5512 bytes January 08 2025 10:43:11.
_LWPCookieJar.pyo File 5512 bytes January 08 2025 10:43:11.
_MozillaCookieJar.py File 5797 bytes January 08 2025 10:42:58.
_MozillaCookieJar.pyc File 4513 bytes January 08 2025 10:43:04.
_MozillaCookieJar.pyo File 4474 bytes January 08 2025 10:43:35.
__future__.py File 4380 bytes January 08 2025 10:43:39.
__future__.pyc File 4301 bytes January 08 2025 10:43:03.
__future__.pyo File 4301 bytes January 08 2025 10:43:03.
__phello__.foo.py File 64 bytes January 08 2025 10:43:35.
__phello__.foo.pyc File 138 bytes January 08 2025 10:43:05.
__phello__.foo.pyo File 138 bytes January 08 2025 10:43:05.
_abcoll.py File 18619 bytes January 08 2025 10:43:11.
_abcoll.pyc File 27034 bytes January 21 2025 11:47:01.
_abcoll.pyo File 27034 bytes January 08 2025 10:43:35.
_osx_support.py File 19100 bytes January 08 2025 10:43:35.
_osx_support.pyc File 12005 bytes January 08 2025 10:43:04.
_osx_support.pyo File 12005 bytes January 08 2025 10:43:04.
_pyio.py File 69630 bytes January 08 2025 10:43:11.
_pyio.pyc File 66976 bytes January 08 2025 10:43:38.
_pyio.pyo File 66976 bytes January 08 2025 10:43:38.
_strptime.py File 20728 bytes January 08 2025 10:43:38.
_strptime.pyc File 15432 bytes January 08 2025 10:43:35.
_strptime.pyo File 15432 bytes January 08 2025 10:43:35.
_sysconfigdata.py File 21163 bytes January 08 2025 10:43:35.
_sysconfigdata.pyc File 24277 bytes January 21 2025 11:47:01.
_sysconfigdata.pyo File 24277 bytes January 08 2025 10:42:56.
_threading_local.py File 7260 bytes January 08 2025 10:43:03.
_threading_local.pyc File 6490 bytes January 08 2025 10:43:11.
_threading_local.pyo File 6490 bytes January 08 2025 10:43:11.
_weakrefset.py File 5911 bytes January 08 2025 10:42:58.
_weakrefset.pyc File 10302 bytes January 21 2025 11:47:01.
_weakrefset.pyo File 10302 bytes January 08 2025 10:43:40.
abc.py File 7145 bytes January 08 2025 10:43:03.
abc.pyc File 6286 bytes January 21 2025 11:47:01.
abc.pyo File 6230 bytes January 08 2025 10:43:04.
aifc.py File 34579 bytes January 08 2025 10:43:39.
aifc.pyc File 31408 bytes January 08 2025 10:43:42.
aifc.pyo File 31408 bytes January 08 2025 10:43:42.
antigravity.py File 60 bytes January 08 2025 10:43:05.
antigravity.pyc File 216 bytes January 08 2025 10:42:55.
antigravity.pyo File 216 bytes January 08 2025 10:42:55.
anydbm.py File 2663 bytes January 08 2025 10:42:56.
anydbm.pyc File 2839 bytes January 08 2025 10:42:51.
anydbm.pyo File 2839 bytes January 08 2025 10:42:51.
argparse.py File 89228 bytes January 08 2025 10:43:35.
argparse.pyc File 66382 bytes January 08 2025 10:43:01.
argparse.pyo File 66217 bytes January 08 2025 10:43:11.
ast.py File 11805 bytes January 08 2025 10:43:35.
ast.pyc File 13250 bytes January 08 2025 10:42:56.
ast.pyo File 13250 bytes January 08 2025 10:42:56.
asynchat.py File 11581 bytes January 08 2025 10:43:27.
asynchat.pyc File 9200 bytes January 08 2025 10:43:01.
asynchat.pyo File 9200 bytes January 08 2025 10:43:01.
asyncore.py File 20943 bytes January 08 2025 10:43:40.
asyncore.pyc File 19660 bytes January 08 2025 10:43:00.
asyncore.pyo File 19660 bytes January 08 2025 10:43:00.
atexit.py File 1705 bytes January 08 2025 10:43:35.
atexit.pyc File 2281 bytes January 08 2025 10:42:55.
atexit.pyo File 2281 bytes January 08 2025 10:42:55.
audiodev.py File 7597 bytes January 08 2025 10:43:35.
audiodev.pyc File 8820 bytes January 08 2025 10:43:42.
audiodev.pyo File 8820 bytes January 08 2025 10:43:42.
base64.py File 11816 bytes January 08 2025 10:43:08.
base64.pyc File 11531 bytes January 08 2025 10:43:41.
base64.pyo File 11531 bytes January 08 2025 10:43:41.
bdb.py File 21714 bytes January 08 2025 10:43:27.
bdb.pyc File 19894 bytes January 08 2025 10:43:08.
bdb.pyo File 19894 bytes January 08 2025 10:43:08.
binhex.py File 14698 bytes January 08 2025 10:43:03.
binhex.pyc File 16123 bytes January 08 2025 10:43:11.
binhex.pyo File 16123 bytes January 08 2025 10:43:11.
bisect.py File 2595 bytes January 08 2025 10:42:51.
bisect.pyc File 3136 bytes January 08 2025 10:43:27.
bisect.pyo File 3136 bytes January 08 2025 10:43:27.
cProfile.py File 6583 bytes January 08 2025 10:42:56.
cProfile.pyc File 6577 bytes January 08 2025 10:42:56.
cProfile.pyo File 6577 bytes January 08 2025 10:42:56.
calendar.py File 23384 bytes January 08 2025 10:43:31.
calendar.pyc File 28940 bytes January 08 2025 10:43:35.
calendar.pyo File 28940 bytes January 08 2025 10:43:35.
cgi.py File 35807 bytes January 08 2025 10:43:35.
cgi.pyc File 34034 bytes January 08 2025 10:43:00.
cgi.pyo File 34034 bytes January 08 2025 10:43:00.
cgitb.py File 12175 bytes January 08 2025 10:43:40.
cgitb.pyc File 12372 bytes January 08 2025 10:43:35.
cgitb.pyo File 12372 bytes January 08 2025 10:43:35.
chunk.py File 5419 bytes January 08 2025 10:43:11.
chunk.pyc File 5745 bytes January 08 2025 10:43:41.
chunk.pyo File 5745 bytes January 08 2025 10:43:41.
cmd.py File 15026 bytes January 08 2025 10:42:55.
cmd.pyc File 14312 bytes January 08 2025 10:43:35.
cmd.pyo File 14312 bytes January 08 2025 10:43:35.
code.py File 10189 bytes January 08 2025 10:43:05.
code.pyc File 10542 bytes January 08 2025 10:43:27.
code.pyo File 10542 bytes January 08 2025 10:43:27.
codecs.py File 36143 bytes January 08 2025 10:43:04.
codecs.pyc File 38046 bytes January 21 2025 11:47:01.
codecs.pyo File 38046 bytes January 08 2025 10:42:56.
codeop.py File 5999 bytes January 08 2025 10:42:59.
codeop.pyc File 6727 bytes January 08 2025 10:43:04.
codeop.pyo File 6727 bytes January 08 2025 10:43:04.
collections.py File 27798 bytes January 08 2025 10:43:04.
collections.pyc File 26839 bytes January 08 2025 10:43:35.
collections.pyo File 26788 bytes January 08 2025 10:43:03.
colorsys.py File 3691 bytes January 08 2025 10:43:03.
colorsys.pyc File 4095 bytes January 08 2025 10:43:09.
colorsys.pyo File 4095 bytes January 08 2025 10:43:09.
commands.py File 2545 bytes January 08 2025 10:42:58.
commands.pyc File 2547 bytes January 08 2025 10:43:00.
commands.pyo File 2547 bytes January 08 2025 10:43:00.
compileall.py File 7763 bytes January 08 2025 10:42:59.
compileall.pyc File 7095 bytes January 08 2025 10:43:35.
compileall.pyo File 7095 bytes January 08 2025 10:43:35.
contextlib.py File 4424 bytes January 08 2025 10:42:59.
contextlib.pyc File 4610 bytes January 08 2025 10:43:35.
contextlib.pyo File 4610 bytes January 08 2025 10:43:35.
cookielib.py File 65486 bytes January 08 2025 10:43:05.
cookielib.pyc File 55986 bytes January 08 2025 10:43:39.
cookielib.pyo File 55798 bytes January 08 2025 10:43:27.
copy.py File 11533 bytes January 08 2025 10:43:03.
copy.pyc File 12508 bytes January 08 2025 10:43:35.
copy.pyo File 12416 bytes January 08 2025 10:43:27.
copy_reg.py File 6974 bytes January 08 2025 10:43:11.
copy_reg.pyc File 5310 bytes January 21 2025 11:47:01.
copy_reg.pyo File 5266 bytes January 08 2025 10:43:35.
crypt.py File 2291 bytes January 08 2025 10:43:03.
crypt.pyc File 3025 bytes January 08 2025 10:43:00.
crypt.pyo File 3025 bytes January 08 2025 10:43:00.
csv.py File 16708 bytes January 08 2025 10:43:04.
csv.pyc File 13884 bytes January 08 2025 10:43:27.
csv.pyo File 13884 bytes January 08 2025 10:43:27.
dbhash.py File 498 bytes January 08 2025 10:42:55.
dbhash.pyc File 744 bytes January 08 2025 10:43:03.
dbhash.pyo File 744 bytes January 08 2025 10:43:03.
decimal.py File 221933 bytes January 08 2025 10:43:28.
decimal.pyc File 175470 bytes January 08 2025 10:42:55.
decimal.pyo File 175470 bytes January 08 2025 10:42:55.
difflib.py File 82325 bytes January 08 2025 10:43:08.
difflib.pyc File 62600 bytes January 08 2025 10:43:05.
difflib.pyo File 62549 bytes January 08 2025 10:43:41.
dircache.py File 1126 bytes January 08 2025 10:42:55.
dircache.pyc File 1628 bytes January 08 2025 10:43:08.
dircache.pyo File 1628 bytes January 08 2025 10:43:08.
dis.py File 6499 bytes January 08 2025 10:43:04.
dis.pyc File 6332 bytes January 08 2025 10:43:31.
dis.pyo File 6332 bytes January 08 2025 10:43:31.
doctest.py File 105095 bytes January 08 2025 10:43:04.
doctest.pyc File 85210 bytes January 08 2025 10:43:03.
doctest.pyo File 84923 bytes January 08 2025 10:42:56.
dumbdbm.py File 9141 bytes January 08 2025 10:43:04.
dumbdbm.pyc File 6993 bytes January 08 2025 10:43:39.
dumbdbm.pyo File 6993 bytes January 08 2025 10:43:39.
dummy_thread.py File 4418 bytes January 08 2025 10:43:05.
dummy_thread.pyc File 5589 bytes January 08 2025 10:43:05.
dummy_thread.pyo File 5589 bytes January 08 2025 10:43:05.
dummy_threading.py File 2804 bytes January 08 2025 10:43:03.
dummy_threading.pyc File 1298 bytes January 08 2025 10:43:39.
dummy_threading.pyo File 1298 bytes January 08 2025 10:43:39.
filecmp.py File 9588 bytes January 08 2025 10:43:03.
filecmp.pyc File 9882 bytes January 08 2025 10:43:28.
filecmp.pyo File 9882 bytes January 08 2025 10:43:28.
fileinput.py File 13746 bytes January 08 2025 10:43:08.
fileinput.pyc File 14890 bytes January 08 2025 10:43:35.
fileinput.pyo File 14890 bytes January 08 2025 10:43:35.
fnmatch.py File 3315 bytes January 08 2025 10:43:03.
fnmatch.pyc File 3692 bytes January 08 2025 10:43:00.
fnmatch.pyo File 3692 bytes January 08 2025 10:43:00.
formatter.py File 14911 bytes January 08 2025 10:43:04.
formatter.pyc File 20179 bytes January 08 2025 10:43:03.
formatter.pyo File 20179 bytes January 08 2025 10:43:03.
fpformat.py File 4732 bytes January 08 2025 10:43:28.
fpformat.pyc File 4807 bytes January 08 2025 10:43:11.
fpformat.pyo File 4807 bytes January 08 2025 10:43:11.
fractions.py File 22390 bytes January 08 2025 10:42:56.
fractions.pyc File 20218 bytes January 08 2025 10:43:00.
fractions.pyo File 20218 bytes January 08 2025 10:43:00.
ftplib.py File 38194 bytes January 08 2025 10:43:03.
ftplib.pyc File 35652 bytes January 08 2025 10:42:56.
ftplib.pyo File 35652 bytes January 08 2025 10:42:56.
functools.py File 4806 bytes January 08 2025 10:43:42.
functools.pyc File 7019 bytes January 08 2025 10:43:05.
functools.pyo File 7019 bytes January 08 2025 10:43:05.
genericpath.py File 3201 bytes January 08 2025 10:43:41.
genericpath.pyc File 3660 bytes January 21 2025 11:47:01.
genericpath.pyo File 3660 bytes January 08 2025 10:43:35.
getopt.py File 7319 bytes January 08 2025 10:43:35.
getopt.pyc File 6784 bytes January 08 2025 10:43:35.
getopt.pyo File 6739 bytes January 08 2025 10:43:40.
getpass.py File 5563 bytes January 08 2025 10:42:56.
getpass.pyc File 4835 bytes January 08 2025 10:43:35.
getpass.pyo File 4835 bytes January 08 2025 10:43:35.
gettext.py File 22666 bytes January 08 2025 10:43:35.
gettext.pyc File 18602 bytes January 08 2025 10:43:42.
gettext.pyo File 18602 bytes January 08 2025 10:43:42.
glob.py File 3114 bytes January 08 2025 10:42:59.
glob.pyc File 3047 bytes January 08 2025 10:43:03.
glob.pyo File 3047 bytes January 08 2025 10:43:03.
gzip.py File 19028 bytes January 08 2025 10:43:35.
gzip.pyc File 15626 bytes January 08 2025 10:43:04.
gzip.pyo File 15626 bytes January 08 2025 10:43:04.
hashlib.py File 7842 bytes January 08 2025 10:43:39.
hashlib.pyc File 7026 bytes January 08 2025 10:43:39.
hashlib.pyo File 7026 bytes January 08 2025 10:43:39.
heapq.py File 18295 bytes January 08 2025 10:42:52.
heapq.pyc File 14798 bytes January 08 2025 10:43:04.
heapq.pyo File 14798 bytes January 08 2025 10:43:04.
hmac.py File 4588 bytes January 08 2025 10:43:11.
hmac.pyc File 4672 bytes January 08 2025 10:43:35.
hmac.pyo File 4672 bytes January 08 2025 10:43:35.
htmlentitydefs.py File 18056 bytes January 08 2025 10:43:04.
htmlentitydefs.pyc File 6380 bytes January 08 2025 10:43:04.
htmlentitydefs.pyo File 6380 bytes January 08 2025 10:43:04.
htmllib.py File 12869 bytes January 08 2025 10:43:08.
htmllib.pyc File 21492 bytes January 08 2025 10:42:59.
htmllib.pyo File 21492 bytes January 08 2025 10:42:59.
httplib.py File 52300 bytes January 08 2025 10:43:35.
httplib.pyc File 38793 bytes January 08 2025 10:43:11.
httplib.pyo File 38609 bytes January 08 2025 10:43:40.
ihooks.py File 18986 bytes January 08 2025 10:43:11.
ihooks.pyc File 22269 bytes January 08 2025 10:43:04.
ihooks.pyo File 22269 bytes January 08 2025 10:43:04.
imaplib.py File 48366 bytes January 08 2025 10:43:34.
imaplib.pyc File 46272 bytes January 08 2025 10:43:03.
imaplib.pyo File 43506 bytes January 08 2025 10:43:04.
imghdr.py File 3541 bytes January 08 2025 10:43:35.
imghdr.pyc File 5046 bytes January 08 2025 10:43:05.
imghdr.pyo File 5046 bytes January 08 2025 10:43:05.
imputil.py File 25764 bytes January 08 2025 10:43:03.
imputil.pyc File 16117 bytes January 08 2025 10:43:28.
imputil.pyo File 15939 bytes January 08 2025 10:43:31.
inspect.py File 43008 bytes January 08 2025 10:43:27.
inspect.pyc File 41126 bytes January 08 2025 10:43:31.
inspect.pyo File 41126 bytes January 08 2025 10:43:31.
io.py File 3322 bytes January 08 2025 10:43:04.
io.pyc File 3654 bytes January 08 2025 10:43:00.
io.pyo File 3654 bytes January 08 2025 10:43:00.
keyword.py File 2005 bytes January 08 2025 10:43:35.
keyword.pyc File 2131 bytes January 08 2025 10:43:42.
keyword.pyo File 2131 bytes January 08 2025 10:43:42.
linecache.py File 4027 bytes January 08 2025 10:43:05.
linecache.pyc File 3350 bytes January 21 2025 11:47:01.
linecache.pyo File 3350 bytes January 08 2025 10:42:55.
locale.py File 102834 bytes January 08 2025 10:43:27.
locale.pyc File 57026 bytes January 08 2025 10:42:51.
locale.pyo File 57026 bytes January 08 2025 10:42:51.
macpath.py File 6289 bytes January 08 2025 10:43:04.
macpath.pyc File 7928 bytes January 08 2025 10:43:03.
macpath.pyo File 7928 bytes January 08 2025 10:43:03.
macurl2path.py File 2731 bytes January 08 2025 10:43:03.
macurl2path.pyc File 2296 bytes January 08 2025 10:43:27.
macurl2path.pyo File 2296 bytes January 08 2025 10:43:27.
mailbox.py File 81240 bytes January 08 2025 10:43:27.
mailbox.pyc File 79564 bytes January 08 2025 10:43:35.
mailbox.pyo File 79517 bytes January 08 2025 10:43:03.
mailcap.py File 7429 bytes January 08 2025 10:42:56.
mailcap.pyc File 7248 bytes January 08 2025 10:43:08.
mailcap.pyo File 7248 bytes January 08 2025 10:43:08.
markupbase.py File 14643 bytes January 08 2025 10:43:40.
markupbase.pyc File 9488 bytes January 08 2025 10:43:38.
markupbase.pyo File 9292 bytes January 08 2025 10:42:55.
md5.py File 358 bytes January 08 2025 10:43:40.
md5.pyc File 391 bytes January 08 2025 10:43:03.
md5.pyo File 391 bytes January 08 2025 10:43:03.
mhlib.py File 33434 bytes January 08 2025 10:43:28.
mhlib.pyc File 34791 bytes January 08 2025 10:43:28.
mhlib.pyo File 34791 bytes January 08 2025 10:43:28.
mimetools.py File 7168 bytes January 08 2025 10:43:11.
mimetools.pyc File 8461 bytes January 08 2025 10:43:39.
mimetools.pyo File 8461 bytes January 08 2025 10:43:39.
mimetypes.py File 21028 bytes January 08 2025 10:43:27.
mimetypes.pyc File 18736 bytes January 08 2025 10:43:35.
mimetypes.pyo File 18736 bytes January 08 2025 10:43:35.
mimify.py File 15030 bytes January 08 2025 10:43:05.
mimify.pyc File 12196 bytes January 08 2025 10:43:27.
mimify.pyo File 12196 bytes January 08 2025 10:43:27.
modulefinder.py File 24461 bytes January 08 2025 10:43:03.
modulefinder.pyc File 19582 bytes January 08 2025 10:42:56.
modulefinder.pyo File 19500 bytes January 08 2025 10:42:55.
multifile.py File 4820 bytes January 08 2025 10:43:27.
multifile.pyc File 5615 bytes January 08 2025 10:43:31.
multifile.pyo File 5573 bytes January 08 2025 10:42:52.
mutex.py File 1878 bytes January 08 2025 10:43:01.
mutex.pyc File 2607 bytes January 08 2025 10:43:27.
mutex.pyo File 2607 bytes January 08 2025 10:43:27.
netrc.py File 5888 bytes January 08 2025 10:43:11.
netrc.pyc File 4831 bytes January 08 2025 10:43:27.
netrc.pyo File 4831 bytes January 08 2025 10:43:27.
new.py File 610 bytes January 08 2025 10:43:35.
new.pyc File 875 bytes January 08 2025 10:42:58.
new.pyo File 875 bytes January 08 2025 10:42:58.
nntplib.py File 21470 bytes January 08 2025 10:42:55.
nntplib.pyc File 21616 bytes January 08 2025 10:43:31.
nntplib.pyo File 21616 bytes January 08 2025 10:43:31.
ntpath.py File 19429 bytes January 08 2025 10:42:58.
ntpath.pyc File 13415 bytes January 08 2025 10:43:11.
ntpath.pyo File 13415 bytes January 08 2025 10:43:11.
nturl2path.py File 2419 bytes January 08 2025 10:43:35.
nturl2path.pyc File 1854 bytes January 08 2025 10:43:04.
nturl2path.pyo File 1854 bytes January 08 2025 10:43:04.
numbers.py File 10319 bytes January 08 2025 10:43:39.
numbers.pyc File 14818 bytes January 08 2025 10:43:05.
numbers.pyo File 14818 bytes January 08 2025 10:43:05.
opcode.py File 5474 bytes January 08 2025 10:43:41.
opcode.pyc File 6210 bytes January 08 2025 10:42:56.
opcode.pyo File 6210 bytes January 08 2025 10:42:56.
optparse.py File 61203 bytes January 08 2025 10:43:35.
optparse.pyc File 55714 bytes January 08 2025 10:43:35.
optparse.pyo File 55631 bytes January 08 2025 10:43:39.
os.py File 25910 bytes January 08 2025 10:43:00.
os.pyc File 26378 bytes January 21 2025 11:47:01.
os.pyo File 26378 bytes January 08 2025 10:43:31.
os2emxpath.py File 4635 bytes January 08 2025 10:43:04.
os2emxpath.pyc File 4642 bytes January 08 2025 10:43:42.
os2emxpath.pyo File 4642 bytes January 08 2025 10:43:42.
pdb.doc File 7914 bytes January 08 2025 10:43:03.
pdb.py File 46108 bytes January 08 2025 10:43:05.
pdb.pyc File 45151 bytes January 08 2025 10:43:39.
pdb.pyo File 45151 bytes January 08 2025 10:43:39.
pickle.py File 45489 bytes January 08 2025 10:43:11.
pickle.pyc File 39912 bytes January 08 2025 10:43:39.
pickle.pyo File 39716 bytes January 08 2025 10:43:27.
pickletools.py File 74523 bytes January 08 2025 10:43:03.
pickletools.pyc File 57448 bytes January 08 2025 10:43:31.
pickletools.pyo File 56587 bytes January 08 2025 10:42:59.
pipes.py File 9582 bytes January 08 2025 10:43:35.
pipes.pyc File 9516 bytes January 08 2025 10:43:35.
pipes.pyo File 9516 bytes January 08 2025 10:43:35.
pkgutil.py File 20243 bytes January 08 2025 10:43:04.
pkgutil.pyc File 19388 bytes January 08 2025 10:43:04.
pkgutil.pyo File 19388 bytes January 08 2025 10:43:04.
platform.py File 52798 bytes January 08 2025 10:43:04.
platform.pyc File 38602 bytes January 08 2025 10:43:05.
platform.pyo File 38602 bytes January 08 2025 10:43:05.
plistlib.py File 15185 bytes January 08 2025 10:42:51.
plistlib.pyc File 20008 bytes January 08 2025 10:43:35.
plistlib.pyo File 19922 bytes January 08 2025 10:43:11.
popen2.py File 8416 bytes January 08 2025 10:43:39.
popen2.pyc File 9233 bytes January 08 2025 10:43:35.
popen2.pyo File 9191 bytes January 08 2025 10:43:03.
poplib.py File 12824 bytes January 08 2025 10:42:55.
poplib.pyc File 13774 bytes January 08 2025 10:43:04.
poplib.pyo File 13774 bytes January 08 2025 10:43:04.
posixfile.py File 8003 bytes January 08 2025 10:43:11.
posixfile.pyc File 7808 bytes January 08 2025 10:42:59.
posixfile.pyo File 7808 bytes January 08 2025 10:42:59.
posixpath.py File 14293 bytes January 08 2025 10:43:05.
posixpath.pyc File 11761 bytes January 21 2025 11:47:01.
posixpath.pyo File 11761 bytes January 08 2025 10:43:35.
pprint.py File 11777 bytes January 08 2025 10:43:04.
pprint.pyc File 10441 bytes January 08 2025 10:43:28.
pprint.pyo File 10264 bytes January 08 2025 10:43:27.
profile.py File 22791 bytes January 08 2025 10:43:09.
profile.pyc File 16963 bytes January 08 2025 10:43:38.
profile.pyo File 16716 bytes January 08 2025 10:43:09.
pstats.py File 26712 bytes January 08 2025 10:43:01.
pstats.pyc File 25793 bytes January 08 2025 10:42:55.
pstats.pyo File 25793 bytes January 08 2025 10:42:55.
pty.py File 5058 bytes January 08 2025 10:42:55.
pty.pyc File 5096 bytes January 08 2025 10:43:38.
pty.pyo File 5096 bytes January 08 2025 10:43:38.
py_compile.py File 5936 bytes January 08 2025 10:43:28.
py_compile.pyc File 6519 bytes January 08 2025 10:42:55.
py_compile.pyo File 6519 bytes January 08 2025 10:42:55.
pyclbr.py File 13388 bytes January 08 2025 10:42:51.
pyclbr.pyc File 9820 bytes January 08 2025 10:43:39.
pyclbr.pyo File 9820 bytes January 08 2025 10:43:39.
pydoc.py File 95676 bytes January 08 2025 10:43:04.
pydoc.pyc File 94914 bytes January 08 2025 10:43:04.
pydoc.pyo File 94850 bytes January 08 2025 10:43:37.
quopri.py File 6978 bytes January 08 2025 10:43:35.
quopri.pyc File 6717 bytes January 08 2025 10:43:11.
quopri.pyo File 6717 bytes January 08 2025 10:43:11.
random.py File 32457 bytes January 08 2025 10:42:55.
random.pyc File 26263 bytes January 08 2025 10:43:03.
random.pyo File 26263 bytes January 08 2025 10:43:03.
re.py File 13423 bytes January 08 2025 10:43:06.
re.pyc File 13686 bytes January 21 2025 11:47:01.
re.pyo File 13686 bytes January 08 2025 10:43:27.
repr.py File 4296 bytes January 08 2025 10:43:42.
repr.pyc File 5606 bytes January 08 2025 10:43:08.
repr.pyo File 5606 bytes January 08 2025 10:43:08.
rexec.py File 20148 bytes January 08 2025 10:43:05.
rexec.pyc File 24574 bytes January 08 2025 10:43:27.
rexec.pyo File 24574 bytes January 08 2025 10:43:27.
rfc822.py File 33542 bytes January 08 2025 10:43:35.
rfc822.pyc File 32593 bytes January 08 2025 10:43:40.
rfc822.pyo File 32593 bytes January 08 2025 10:43:40.
rlcompleter.py File 5991 bytes January 08 2025 10:43:42.
rlcompleter.pyc File 6182 bytes January 08 2025 10:43:11.
rlcompleter.pyo File 6182 bytes January 08 2025 10:43:11.
robotparser.py File 7695 bytes January 08 2025 10:43:03.
robotparser.pyc File 8315 bytes January 08 2025 10:43:28.
robotparser.pyo File 8315 bytes January 08 2025 10:43:28.
runpy.py File 11081 bytes January 08 2025 10:42:55.
runpy.pyc File 9063 bytes January 08 2025 10:43:27.
runpy.pyo File 9063 bytes January 08 2025 10:43:27.
sched.py File 5088 bytes January 08 2025 10:43:28.
sched.pyc File 5111 bytes January 08 2025 10:42:56.
sched.pyo File 5111 bytes January 08 2025 10:42:56.
sets.py File 19050 bytes January 08 2025 10:43:40.
sets.pyc File 17623 bytes January 08 2025 10:43:05.
sets.pyo File 17623 bytes January 08 2025 10:43:05.
sgmllib.py File 17884 bytes January 08 2025 10:42:55.
sgmllib.pyc File 16047 bytes January 08 2025 10:42:59.
sgmllib.pyo File 16047 bytes January 08 2025 10:42:59.
sha.py File 393 bytes January 08 2025 10:43:27.
sha.pyc File 434 bytes January 08 2025 10:43:00.
sha.pyo File 434 bytes January 08 2025 10:43:00.
shelve.py File 8178 bytes January 08 2025 10:43:35.
shelve.pyc File 10607 bytes January 08 2025 10:43:35.
shelve.pyo File 10607 bytes January 08 2025 10:43:35.
shlex.py File 11164 bytes January 08 2025 10:43:39.
shlex.pyc File 7727 bytes January 08 2025 10:42:51.
shlex.pyo File 7727 bytes January 08 2025 10:42:51.
shutil.py File 19871 bytes January 08 2025 10:43:31.
shutil.pyc File 19649 bytes January 08 2025 10:43:27.
shutil.pyo File 19649 bytes January 08 2025 10:43:27.
site.py File 19637 bytes January 08 2025 10:43:27.
site.pyc File 19819 bytes January 21 2025 11:47:01.
site.pyo File 19819 bytes January 08 2025 10:43:27.
smtpd.py File 18552 bytes January 08 2025 10:43:05.
smtpd.pyc File 16286 bytes January 08 2025 10:43:11.
smtpd.pyo File 16286 bytes January 08 2025 10:43:11.
smtplib.py File 32144 bytes January 08 2025 10:43:03.
smtplib.pyc File 31019 bytes January 08 2025 10:42:59.
smtplib.pyo File 31019 bytes January 08 2025 10:42:59.
sndhdr.py File 5973 bytes January 08 2025 10:43:35.
sndhdr.pyc File 7582 bytes January 08 2025 10:43:34.
sndhdr.pyo File 7582 bytes January 08 2025 10:43:34.
socket.py File 20615 bytes January 08 2025 10:43:39.
socket.pyc File 16542 bytes January 08 2025 10:43:00.
socket.pyo File 16456 bytes January 08 2025 10:43:35.
sre.py File 384 bytes January 08 2025 10:42:59.
sre.pyc File 532 bytes January 08 2025 10:43:00.
sre.pyo File 532 bytes January 08 2025 10:43:00.
sre_compile.py File 19823 bytes January 08 2025 10:43:03.
sre_compile.pyc File 12755 bytes January 21 2025 11:47:01.
sre_compile.pyo File 12599 bytes January 08 2025 10:43:35.
sre_constants.py File 7197 bytes January 08 2025 10:43:00.
sre_constants.pyc File 6260 bytes January 21 2025 11:47:01.
sre_constants.pyo File 6260 bytes January 08 2025 10:43:04.
sre_parse.py File 30700 bytes January 08 2025 10:43:05.
sre_parse.pyc File 21624 bytes January 21 2025 11:47:01.
sre_parse.pyo File 21624 bytes January 08 2025 10:43:09.
ssl.py File 37455 bytes January 08 2025 10:43:27.
ssl.pyc File 33015 bytes January 08 2025 10:43:28.
ssl.pyo File 33015 bytes January 08 2025 10:43:28.
stat.py File 1842 bytes January 08 2025 10:43:28.
stat.pyc File 2881 bytes January 21 2025 11:47:01.
stat.pyo File 2881 bytes January 08 2025 10:43:11.
statvfs.py File 898 bytes January 08 2025 10:43:03.
statvfs.pyc File 633 bytes January 08 2025 10:43:05.
statvfs.pyo File 633 bytes January 08 2025 10:43:05.
string.py File 21548 bytes January 08 2025 10:43:35.
string.pyc File 21122 bytes January 08 2025 10:43:35.
string.pyo File 21122 bytes January 08 2025 10:43:35.
stringold.py File 12449 bytes January 08 2025 10:42:55.
stringold.pyc File 12900 bytes January 08 2025 10:42:55.
stringold.pyo File 12900 bytes January 08 2025 10:42:55.
stringprep.py File 13522 bytes January 08 2025 10:43:11.
stringprep.pyc File 14747 bytes January 08 2025 10:43:05.
stringprep.pyo File 14675 bytes January 08 2025 10:43:11.
struct.py File 82 bytes January 08 2025 10:43:05.
struct.pyc File 252 bytes January 08 2025 10:43:31.
struct.pyo File 252 bytes January 08 2025 10:43:31.
subprocess.py File 50520 bytes January 08 2025 10:42:56.
subprocess.pyc File 33100 bytes January 08 2025 10:43:11.
subprocess.pyo File 33100 bytes January 08 2025 10:43:11.
sunau.py File 17222 bytes January 08 2025 10:43:04.
sunau.pyc File 19018 bytes January 08 2025 10:43:35.
sunau.pyo File 19018 bytes January 08 2025 10:43:35.
sunaudio.py File 1399 bytes January 08 2025 10:43:40.
sunaudio.pyc File 2052 bytes January 08 2025 10:43:35.
sunaudio.pyo File 2052 bytes January 08 2025 10:43:35.
symbol.py File 2067 bytes January 08 2025 10:43:03.
symbol.pyc File 3052 bytes January 08 2025 10:42:55.
symbol.pyo File 3052 bytes January 08 2025 10:42:55.
symtable.py File 7437 bytes January 08 2025 10:43:35.
symtable.pyc File 12436 bytes January 08 2025 10:43:11.
symtable.pyo File 12305 bytes January 08 2025 10:42:55.
sysconfig.py File 22852 bytes January 08 2025 10:43:31.
sysconfig.pyc File 18156 bytes January 21 2025 11:47:01.
sysconfig.pyo File 18153 bytes January 08 2025 10:43:31.
tabnanny.py File 11349 bytes January 08 2025 10:43:35.
tabnanny.pyc File 8507 bytes January 08 2025 10:43:35.
tabnanny.pyo File 8507 bytes January 08 2025 10:43:35.
tarfile.py File 90568 bytes January 08 2025 10:43:04.
tarfile.pyc File 78374 bytes January 08 2025 10:43:35.
tarfile.pyo File 78374 bytes January 08 2025 10:43:35.
telnetlib.py File 27036 bytes January 08 2025 10:43:03.
telnetlib.pyc File 23583 bytes January 08 2025 10:43:38.
telnetlib.pyo File 23583 bytes January 08 2025 10:43:38.
tempfile.py File 19547 bytes January 08 2025 10:42:56.
tempfile.pyc File 21046 bytes January 08 2025 10:43:39.
tempfile.pyo File 21046 bytes January 08 2025 10:43:39.
textwrap.py File 17280 bytes January 08 2025 10:42:58.
textwrap.pyc File 12279 bytes January 08 2025 10:43:28.
textwrap.pyo File 12187 bytes January 08 2025 10:42:55.
this.py File 1002 bytes January 08 2025 10:43:11.
this.pyc File 1233 bytes January 08 2025 10:43:35.
this.pyo File 1233 bytes January 08 2025 10:43:35.
threading.py File 47282 bytes January 08 2025 10:43:27.
threading.pyc File 43999 bytes January 08 2025 10:43:04.
threading.pyo File 41825 bytes January 08 2025 10:42:59.
timeit.py File 12801 bytes January 08 2025 10:43:04.
timeit.pyc File 12352 bytes January 08 2025 10:43:31.
timeit.pyo File 12352 bytes January 08 2025 10:43:31.
toaiff.py File 3142 bytes January 08 2025 10:43:39.
toaiff.pyc File 3158 bytes January 08 2025 10:43:04.
toaiff.pyo File 3158 bytes January 08 2025 10:43:04.
token.py File 2922 bytes January 08 2025 10:42:59.
token.pyc File 3881 bytes January 08 2025 10:42:51.
token.pyo File 3881 bytes January 08 2025 10:42:51.
tokenize.py File 17483 bytes January 08 2025 10:43:31.
tokenize.pyc File 14713 bytes January 08 2025 10:43:41.
tokenize.pyo File 14657 bytes January 08 2025 10:42:59.
trace.py File 29901 bytes January 08 2025 10:42:55.
trace.pyc File 23235 bytes January 08 2025 10:43:03.
trace.pyo File 23172 bytes January 08 2025 10:43:31.
traceback.py File 11285 bytes January 08 2025 10:43:34.
traceback.pyc File 11939 bytes January 21 2025 11:47:01.
traceback.pyo File 11939 bytes January 08 2025 10:43:31.
tty.py File 879 bytes January 08 2025 10:42:55.
tty.pyc File 1356 bytes January 08 2025 10:42:56.
tty.pyo File 1356 bytes January 08 2025 10:42:56.
types.py File 2094 bytes January 08 2025 10:42:56.
types.pyc File 2816 bytes January 21 2025 11:47:01.
types.pyo File 2816 bytes January 08 2025 10:43:04.
urllib.py File 60228 bytes January 08 2025 10:43:03.
urllib.pyc File 52580 bytes January 08 2025 10:43:37.
urllib.pyo File 52485 bytes January 08 2025 10:43:09.
urllib2.py File 52537 bytes January 08 2025 10:43:35.
urllib2.pyc File 48949 bytes January 08 2025 10:43:34.
urllib2.pyo File 48854 bytes January 08 2025 10:43:27.
urlparse.py File 16678 bytes January 08 2025 10:43:11.
urlparse.pyc File 15886 bytes January 08 2025 10:43:08.
urlparse.pyo File 15886 bytes January 08 2025 10:43:08.
user.py File 1627 bytes January 08 2025 10:43:03.
user.pyc File 1737 bytes January 08 2025 10:43:03.
user.pyo File 1737 bytes January 08 2025 10:43:03.
uu.py File 6707 bytes January 08 2025 10:42:59.
uu.pyc File 4455 bytes January 08 2025 10:43:27.
uu.pyo File 4455 bytes January 08 2025 10:43:27.
uuid.py File 23175 bytes January 08 2025 10:43:04.
uuid.pyc File 23778 bytes January 08 2025 10:43:05.
uuid.pyo File 23662 bytes January 08 2025 10:42:56.
warnings.py File 14823 bytes January 08 2025 10:43:04.
warnings.pyc File 13809 bytes January 21 2025 11:47:01.
warnings.pyo File 13020 bytes January 08 2025 10:43:41.
wave.py File 18582 bytes January 08 2025 10:43:03.
wave.pyc File 20676 bytes January 08 2025 10:43:27.
wave.pyo File 20532 bytes January 08 2025 10:43:05.
weakref.py File 14830 bytes January 08 2025 10:43:28.
weakref.pyc File 17130 bytes January 08 2025 10:43:05.
weakref.pyo File 17130 bytes January 08 2025 10:43:05.
webbrowser.py File 22735 bytes January 08 2025 10:43:35.
webbrowser.pyc File 20335 bytes January 08 2025 10:42:55.
webbrowser.pyo File 20290 bytes January 08 2025 10:43:27.
whichdb.py File 3388 bytes January 08 2025 10:43:11.
whichdb.pyc File 2267 bytes January 08 2025 10:43:27.
whichdb.pyo File 2267 bytes January 08 2025 10:43:27.
wsgiref.egg-info File 187 bytes January 08 2025 10:42:51.
xdrlib.py File 6069 bytes January 08 2025 10:43:40.
xdrlib.pyc File 10448 bytes January 08 2025 10:43:38.
xdrlib.pyo File 10448 bytes January 08 2025 10:43:38.
xmllib.py File 34865 bytes January 08 2025 10:42:56.
xmllib.pyc File 27550 bytes January 08 2025 10:43:35.
xmllib.pyo File 27550 bytes January 08 2025 10:43:35.
xmlrpclib.py File 52136 bytes January 08 2025 10:43:31.
xmlrpclib.pyc File 45887 bytes January 08 2025 10:43:27.
xmlrpclib.pyo File 45703 bytes January 08 2025 10:43:04.
zipfile.py File 59477 bytes January 08 2025 10:43:40.
zipfile.pyc File 42930 bytes January 08 2025 10:43:34.
zipfile.pyo File 42930 bytes January 08 2025 10:43:34.

Reading File: //opt/alt/python27/lib64/python2.7/doctest.pyo

�
�V~gc!@s�dZdZdddddddd	d
ddd
ddddddddddddddddddd d!d"g!Zd#d$lZd#d$lZd#d$lZd#d$lZd#d$lZd#d$lZd#d$l	Z	d#d$l
Z
d#d$lZd#d$lZd#d$l
Z
d#d$lZd#d%lmZd#d&lmZed'd(�ZiZd)�Zed�Zed�Zed�Zed�Zed�Zed�ZeeBeBeBeBeBZed
�Zed�Zed�Zed
�ZeeBeBeBZ d*Z!d+Z"d,�Z#d-d.�Z$d/�Z%e&ej'd0e(�p)d1Z)d2d3�Z*d4�Z+d5efd6��YZ,d7�Z-d8�Z.d9�Z/d:ej0fd;��YZ1d<�Z2dfd=��YZ3dfd>��YZ4dfd?��YZ5dfd@��YZ6dfdA��YZ7dfdB��YZ8de9fdC��YZ:de9fdD��YZ;de7fdE��YZ<e(a=e(e(e(e(e>dFe(e?e?dG�	Z@e>e(e(e(e(e>dFe(e?e5�e(dH�ZAe?dIe(dFdJ�ZBdfdK��YZCdFaDdL�ZEdMe
jFfdN��YZGdOeGfdP��YZHe(e(e(e(dQ�ZIdReGfdS��YZJe>e(e(e5�e(dT�ZKdU�ZLdV�ZMdW�ZNe?e(dX�ZOe?e(dY�ZPe?dZ�ZQd[fd\��YZRieRd[6d]d^6d_d`6dadb6dcdd6dedf6ZSdg�ZTeUdhkr�ejVeT��nd$S(is�Module doctest -- a framework for running examples in docstrings.

In simplest use, end each module M to be tested with:

def _test():
    import doctest
    doctest.testmod()

if __name__ == "__main__":
    _test()

Then running the module as a script will cause the examples in the
docstrings to get executed and verified:

python M.py

This won't display anything unless an example fails, in which case the
failing example(s) and the cause(s) of the failure(s) are printed to stdout
(why not stderr? because stderr is a lame hack <0.2 wink>), and the final
line of output is "Test failed.".

Run it with the -v switch instead:

python M.py -v

and a detailed report of all examples tried is printed to stdout, along
with assorted summaries at the end.

You can force verbose mode by passing "verbose=True" to testmod, or prohibit
it by passing "verbose=False".  In either of those cases, sys.argv is not
examined by testmod.

There are a variety of other ways to run doctests, including integration
with the unittest framework, and support for running non-Python text
files containing doctests.  There are also many ways to override parts
of doctest's default behaviors.  See the Library Reference Manual for
details.
sreStructuredText entregister_optionflagtDONT_ACCEPT_TRUE_FOR_1tDONT_ACCEPT_BLANKLINEtNORMALIZE_WHITESPACEtELLIPSIStSKIPtIGNORE_EXCEPTION_DETAILtCOMPARISON_FLAGStREPORT_UDIFFtREPORT_CDIFFtREPORT_NDIFFtREPORT_ONLY_FIRST_FAILUREtREPORTING_FLAGStExampletDocTestt
DocTestParsert
DocTestFindert
DocTestRunnert
OutputCheckertDocTestFailuretUnexpectedExceptiontDebugRunnerttestmodttestfiletrun_docstring_examplestTestertDocTestSuitetDocFileSuitetset_unittest_reportflagstscript_from_examplest
testsourcet	debug_srctdebugi����N(tStringIO(t
namedtupletTestResultssfailed attemptedcCstj|dtt�>�S(Ni(tOPTIONFLAGS_BY_NAMEt
setdefaulttlen(tname((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�ss<BLANKLINE>s...cCsUd}xHtjD]=}|j|d�}|tt|�kr||jO}qqW|S(s�
    Return the compiler-flags associated with the future features that
    have been imported into the given namespace (globs).
    iN(t
__future__tall_feature_namestgettNonetgetattrt
compiler_flag(tglobstflagstfnametfeature((s,/opt/alt/python27/lib64/python2.7/doctest.pyt_extract_future_flags�sicCs{tj|�r|St|ttf�rDt|t�t�dg�S|dkrkt	j
t	j|�jdSt
d��dS(s�
    Return the module specified by `module`.  In particular:
      - If `module` is a module, then return module.
      - If `module` is a string, then import and return the
        module with that name.
      - If `module` is None, then return the calling module.
        The calling module is assumed to be the module of
        the stack frame at the given depth in the call stack.
    t*t__name__s"Expected a module, string, or NoneN(tinspecttismodulet
isinstancetstrtunicodet
__import__tglobalstlocalsR+tsystmodulest	_getframet	f_globalst	TypeError(tmoduletdepth((s,/opt/alt/python27/lib64/python2.7/doctest.pyt_normalize_module�s
cCs�|rvt|d�}t||�}t|d�rvt|jd�rs|jj|�}|jtjd�|fSqvnt|d��}|j	�|fSWdQXdS(Nit
__loader__tget_datas
tU(
RDt_module_relative_paththasattrRERFtreplacetostlineseptopentread(tfilenametpackagetmodule_relativet
file_contentstf((s,/opt/alt/python27/lib64/python2.7/doctest.pyt_load_testfile�stencodingsutf-8icCs;t|t�r$|jtd�}ntjd|d|�S(s�
    Add the given number of space characters to the beginning of
    every non-blank line in `s`, and return the result.
    If the string `s` is Unicode, it is encoded using the stdout
    encoding and the `backslashreplace` error handler.
    tbackslashreplaces
(?m)^(?!$)t (R7R9tencodet	_encodingtretsub(tstindent((s,/opt/alt/python27/lib64/python2.7/doctest.pyt_indent�scCs;t�}|\}}}tj|||d|�|j�S(sz
    Return a string containing a traceback message for the given
    exc_info tuple (as returned by sys.exc_info()).
    tfile(R!t	tracebacktprint_exceptiontgetvalue(texc_infotexcouttexc_typetexc_valtexc_tb((s,/opt/alt/python27/lib64/python2.7/doctest.pyt_exception_traceback�s	t	_SpoofOutcBseZd�Zdd�ZRS(cCsNtj|�}|r2|jd�r2|d7}nt|d�rJ|`n|S(Ns
t	softspace(R!RbtendswithRIRj(tselftresult((s,/opt/alt/python27/lib64/python2.7/doctest.pyRb�s
	cCsAtj||�t|d�r(|`n|js=d|_ndS(NRjt(R!ttruncateRIRjtbuf(Rltsize((s,/opt/alt/python27/lib64/python2.7/doctest.pyRos
		N(R4t
__module__RbR+Ro(((s,/opt/alt/python27/lib64/python2.7/doctest.pyRi�s	
cCst|kr||kS|jt�}dt|�}}|d}|rt|j|�rmt|�}|d=qttSn|d}|r�|j|�r�|t|�8}|d=q�tSn||kr�tSxC|D];}|j|||�}|dkr�tS|t|�7}q�WtS(s_
    Essentially the only subtle case:
    >>> _ellipsis_match('aa...aa', 'aaa')
    False
    ii����(tELLIPSIS_MARKERtsplitR&t
startswithtFalseRktfindtTrue(twanttgottwststartpostendpostw((s,/opt/alt/python27/lib64/python2.7/doctest.pyt_ellipsis_matchs0





cCs"|j�}|rd|SdSdS(s)Return a commented form of the given lines# t#N(trstrip(tline((s,/opt/alt/python27/lib64/python2.7/doctest.pyt
_comment_lineAscCs�dt|�}}|jd�}|dkr7|}n|jdd|�}|dkra|}n|jdd|�}|dkr�|d}n|||!S(Nis
t:t.i(R&Rwtrfind(tmsgtstarttendti((s,/opt/alt/python27/lib64/python2.7/doctest.pyt_strip_exception_detailsIs		
t_OutputRedirectingPdbcBs5eZdZd�Zdd�Zd�Zd�ZRS(s�
    A specialized version of the python debugger that redirects stdout
    to a given stream when interacting with the user.  Stdout is *not*
    redirected when traced code is executed.
    cCs5||_t|_tjj|d|�d|_dS(Ntstdouti(t_OutputRedirectingPdb__outRvt$_OutputRedirectingPdb__debugger_usedtpdbtPdbt__init__tuse_rawinput(Rltout((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�is		cCs>t|_|dkr'tj�j}ntjj||�dS(N(	RxR�R+R=R?tf_backR�R�t	set_trace(Rltframe((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�ps	cCs |jrtjj|�ndS(N(R�R�R�tset_continue(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�vs	cGs=tj}|jt_ztjj||�SWd|t_XdS(N(R=R�R�R�R�ttrace_dispatch(Rltargstsave_stdout((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�|s
	N(R4Rrt__doc__R�R+R�R�R�(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�cs
		cCs�tj|�std|�n|jd�r:td�nt|d�retjj|j	�d}nw|j
dkr�ttj
�dkr�tj
ddkr�tjjtj
d�d}q�tj}ntd|d	��tjj||jd��S(
NsExpected a module: %rt/s1Module-relative files may not have absolute pathst__file__it__main__Rns+Can't resolve paths relative to the module s (it has no __file__)(R5R6RARut
ValueErrorRIRKtpathRtR�R4R&R=targvtcurdirtjoin(RBR�tbasedir((s,/opt/alt/python27/lib64/python2.7/doctest.pyRH�s( cBs>eZdZddddd�Zd�Zd�Zd�ZRS(sn
    A single doctest example, consisting of source code and expected
    output.  `Example` defines the following attributes:

      - source: A single Python statement, always ending with a newline.
        The constructor adds a newline if needed.

      - want: The expected output from running the source code (either
        from stdout, or a traceback in case of exception).  `want` ends
        with a newline unless it's empty, in which case it's an empty
        string.  The constructor adds a newline if needed.

      - exc_msg: The exception message generated by the example, if
        the example is expected to generate an exception; or `None` if
        it is not expected to generate an exception.  This exception
        message is compared against the return value of
        `traceback.format_exception_only()`.  `exc_msg` ends with a
        newline unless it's `None`.  The constructor adds a newline
        if needed.

      - lineno: The line number within the DocTest string containing
        this Example where the Example begins.  This line number is
        zero-based, with respect to the beginning of the DocTest.

      - indent: The example's indentation in the DocTest string.
        I.e., the number of space characters that precede the
        example's first prompt.

      - options: A dictionary mapping from option flags to True or
        False, which is used to override default options for this
        example.  Any option flags not contained in this dictionary
        are left at their default value (as specified by the
        DocTestRunner's optionflags).  By default, no options are set.
    icCs�|jd�s|d7}n|r?|jd�r?|d7}n|dk	rh|jd�rh|d7}n||_||_||_||_|dkr�i}n||_||_dS(Ns
(RkR+tsourceRytlinenoR]toptionstexc_msg(RlR�RyR�R�R]R�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s


						cCs�t|�t|�k	rtS|j|jko�|j|jko�|j|jko�|j|jko�|j|jko�|j|jkS(N(ttypetNotImplementedR�RyR�R]R�R�(Rltother((s,/opt/alt/python27/lib64/python2.7/doctest.pyt__eq__�scCs||kS(N((RlR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyt__ne__�scCs(t|j|j|j|j|jf�S(N(thashR�RyR�R]R�(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyt__hash__�sN(R4RrR�R+R�R�R�R�(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR
�s"			cBsDeZdZd�Zd�Zd�Zd�Zd�Zd�ZRS(se
    A collection of doctest examples that should be run in a single
    namespace.  Each `DocTest` defines the following attributes:

      - examples: the list of examples.

      - globs: The namespace (aka globals) that the examples should
        be run in.

      - name: A name identifying the DocTest (typically, the name of
        the object whose docstring this DocTest was extracted from).

      - filename: The name of the file that this DocTest was extracted
        from, or `None` if the filename is unknown.

      - lineno: The line number within filename where this DocTest
        begins, or `None` if the line number is unavailable.  This
        line number is zero-based, with respect to the beginning of
        the file.

      - docstring: The string that the examples were extracted from,
        or `None` if the string is unavailable.
    cCs@||_||_|j�|_||_||_||_dS(s�
        Create a new DocTest containing the given examples.  The
        DocTest's globals are initialized with a copy of `globs`.
        N(texamplest	docstringtcopyR.R'ROR�(RlR�R.R'ROR�R�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�s				cCslt|j�dkrd}n1t|j�dkr<d}ndt|j�}d|j|j|j|fS(Nisno examplesis	1 examples%d exampless<DocTest %s from %s:%s (%s)>(R&R�R'ROR�(RlR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyt__repr__s		cCs�t|�t|�k	rtS|j|jko�|j|jko�|j|jko�|j|jko�|j|jko�|j|jkS(N(R�R�R�R�R.R'ROR�(RlR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�#scCs||kS(N((RlR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�.scCs"t|j|j|j|jf�S(N(R�R�R'ROR�(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�1scCsVt|t�sdSt|j|j|jt|�f|j|j|jt|�f�S(Ni����(R7RtcmpR'ROR�tid(RlR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyt__cmp__5s!(	R4RrR�R�R�R�R�R�R�(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�s		
			cBs�eZdZejdejejB�ZejdejejBejB�Z	ejd�j
Zdd�Zd�Z
dd�Zd�Zejd	ej�Zd
�Zejdej�Zd�Zd
�Zd�ZRS(sD
    A class used to parse strings containing doctest examples.
    s�
        # Source consists of a PS1 line followed by zero or more PS2 lines.
        (?P<source>
            (?:^(?P<indent> [ ]*) >>>    .*)    # PS1 line
            (?:\n           [ ]*  \.\.\. .*)*)  # PS2 lines
        \n?
        # Want consists of any non-blank lines that do not start with PS1.
        (?P<want> (?:(?![ ]*$)    # Not a blank line
                     (?![ ]*>>>)  # Not a line starting with PS1
                     .+$\n?       # But any other line
                  )*)
        s�
        # Grab the traceback header.  Different versions of Python have
        # said different things on the first traceback line.
        ^(?P<hdr> Traceback\ \(
            (?: most\ recent\ call\ last
            |   innermost\ last
            ) \) :
        )
        \s* $                # toss trailing whitespace on the header.
        (?P<stack> .*?)      # don't blink: absorb stuff until...
        ^ (?P<msg> \w+ .*)   #     a line *starts* with alphanum.
        s^[ ]*(#.*)?$s<string>c

Csx|j�}|j|�}|dkrYdjg|jd�D]}||^q=�}ng}d\}}x�|jj|�D]�}|j|||j�!�||jd||j��7}|j	|||�\}	}
}}|j
|	�s.|jt|	||d|d|t|j
d��d|
��n||jd|j�|j��7}|j�}q~W|j||�|S(s=
        Divide the given string into examples and intervening text,
        and return them as a list of alternating Examples and strings.
        Line numbers for the Examples are 0-based.  The optional
        argument `name` is a name identifying this string, and is only
        used for error messages.
        is
R�R]R�(ii(t
expandtabst_min_indentR�Rtt_EXAMPLE_REtfinditertappendR�tcountt_parse_examplet_IS_BLANK_OR_COMMENTR
R&tgroupR�(
RltstringR't
min_indenttltoutputtcharnoR�tmR�R�RyR�((s,/opt/alt/python27/lib64/python2.7/doctest.pytparseos&2!
%cCs%t|j||�|||||�S(s"
        Extract all doctest examples from the given string, and
        collect them into a `DocTest` object.

        `globs`, `name`, `filename`, and `lineno` are attributes for
        the new `DocTest` object.  See the documentation for `DocTest`
        for more information.
        (Rtget_examples(RlR�R.R'ROR�((s,/opt/alt/python27/lib64/python2.7/doctest.pytget_doctest�s	cCs2g|j||�D]}t|t�r|^qS(s�
        Extract all doctest examples from the given string, and return
        them as a list of `Example` objects.  Line numbers are
        0-based, because it's most common in doctests that nothing
        interesting appears on the same line as opening triple-quote,
        and so the first interesting line is called "line 1" then.

        The optional argument `name` is a name identifying this
        string, and is only used for error messages.
        (R�R7R
(RlR�R'tx((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��sc
Cs~t|jd��}|jd�jd�}|j||||�|j|dd|d||�djg|D]}||d^qr�}|jd�}|jd�}	t|	�dkr�tjd	|	d
�r�|	d
=n|j|	d|||t|��djg|	D]}
|
|^q�}|jj|�}|rS|jd�}nd}|j
|||�}||||fS(
s�
        Given a regular expression match from `_EXAMPLE_RE` (`m`),
        return a pair `(source, want)`, where `source` is the matched
        example's source code (with prompts and indentation stripped);
        and `want` is the example's expected output (with indentation
        stripped).

        `name` is the string's name, and `lineno` is the line number
        where the example starts; both are used for error messages.
        R]R�s
iRWR�iRys *$i����R�N(R&R�Rtt_check_prompt_blankt
_check_prefixR�RZtmatcht
_EXCEPTION_RER+t
_find_options(
RlR�R'R�R]tsource_linestslR�Ryt
want_linestwlR�R�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s$"*(
&s#\s*doctest:\s*([^\n\'"]*)$c	Cs�i}x�|jj|�D]�}|jd�jdd�j�}xp|D]h}|ddksm|dtkr�td|d||f��nt|d}|ddk||<qGWqW|r�|j|�r�td|||f��n|S(	s
        Return a dictionary containing option overrides extracted from
        option directives in the given source string.

        `name` is the string's name, and `lineno` is the line number
        where the example starts; both are used for error messages.
        it,RWis+-s7line %r of the doctest for %s has an invalid option: %rt+sSline %r of the doctest for %s has an option directive on a line with no example: %r(t_OPTION_DIRECTIVE_RER�R�RJRtR$R�R�(	RlR�R'R�R�R�toption_stringstoptiontflag((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s!
s
^([ ]*)(?=\S)cCsOg|jj|�D]}t|�^q}t|�dkrGt|�SdSdS(s;Return the minimum indentation of any non-blank line in `s`iN(t
_INDENT_REtfindallR&tmin(RlR\R]tindents((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�s+
c	Cs}xvt|�D]h\}}t|�|dkr
||ddkr
td||d||||d!|f��q
q
WdS(s

        Given the lines of a source string (including prompts and
        leading indentation), check to make sure that every prompt is
        followed by a space character.  If any line is not followed by
        a space character, then raise ValueError.
        iiRWs8line %r of the docstring for %s lacks blank after %s: %riN(t	enumerateR&R�(RltlinesR]R'R�R�R�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�s
*cCs[xTt|�D]F\}}|r
|j|�r
td||d||f��q
q
WdS(s�
        Check that every line in the given list starts with the given
        prefix; if any line does not, then raise a ValueError.
        sGline %r of the docstring for %s has inconsistent leading whitespace: %riN(R�RuR�(RlR�tprefixR'R�R�R�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�s(R4RrR�RZtcompilet	MULTILINEtVERBOSER�tDOTALLR�R�R�R�R�R�R�R�R�R�R�R�R�(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR?s"'		3				cBs_eZdZee�eed�Zddddd�Zd�Z	d�Z
d�Zd�ZRS(s<
    A class used to extract the DocTests that are relevant to a given
    object, from its docstring and the docstrings of its contained
    objects.  Doctests can currently be extracted from the following
    object types: modules, functions, classes, methods, staticmethods,
    classmethods, and properties.
    cCs(||_||_||_||_dS(st
        Create a new doctest finder.

        The optional argument `parser` specifies a class or
        function that should be used to create new DocTest objects (or
        objects that implement the same interface as DocTest).  The
        signature for this factory function should match the signature
        of the DocTest constructor.

        If the optional argument `recurse` is false, then `find` will
        only examine the given object, and not any contained objects.

        If the optional argument `exclude_empty` is false, then `find`
        will include tests for objects with empty docstrings.
        N(t_parsert_verboset_recurset_exclude_empty(Rltverbosetparsertrecurset
exclude_empty((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�3s			c	Cs�|dkrIt|dd�}|dkrItdt|�f��qIn|tkr^d}n|dkr|tj|�}nydtj|�p�tj|�}|dk	r�t	j
||j�}nt	j
|�}|s�d}nWntk
r�d}nX|dkr-|dkri}q9|jj
�}n|j
�}|dk	rU|j|�nd|krnd|d<ng}|j||||||i�|j�|S(sj
        Return a list of the DocTests that are defined by the given
        object's docstring, or by any of its contained objects'
        docstrings.

        The optional parameter `module` is the module that contains
        the given object.  If the module is not specified or is None, then
        the test finder will attempt to automatically determine the
        correct module.  The object's module is used:

            - As a default namespace, if `globs` is not specified.
            - To prevent the DocTestFinder from extracting DocTests
              from objects that are imported from other modules.
            - To find the name of the file containing the object.
            - To help find the line number of the object within its
              file.

        Contained objects whose module does not match `module` are ignored.

        If `module` is False, no attempt to find the module will be made.
        This is obscure, of use mostly in tests:  if `module` is False, or
        is None but cannot be found automatically, then all objects are
        considered to belong to the (non-existent) module, so all contained
        objects will (recursively) be searched for doctests.

        The globals for each DocTest is formed by combining `globs`
        and `extraglobs` (bindings in `extraglobs` override bindings
        in `globs`).  A new copy of the globals dictionary is created
        for each DocTest.  If `globs` is not specified, then it
        defaults to the module's `__dict__`, if specified, or {}
        otherwise.  If `extraglobs` is not specified, then it defaults
        to {}.

        R4sJDocTestFinder.find: name must be given when obj.__name__ doesn't exist: %rR�N(R+R,R�R�RvR5t	getmodulet
getsourcefiletgetfilet	linecachetgetlinest__dict__RAR�tupdatet_findtsort(	RltobjR'RBR.t
extraglobsR_R�ttests((s,/opt/alt/python27/lib64/python2.7/doctest.pyRwIs>$	


	

cCs�|dkrtStj|�dk	r8|tj|�kStj|�rW|j|jkStj|�rv|j|j	kSt
|d�r�|j|j	kSt|t�r�tSt
d��dS(sY
        Return true if the given object is defined in the given
        module.
        Rrs"object must be a class or functionN(R+RxR5R�t
isfunctionR�tfunc_globalstisclassR4RrRIR7tpropertyR�(RlRBtobject((s,/opt/alt/python27/lib64/python2.7/doctest.pyt_from_module�sc	Cs	|jrd|GHnt|�|kr+dSd|t|�<|j|||||�}|dk	rr|j|�ntj|�r|jrx�|jj	�D]n\}	}
d||	f}	tj
|
�s�tj|
�r�|j||
�r�|j
||
|	||||�q�q�Wntj|�r|jrx�t|di�j	�D]�\}	}
t|	t�swtdt|	�f��ntj
|
�p�tj|
�p�tj|
�p�tj|
�p�t|
t�s�tdt|
�f��nd||	f}	|j
||
|	||||�q@Wntj|�r|jrx�|jj	�D]�\}	}
t|
t�rit||	�}
nt|
t�r�t||	�j}
ntj
|
�s�tj|
�s�t|
t�r<|j||
�r<d||	f}	|j
||
|	||||�q<q<WndS(	sm
        Find tests for the given object and any contained objects, and
        add them to `tests`.
        sFinding tests in %sNis%s.%st__test__s5DocTestFinder.find: __test__ keys must be strings: %rs`DocTestFinder.find: __test__ values must be strings, functions, methods, classes, or modules: %rs%s.__test__.%s(R�R�t	_get_testR+R�R5R6R�R�titemsR�R�R�R�R,R7t
basestringR�R�tismethodtstaticmethodtclassmethodtim_funcR�(RlR�R�R'RBR�R.tseenttesttvalnametval((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��sP	%c	Cst|t�r|}ncyC|jdkr3d}n'|j}t|t�sZt|�}nWnttfk
rzd}nX|j||�}|jr�|r�dS|dkr�d}n2t	|d|j
�}|ddkr�|d }n|jj|||||�S(	ss
        Return a DocTest for the given object, if it defines a docstring;
        otherwise, return None.
        RnR�i����s.pycs.pyoi����N(s.pycs.pyo(
R7RR�R+R8RAtAttributeErrort_find_linenoR�R,R4R�R�(	RlR�R'RBR.R�R�R�RO((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�s(			
	
cCs�d}tj|�rd}ntj|�r�|dkr=dStjdt|dd��}x6t|�D]%\}}|j|�ri|}PqiqiWntj	|�r�|j
}ntj|�r�|j}ntj
|�r�|j}ntj|�r|j}ntj|�r)t|dd�d}n|dk	r�|dkrI|dStjd�}x7t|t|��D]}|j||�rn|SqnWndS(	s�
        Return a line number of the given object's docstring.  Note:
        this method assumes that the object has a docstring.
        is^\s*class\s*%s\bR4t-tco_firstlinenois(^|.*:)\s*\w*("|')N(R+R5R6R�RZR�R,R�R�RRR�t	func_codetistracebackttb_frametisframetf_codetiscodetrangeR&(RlR�R�R�tpatR�R�((s,/opt/alt/python27/lib64/python2.7/doctest.pyRs<		N(
R4RrR�RvRRxR�R+RwR�R�RR(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR*s	]		?	%cBs�eZdZddZdddd�Zd�Zd�Zd�Zd�Z	d	�Z
d
�Zd�Ze
jd�Zdd
�Zdded�Zdd�Zd�ZRS(s2	
    A class used to run DocTest test cases, and accumulate statistics.
    The `run` method is used to process a single DocTest case.  It
    returns a tuple `(f, t)`, where `t` is the number of test cases
    tried, and `f` is the number of test cases that failed.

        >>> tests = DocTestFinder().find(_TestClass)
        >>> runner = DocTestRunner(verbose=False)
        >>> tests.sort(key = lambda test: test.name)
        >>> for test in tests:
        ...     print test.name, '->', runner.run(test)
        _TestClass -> TestResults(failed=0, attempted=2)
        _TestClass.__init__ -> TestResults(failed=0, attempted=2)
        _TestClass.get -> TestResults(failed=0, attempted=2)
        _TestClass.square -> TestResults(failed=0, attempted=1)

    The `summarize` method prints a summary of all the test cases that
    have been run by the runner, and returns an aggregated `(f, t)`
    tuple:

        >>> runner.summarize(verbose=1)
        4 items passed all tests:
           2 tests in _TestClass
           2 tests in _TestClass.__init__
           2 tests in _TestClass.get
           1 tests in _TestClass.square
        7 tests in 4 items.
        7 passed and 0 failed.
        Test passed.
        TestResults(failed=0, attempted=7)

    The aggregated number of tried examples and failed examples is
    also available via the `tries` and `failures` attributes:

        >>> runner.tries
        7
        >>> runner.failures
        0

    The comparison between expected outputs and actual outputs is done
    by an `OutputChecker`.  This comparison may be customized with a
    number of option flags; see the documentation for `testmod` for
    more information.  If the option flags are insufficient, then the
    comparison may also be customized by passing a subclass of
    `OutputChecker` to the constructor.

    The test runner's display output can be controlled in two ways.
    First, an output function (`out) can be passed to
    `TestRunner.run`; this function will be called with strings that
    should be displayed.  It defaults to `sys.stdout.write`.  If
    capturing the output is not sufficient, then the display output
    can be also customized by subclassing DocTestRunner, and
    overriding the methods `report_start`, `report_success`,
    `report_unexpected_exception`, and `report_failure`.
    R3iFicCsv|pt�|_|dkr0dtjk}n||_||_||_d|_d|_	i|_
t�|_dS(sc
        Create a new test runner.

        Optional keyword arg `checker` is the `OutputChecker` that
        should be used to compare the expected outputs and actual
        outputs of doctest examples.

        Optional keyword arg 'verbose' prints lots of stuff if true,
        only failures if false; by default, it's true iff '-v' is in
        sys.argv.

        Optional argument `optionflags` can be used to control how the
        test runner compares expected output to actual output, and how
        it displays failures.  See the documentation for `testmod` for
        more information.
        s-viN(
Rt_checkerR+R=R�R�toptionflagstoriginal_optionflagsttriestfailurest_name2ftRit_fakeout(RltcheckerR�R((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s						cCs_|jr[|jr=|dt|j�dt|j��q[|dt|j�d�ndS(s�
        Report that the test runner is about to process the given
        example.  (Only displays a message if verbose=True)
        sTrying:
sExpecting:
sExpecting nothing
N(R�RyR^R�(RlR�Rtexample((s,/opt/alt/python27/lib64/python2.7/doctest.pytreport_start�s		(cCs|jr|d�ndS(st
        Report that the given example ran successfully.  (Only
        displays a message if verbose=True)
        sok
N(R�(RlR�RRRz((s,/opt/alt/python27/lib64/python2.7/doctest.pytreport_success�s	cCs3||j||�|jj|||j��dS(s7
        Report that the given example failed.
        N(t_failure_headerRtoutput_differenceR(RlR�RRRz((s,/opt/alt/python27/lib64/python2.7/doctest.pytreport_failure�scCs.||j||�dtt|���dS(sO
        Report that the given example raised an unexpected exception.
        sException raised:
N(R"R^Rh(RlR�RRRc((s,/opt/alt/python27/lib64/python2.7/doctest.pytreport_unexpected_exception�scCs�|jg}|jrs|jdk	rJ|jdk	rJ|j|jd}nd}|jd|j||jf�n!|jd|jd|jf�|jd�|j}|jt|��dj|�S(Nit?sFile "%s", line %s, in %ssLine %s, in %ssFailed example:s
(	tDIVIDERROR�R+R�R'R�R^R�(RlRRR�R�R�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR"�s		!
	cBsQd}}|j}ed�\}}}	|jj}
x�e|j�D]�\}}|je@of|dk}
||_|jr�xH|jj�D]4\}}|r�|j|O_q�|j|M_q�Wn|je	@r�qDn|d7}|
s�|j
|||�nd|j|f}y7e|j
|d|d�|jU|jj�d}Wn3ek
r_�n ej�}|jj�nX|jj�}|jjd�|}|dkr�|
|j||j�r�|}q�n�ej�}ej|d �d}|
s|e|�7}n|jdkr(|	}n^|
|j||j�rI|}n=|je@r�|
e|j�e|�|j�r�|}q�n||kr�|
s$|j||||�q$qD||kr�|
s�|j ||||�n|d7}qD||	krD|
s|j!||||�n|d7}qDqDW||_|j"|||�e#||�S(	s�
        Run the examples in `test`.  Write the outcome of each example
        with one of the `DocTestRunner.report_*` methods, using the
        writer function `out`.  `compileflags` is the set of compiler
        flags that should be used to execute examples.  Return a tuple
        `(f, t)`, where `t` is the number of examples tried, and `f`
        is the number of examples that failed.  The examples are run
        in the namespace `test.globs`.
        iiis<doctest %s[%d]>tsingleii����N($RRRtcheck_outputR�R�RR�RRR R'R�R�R.tdebuggerR�R+tKeyboardInterruptR=RcRRbRoRyR`tformat_exception_onlyRhR�RR�R!R$R%t_DocTestRunner__record_outcomeR#(RlRtcompileflagsR�RRRtSUCCESStFAILUREtBOOMtcheckt
examplenumRtquiett
optionflagR
ROt	exceptionRztoutcomeRcR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyt__run�s�
	
		




		
	


	cCs^|jj|jd�\}}||||f|j|j<|j|7_|j|7_dS(s{
        Record the fact that the given DocTest (`test`) generated `f`
        failures out of `t` tried examples.
        iN(ii(RR*R'RR(RlRRStttf2tt2((s,/opt/alt/python27/lib64/python2.7/doctest.pyt__record_outcomedss.<doctest (?P<name>.+)\[(?P<examplenum>\d+)\]>$cCs�|jj|�}|r�|jd�|jjkr�|jjt|jd��}|j}t|t	�r|j
dd�}n|jt�S|j
||�SdS(NR'R3tasciiRV(t%_DocTestRunner__LINECACHE_FILENAME_RER�R�RR'R�tintR�R7R9RXt
splitlinesRxtsave_linecache_getlines(RlROtmodule_globalsR�RR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyt__patched_linecache_getlinesqs!	
cCs||_|dkr't|j�}ntj}|dkrH|j}n|jt_tj	}t
|�|_|jj�|jj	t_	t
j|_|jt
_tj}tjt_z|j|||�SWd|t_|t_	|jt
_|t_|r|jj�nXdS(sJ
        Run the examples in `test`, and display the results using the
        writer function `out`.

        The examples are run in the namespace `test.globs`.  If
        `clear_globs` is true (the default), then this namespace will
        be cleared after the test runs, to help with garbage
        collection.  If you would like to examine the namespace after
        the test completes, then use `clear_globs=False`.

        `compileflags` gives the set of flags that should be used by
        the Python compiler when running the examples.  If not
        specified, then it will default to the set of future-import
        flags that apply to `globs`.

        The output of each example is checked using
        `DocTestRunner.check_output`, and the results are formatted by
        the `DocTestRunner.report_*` methods.
        N(RR+R2R.R=R�twriteRR�R�R�R*tresetR�R�RAt*_DocTestRunner__patched_linecache_getlinestdisplayhookt__displayhook__t_DocTestRunner__runtclear(RlRR.R�tclear_globsR�tsave_set_tracetsave_displayhook((s,/opt/alt/python27/lib64/python2.7/doctest.pytrun|s.			
				c
Cs|dkr|j}ng}g}g}d}}x�|jj�D]w}|\}\}	}
||
7}||	7}|
dkr�|j|�qD|	dkr�|j||
f�qD|j|�qDW|rL|rt|�GdGH|j�x|D]}dG|GHq�Wn|rLt|�GdGH|j�x&|D]\}}d||fGHq'WqLn|r�|jGHt|�GdGH|j�x/|D]$\}\}	}
d|	|
|fGHqzWn|r�|GdGt|j�Gd	GH||Gd
G|GdGHn|r�dG|Gd
GHn|rdGHnt||�S(s�
        Print a summary of all the test cases that have been run by
        this DocTestRunner, and return a tuple `(f, t)`, where `f` is
        the total number of failed examples, and `t` is the total
        number of tried examples.

        The optional `verbose` argument controls how detailed the
        summary is.  If the verbosity is not specified, then the
        DocTestRunner's verbosity is used.
        isitems had no tests:s   sitems passed all tests:s %3d tests in %ssitems had failures:s %3d of %3d in %sstests insitems.s
passed andsfailed.s***Test Failed***s	failures.sTest passed.N(	R+R�RRR�R&R�R'R#(
RlR�tnoteststpassedtfailedttotaltttotalfR�R'RSR9tthingR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyt	summarize�sP






cCsv|j}xf|jj�D]U\}\}}||kr^||\}}||}||}n||f||<qWdS(N(RR(RlR�tdR'RSR9R:R;((s,/opt/alt/python27/lib64/python2.7/doctest.pytmerge�s	"

N(R4RrR�R'R+R�R R!R$R%R"RIR-RZR�R>RFRxRNRURW(((s,/opt/alt/python27/lib64/python2.7/doctest.pyRRs7
$	
					{	
>9cBs)eZdZd�Zd�Zd�ZRS(s_
    A class used to check the whether the actual output from a doctest
    example matches the expected output.  `OutputChecker` defines two
    methods: `check_output`, which compares a given pair of outputs,
    and returns true if they match; and `output_difference`, which
    returns a string describing the differences between two outputs.
    cCs||krtS|t@sI||fd	kr0tS||fd
krItSn|t@s�tjdtjt�d|�}tjdd|�}||kr�tSn|t@r�dj|j	��}dj|j	��}||kr�tSn|t
@rt||�rtSntS(s�
        Return True iff the actual output from an example (`got`)
        matches the expected output (`want`).  These strings are
        always considered to match if they are identical; but
        depending on what option flags the test runner is using,
        several non-exact match types are also possible.  See the
        documentation for `TestRunner` for more information about
        option flags.
        sTrue
s1
sFalse
s0
s(?m)^%s\s*?$Rns
(?m)^\s*?$RW(sTrue
s1
(sFalse
s0
(
RxRRRZR[tescapetBLANKLINE_MARKERRR�RtRRRv(RlRyRzR((s,/opt/alt/python27/lib64/python2.7/doctest.pyR)s,



cCsL|ttBtB@stS|t@r$tS|jd�dkoK|jd�dkS(Ns
i(RR	R
RvRxR�(RlRyRzR((s,/opt/alt/python27/lib64/python2.7/doctest.pyt_do_a_fancy_diff>s
c
Cs�|j}|t@s+tjdt|�}n|j|||�r/|jt�}|jt�}|t@r�t	j
||dd�}t|�d}d}n{|t@r�t	j
||dd�}t|�d}d}n@|t@rt	jdt	j�}	t|	j||��}d}nd|td	j|��S|rU|rUd
t|�t|�fS|ridt|�S|r}dt|�Sd
SdS(s�
        Return a string describing the differences between the
        expected output for a given example (`example`) and the actual
        output (`got`).  `optionflags` is the set of option flags used
        to compare `want` and `got`.
        s(?m)^[ ]*(?=
)tnis#unified diff with -expected +actuals-context diff with expected followed by actualtcharjunksndiff with -expected +actualsDifferences (%s):
RnsExpected:
%sGot:
%ssExpected:
%sGot nothing
sExpected nothing
Got:
%ssExpected nothing
Got nothing
N(RyRRZR[RYRZR@RxRtdifflibtunified_difftlistR	tcontext_diffR
tDiffertIS_CHARACTER_JUNKtcompareR^R�(
RlRRzRRyR�t	got_linestdifftkindtengine((s,/opt/alt/python27/lib64/python2.7/doctest.pyR#Us4	

	
	
	(R4RrR�R)RZR#(((s,/opt/alt/python27/lib64/python2.7/doctest.pyRs	6	cBs eZdZd�Zd�ZRS(s�A DocTest example has failed in debugging mode.

    The exception instance has variables:

    - test: the DocTest object being run

    - example: the Example object that failed

    - got: the actual output
    cCs||_||_||_dS(N(RRRz(RlRRRz((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s		cCs
t|j�S(N(R8R(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyt__str__�s(R4RrR�R�Rh(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�s
	cBs eZdZd�Zd�ZRS(s�A DocTest example has encountered an unexpected exception

    The exception instance has variables:

    - test: the DocTest object being run

    - example: the Example object that failed

    - exc_info: the exception info
    cCs||_||_||_dS(N(RRRc(RlRRRc((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s		cCs
t|j�S(N(R8R(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyRh�s(R4RrR�R�Rh(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�s
	cBs2eZdZdded�Zd�Zd�ZRS(s{	Run doc tests but raise an exception as soon as there is a failure.

       If an unexpected exception occurs, an UnexpectedException is raised.
       It contains the test, the example, and the original exception:

         >>> runner = DebugRunner(verbose=False)
         >>> test = DocTestParser().get_doctest('>>> raise KeyError\n42',
         ...                                    {}, 'foo', 'foo.py', 0)
         >>> try:
         ...     runner.run(test)
         ... except UnexpectedException, failure:
         ...     pass

         >>> failure.test is test
         True

         >>> failure.example.want
         '42\n'

         >>> exc_info = failure.exc_info
         >>> raise exc_info[0], exc_info[1], exc_info[2]
         Traceback (most recent call last):
         ...
         KeyError

       We wrap the original exception to give the calling application
       access to the test and example information.

       If the output doesn't match, then a DocTestFailure is raised:

         >>> test = DocTestParser().get_doctest('''
         ...      >>> x = 1
         ...      >>> x
         ...      2
         ...      ''', {}, 'foo', 'foo.py', 0)

         >>> try:
         ...    runner.run(test)
         ... except DocTestFailure, failure:
         ...    pass

       DocTestFailure objects provide access to the test:

         >>> failure.test is test
         True

       As well as to the example:

         >>> failure.example.want
         '2\n'

       and the actual output:

         >>> failure.got
         '1\n'

       If a failure or error occurs, the globals are left intact:

         >>> del test.globs['__builtins__']
         >>> test.globs
         {'x': 1}

         >>> test = DocTestParser().get_doctest('''
         ...      >>> x = 2
         ...      >>> raise KeyError
         ...      ''', {}, 'foo', 'foo.py', 0)

         >>> runner.run(test)
         Traceback (most recent call last):
         ...
         UnexpectedException: <DocTest foo from foo.py:0 (2 examples)>

         >>> del test.globs['__builtins__']
         >>> test.globs
         {'x': 2}

       But the globals are cleared if there is no error:

         >>> test = DocTestParser().get_doctest('''
         ...      >>> x = 2
         ...      ''', {}, 'foo', 'foo.py', 0)

         >>> runner.run(test)
         TestResults(failed=0, attempted=1)

         >>> test.globs
         {}

       cCs5tj||||t�}|r1|jj�n|S(N(RRNRvR.RJ(RlRR.R�RKtr((s,/opt/alt/python27/lib64/python2.7/doctest.pyRNscCst|||��dS(N(R(RlR�RRRc((s,/opt/alt/python27/lib64/python2.7/doctest.pyR%
scCst|||��dS(N(R(RlR�RRRz((s,/opt/alt/python27/lib64/python2.7/doctest.pyR$
sN(R4RrR�R+RxRNR%R$(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�sY	ic	Cs|dkr!tjjd�}ntj|�sFtd|f��n|dkr^|j}ntd|�}	|r�t	d|d|�}
nt
d|d|�}
x3|	j||d|d|�D]}|
j|�q�W|r�|
j
�ntdkr�|
an
tj|
�t|
j|
j�S(	s*
m=None, name=None, globs=None, verbose=None, report=True,
       optionflags=0, extraglobs=None, raise_on_error=False,
       exclude_empty=False

    Test examples in docstrings in functions and classes reachable
    from module m (or the current module if m is not supplied), starting
    with m.__doc__.

    Also test examples reachable from dict m.__test__ if it exists and is
    not None.  m.__test__ maps names to functions, classes and strings;
    function and class docstrings are tested even if the name is private;
    strings are tested directly, as if they were docstrings.

    Return (#failures, #tests).

    See help(doctest) for an overview.

    Optional keyword arg "name" gives the name of the module; by default
    use m.__name__.

    Optional keyword arg "globs" gives a dict to be used as the globals
    when executing examples; by default, use m.__dict__.  A copy of this
    dict is actually used for each docstring, so that each docstring's
    examples start with a clean slate.

    Optional keyword arg "extraglobs" gives a dictionary that should be
    merged into the globals that are used to execute examples.  By
    default, no extra globals are used.  This is new in 2.4.

    Optional keyword arg "verbose" prints lots of stuff if true, prints
    only failures if false; by default, it's true iff "-v" is in sys.argv.

    Optional keyword arg "report" prints a summary at the end when true,
    else prints nothing at the end.  In verbose mode, the summary is
    detailed, else very brief (in fact, empty if all tests passed).

    Optional keyword arg "optionflags" or's together module constants,
    and defaults to 0.  This is new in 2.3.  Possible values (see the
    docs for details):

        DONT_ACCEPT_TRUE_FOR_1
        DONT_ACCEPT_BLANKLINE
        NORMALIZE_WHITESPACE
        ELLIPSIS
        SKIP
        IGNORE_EXCEPTION_DETAIL
        REPORT_UDIFF
        REPORT_CDIFF
        REPORT_NDIFF
        REPORT_ONLY_FIRST_FAILURE

    Optional keyword arg "raise_on_error" raises an exception on the
    first unexpected exception or failure. This allows failures to be
    post-mortem debugged.

    Advanced tomfoolery:  testmod runs methods of a local instance of
    class doctest.Tester, then merges the results into (or creates)
    global Tester instance doctest.master.  Methods of doctest.master
    can be called directly too, if you want to do something unusual.
    Passing report=0 to testmod is especially useful then, to delay
    displaying a summary.  Invoke doctest.master.summarize(verbose)
    when you're done fiddling.
    R�stestmod: module required; %rR�R�RR.R�N(R+R=R>R*R5R6RAR4RRRRwRNRUtmasterRWR#RR(R�R'R.R�treportRR�traise_on_errorR�tfindertrunnerR((s,/opt/alt/python27/lib64/python2.7/doctest.pyRs$E%
	
cCsl|r|rtd��nt|||�\}}|dkrUtjj|�}n|dkrji}n|j�}|dk	r�|j|�nd|kr�d|d<n|	r�td|d|�}
nt	d|d|�}
|dk	r�|j
|�}n|
j||||d�}|
j|�|r7|
j
�ntdkrL|
an
tj|
�t|
j|
j�S(s


    Test examples in the given file.  Return (#failures, #tests).

    Optional keyword arg "module_relative" specifies how filenames
    should be interpreted:

      - If "module_relative" is True (the default), then "filename"
         specifies a module-relative path.  By default, this path is
         relative to the calling module's directory; but if the
         "package" argument is specified, then it is relative to that
         package.  To ensure os-independence, "filename" should use
         "/" characters to separate path segments, and should not
         be an absolute path (i.e., it may not begin with "/").

      - If "module_relative" is False, then "filename" specifies an
        os-specific path.  The path may be absolute or relative (to
        the current working directory).

    Optional keyword arg "name" gives the name of the test; by default
    use the file's basename.

    Optional keyword argument "package" is a Python package or the
    name of a Python package whose directory should be used as the
    base directory for a module relative filename.  If no package is
    specified, then the calling module's directory is used as the base
    directory for module relative filenames.  It is an error to
    specify "package" if "module_relative" is False.

    Optional keyword arg "globs" gives a dict to be used as the globals
    when executing examples; by default, use {}.  A copy of this dict
    is actually used for each docstring, so that each docstring's
    examples start with a clean slate.

    Optional keyword arg "extraglobs" gives a dictionary that should be
    merged into the globals that are used to execute examples.  By
    default, no extra globals are used.

    Optional keyword arg "verbose" prints lots of stuff if true, prints
    only failures if false; by default, it's true iff "-v" is in sys.argv.

    Optional keyword arg "report" prints a summary at the end when true,
    else prints nothing at the end.  In verbose mode, the summary is
    detailed, else very brief (in fact, empty if all tests passed).

    Optional keyword arg "optionflags" or's together module constants,
    and defaults to 0.  Possible values (see the docs for details):

        DONT_ACCEPT_TRUE_FOR_1
        DONT_ACCEPT_BLANKLINE
        NORMALIZE_WHITESPACE
        ELLIPSIS
        SKIP
        IGNORE_EXCEPTION_DETAIL
        REPORT_UDIFF
        REPORT_CDIFF
        REPORT_NDIFF
        REPORT_ONLY_FIRST_FAILURE

    Optional keyword arg "raise_on_error" raises an exception on the
    first unexpected exception or failure. This allows failures to be
    post-mortem debugged.

    Optional keyword arg "parser" specifies a DocTestParser (or
    subclass) that should be used to extract tests from the files.

    Optional keyword arg "encoding" specifies an encoding that should
    be used to convert the file to unicode.

    Advanced tomfoolery:  testmod runs methods of a local instance of
    class doctest.Tester, then merges the results into (or creates)
    global Tester instance doctest.master.  Methods of doctest.master
    can be called directly too, if you want to do something unusual.
    Passing report=0 to testmod is especially useful then, to delay
    displaying a summary.  Invoke doctest.master.summarize(verbose)
    when you're done fiddling.
    s8Package may only be specified for module-relative paths.R4R�R�RiN(R�RTR+RKR�tbasenameR�R�RRtdecodeR�RNRURjRWR#RR(RORQR'RPR.R�RkRR�RlR�RUttextRnR((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�s2R
	


	
tNoNamec	Csdtd|dt�}td|d|�}x3|j||d|�D]}|j|d|�qCWdS(sr
    Test examples in the given object's docstring (`f`), using `globs`
    as globals.  Optional argument `name` is used in failure messages.
    If the optional argument `verbose` is true, then generate output
    even if there are no failures.

    `compileflags` gives the set of flags that should be used by the
    Python compiler when running the examples.  If not specified, then
    it will default to the set of future-import flags that apply to
    `globs`.

    Optional keyword arg `optionflags` specifies options for the
    testing and output.  See the documentation for `testmod` for more
    information.
    R�R�RR.R.N(RRvRRwRN(	RSR.R�R'R.RRmRnR((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�scBs_eZddddd�Zd�Zddd�Zdd�Zd�Zdd�Zd�Z	RS(	icCs�tjdtdd�|dkr=|dkr=td��n|dk	rotj|�rotd|f��n|dkr�|j}n||_||_	||_
t�|_t
d|d|�|_dS(NsCclass Tester is deprecated; use class doctest.DocTestRunner insteadt
stacklevelis*Tester.__init__: must specify mod or globss)Tester.__init__: mod must be a module; %rR�R(twarningstwarntDeprecationWarningR+RAR5R6R�R.R�RRt
testfinderRt
testrunner(RltmodR.R�R((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�s	
			cCs|t�j||j|dd�}|jr6dG|GHn|jj|�\}}|jro|GdG|GdG|GHnt||�S(NsRunning stringtofsexamples failed in string(RR�R.R+R�RxRNR#(RlR\R'RRSR9((s,/opt/alt/python27/lib64/python2.7/doctest.pyt	runstring0s!		c
Csyd}}|jj||d|d|j�}x;|D]3}|jj|�\}}	||||	}}q5Wt||�S(NiRBR.(RwRwR.RxRNR#(
RlR�R'RBRSR9R�RR:R;((s,/opt/alt/python27/lib64/python2.7/doctest.pytrundoc9s

cCsSddl}|j|�}|jj|�|dkr@t}n|j|||�S(Ni����(ttypest
ModuleTypeR�R�R+RvR|(RlRVR'RBR}R�((s,/opt/alt/python27/lib64/python2.7/doctest.pytrundictBs	cCs4ddl}|j|�}||_|j||�S(Ni����(R}R~R�R|(RlRVR'R}R�((s,/opt/alt/python27/lib64/python2.7/doctest.pytrun__test__Js	cCs|jj|�S(N(RxRU(RlR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyRUPscCs|jj|j�dS(N(RxRW(RlR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyRWSsN(
R4RrR+R�R{R|RR�RURW(((s,/opt/alt/python27/lib64/python2.7/doctest.pyRs				cCs2|t@|kr"td|��nt}|a|S(s?Sets the unittest option flags.

    The old flag is returned so that a runner could restore the old
    value if it wished to:

      >>> import doctest
      >>> old = doctest._unittest_reportflags
      >>> doctest.set_unittest_reportflags(REPORT_NDIFF |
      ...                          REPORT_ONLY_FIRST_FAILURE) == old
      True

      >>> doctest._unittest_reportflags == (REPORT_NDIFF |
      ...                                   REPORT_ONLY_FIRST_FAILURE)
      True

    Only reporting flags can be set:

      >>> doctest.set_unittest_reportflags(ELLIPSIS)
      Traceback (most recent call last):
      ...
      ValueError: ('Only reporting flags allowed', 8)

      >>> doctest.set_unittest_reportflags(old) == (REPORT_NDIFF |
      ...                                   REPORT_ONLY_FIRST_FAILURE)
      True
    sOnly reporting flags allowed(RR�t_unittest_reportflags(R/told((s,/opt/alt/python27/lib64/python2.7/doctest.pyR\s
tDocTestCasecBs�eZdd
d
d
d�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
e
Zd�ZRS(icCsAtjj|�||_||_||_||_||_dS(N(tunittesttTestCaseR�t_dt_optionflagst_dt_checkert_dt_testt	_dt_setUpt_dt_tearDown(RlRRtsetUpttearDownR((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s				cCs,|j}|jdk	r(|j|�ndS(N(R�R�R+(RlR((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s	cCs9|j}|jdk	r(|j|�n|jj�dS(N(R�R�R+R.RJ(RlR((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s	cCs�|j}tj}t�}|j}|t@s;|tO}ntd|d|jdt	�}z5dd|_
|j|d|jdt	�\}}Wd|t_X|r�|j
|j|j����ndS(NRRR�R
iFR�RK(R�R=R�R!R�RR�RR�RvR'RNRDtfailureExceptiontformat_failureRb(RlRR�tnewRRnRR((s,/opt/alt/python27/lib64/python2.7/doctest.pytrunTest�s				


"
cCsj|j}|jdkr!d}n
d|j}dj|jjd�d�}d|j|j|||fS(Nsunknown line numbers%sR�i����s:Failed doctest test for %s
  File "%s", line %s, in %s

%s(R�R�R+R�R'RtRO(RlterrRR�tlname((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s		
cCsO|j�td|jd|jdt�}|j|jdt�|j�dS(s�Run the test case without results and without catching exceptions

           The unit test framework includes a debug method on test cases
           and test suites to support post-mortem debugging.  The test code
           is run in such a way that errors are not caught.  This way a
           caller can catch the errors and initiate post-mortem debugging.

           The DocTestCase provides a debug method that raises
           UnexpectedException errors if there is an unexpected
           exception:

             >>> test = DocTestParser().get_doctest('>>> raise KeyError\n42',
             ...                {}, 'foo', 'foo.py', 0)
             >>> case = DocTestCase(test)
             >>> try:
             ...     case.debug()
             ... except UnexpectedException, failure:
             ...     pass

           The UnexpectedException contains the test, the example, and
           the original exception:

             >>> failure.test is test
             True

             >>> failure.example.want
             '42\n'

             >>> exc_info = failure.exc_info
             >>> raise exc_info[0], exc_info[1], exc_info[2]
             Traceback (most recent call last):
             ...
             KeyError

           If the output doesn't match, then a DocTestFailure is raised:

             >>> test = DocTestParser().get_doctest('''
             ...      >>> x = 1
             ...      >>> x
             ...      2
             ...      ''', {}, 'foo', 'foo.py', 0)
             >>> case = DocTestCase(test)

             >>> try:
             ...    case.debug()
             ... except DocTestFailure, failure:
             ...    pass

           DocTestFailure objects provide access to the test:

             >>> failure.test is test
             True

           As well as to the example:

             >>> failure.example.want
             '2\n'

           and the actual output:

             >>> failure.got
             '1\n'

           RRR�RKN(R�RR�R�RvRNR�R�(RlRn((s,/opt/alt/python27/lib64/python2.7/doctest.pyR �s
B
cCs
|jjS(N(R�R'(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�	scCstt|�t|�k	rtS|j|jkos|j|jkos|j|jkos|j|jkos|j|jkS(N(R�R�R�R�R�R�R�(RlR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�		scCs||kS(N((RlR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�	scCs"t|j|j|j|jf�S(N(R�R�R�R�R�(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�	scCs4|jjjd�}d|ddj|d �fS(NR�s%s (%s)i����(R�R'RtR�(RlR'((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�	scCsd|jjS(Ns	Doctest: (R�R'(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pytshortDescription 	sN(R4RrR+R�R�R�R�R�R R�R�R�R�R�RhR�(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��s							H		
			tSkipDocTestCasecBs2eZd�Zd�Zd�Zd�ZeZRS(cCs||_tj|d�dS(N(RBR�R�R+(RlRB((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�$	s	cCs|jd�dS(Ns-DocTestSuite will not work with -O2 and above(tskipTest(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�(	scCsdS(N((Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyt	test_skip+	scCsd|jjS(NsSkipping tests from %s(RBR4(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�.	s(R4RrR�R�R�R�Rh(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�#	s
				c	Ks*|d
krt�}nt|�}|j|d|d|�}|r{tjjdkr{tj�}|j	t
|��|S|s�t|d��n|j�tj�}xz|D]r}t
|j�dkr�q�n|js|j}|ddkr|d	 }n||_n|j	t||��q�W|S(s
    Convert doctest tests for a module to a unittest test suite.

    This converts each documentation string in a module that
    contains doctest tests to a unittest test case.  If any of the
    tests in a doc string fail, then the test case fails.  An exception
    is raised showing the name of the file containing the test and a
    (sometimes approximate) line number.

    The `module` argument provides the module to be tested.  The argument
    can be either a module or a module name.

    If no argument is given, the calling module is used.

    A number of options may be provided as keyword arguments:

    setUp
      A set-up function.  This is called before running the
      tests in each file. The setUp function will be passed a DocTest
      object.  The setUp function can access the test globals as the
      globs attribute of the test passed.

    tearDown
      A tear-down function.  This is called after running the
      tests in each file.  The tearDown function will be passed a DocTest
      object.  The tearDown function can access the test globals as the
      globs attribute of the test passed.

    globs
      A dictionary containing initial global variables for the tests.

    optionflags
       A set of doctest option flags expressed as an integer.
    R.R�ishas no docstringsii����s.pycs.pyoi����N(s.pycs.pyo(R+RRDRwR=R/toptimizeR�t	TestSuitetaddTestR�R�R�R&R�ROR�R�(	RBR.R�ttest_finderR�R�tsuiteRRO((s,/opt/alt/python27/lib64/python2.7/doctest.pyR4	s,%

		
tDocFileCasecBs)eZd�Zd�ZeZd�ZRS(cCsdj|jjjd��S(Nt_R�(R�R�R'Rt(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�	scCs
|jjS(N(R�RO(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��	scCsd|jj|jj|fS(Ns2Failed doctest test for %s
  File "%s", line 0

%s(R�R'RO(RlR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��	s(R4RrR�R�RhR�(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�}	s		c
Ks�|dkri}n|j�}|r=|r=td��nt|||�\}}d|krn||d<ntjj|�}|dk	r�|j|�}n|j||||d�}	t	|	|�S(Ns8Package may only be specified for module-relative paths.R�i(
R+R�R�RTRKR�RoRpR�R�(
R�RQRPR.R�RUR�tdocR'R((s,/opt/alt/python27/lib64/python2.7/doctest.pytDocFileTest�	s	

cOsetj�}|jdt�r:t|jd��|d<nx$|D]}|jt||��qAW|S(s�A unittest suite for one or more doctest files.

    The path to each doctest file is given as a string; the
    interpretation of that string depends on the keyword argument
    "module_relative".

    A number of options may be provided as keyword arguments:

    module_relative
      If "module_relative" is True, then the given file paths are
      interpreted as os-independent module-relative paths.  By
      default, these paths are relative to the calling module's
      directory; but if the "package" argument is specified, then
      they are relative to that package.  To ensure os-independence,
      "filename" should use "/" characters to separate path
      segments, and may not be an absolute path (i.e., it may not
      begin with "/").

      If "module_relative" is False, then the given file paths are
      interpreted as os-specific paths.  These paths may be absolute
      or relative (to the current working directory).

    package
      A Python package or the name of a Python package whose directory
      should be used as the base directory for module relative paths.
      If "package" is not specified, then the calling module's
      directory is used as the base directory for module relative
      filenames.  It is an error to specify "package" if
      "module_relative" is False.

    setUp
      A set-up function.  This is called before running the
      tests in each file. The setUp function will be passed a DocTest
      object.  The setUp function can access the test globals as the
      globs attribute of the test passed.

    tearDown
      A tear-down function.  This is called after running the
      tests in each file.  The tearDown function will be passed a DocTest
      object.  The tearDown function can access the test globals as the
      globs attribute of the test passed.

    globs
      A dictionary containing initial global variables for the tests.

    optionflags
      A set of doctest option flags expressed as an integer.

    parser
      A DocTestParser (or subclass) that should be used to extract
      tests from the files.

    encoding
      An encoding that will be used to convert the files to unicode.
    RQRP(R�R�R*RxRDR�R�(tpathstkwR�R�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�	s8
cCs(g}x�t�j|�D]�}t|t�r�|j|jd �|j}|r�|jd�|g|jd�d D]}d|^qu7}q�q|g|jd�d D]}t|�^q�7}qWx$|r�|ddkr�|j	�q�Wx'|r|ddkr|j	d�q�Wdj
|�dS(svExtract script from text with examples.

       Converts text with examples to a Python script.  Example input is
       converted to regular code.  Example output and all other words
       are converted to comments:

       >>> text = '''
       ...       Here are examples of simple math.
       ...
       ...           Python has super accurate integer addition
       ...
       ...           >>> 2 + 2
       ...           5
       ...
       ...           And very friendly error messages:
       ...
       ...           >>> 1/0
       ...           To Infinity
       ...           And
       ...           Beyond
       ...
       ...           You can use logic if you want:
       ...
       ...           >>> if 0:
       ...           ...    blah
       ...           ...    blah
       ...           ...
       ...
       ...           Ho hum
       ...           '''

       >>> print script_from_examples(text)
       # Here are examples of simple math.
       #
       #     Python has super accurate integer addition
       #
       2 + 2
       # Expected:
       ## 5
       #
       #     And very friendly error messages:
       #
       1/0
       # Expected:
       ## To Infinity
       ## And
       ## Beyond
       #
       #     You can use logic if you want:
       #
       if 0:
          blah
          blah
       #
       #     Ho hum
       <BLANKLINE>
       i����s# Expected:s
s## R�i(RR�R7R
R�R�RyRtR�tpopR�(R\R�tpieceRyR�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�	s:	
4.cCs{t|�}t�j|�}g|D]}|j|kr%|^q%}|s^t|d��n|d}t|j�}|S(sExtract the test sources from a doctest docstring as a script.

    Provide the module (or dotted name of the module) containing the
    test to be debugged and the name (within the module) of the object
    with the doc string with tests to be debugged.
    snot found in testsi(RDRRwR'R�RR�(RBR'R�R9Rttestsrc((s,/opt/alt/python27/lib64/python2.7/doctest.pyRC
s(
cCs t|�}t|||�dS(s4Debug a single doctest docstring, in argument `src`'N(Rtdebug_script(tsrctpmR.R�((s,/opt/alt/python27/lib64/python2.7/doctest.pyRS
scCs�ddl}tjdd�}t|d�}|j|�|j�z�|r\|j�}ni}|r�yt|||�Wq�tj	�dGH|j
tj	�d�q�Xn|jd|||�Wdtj
|�XdS(	s7Debug a test script.  `src` is the script, as a string.i����Ns.pytdoctestdebugR~iisexecfile(%r)(R�ttempfiletmktempRMRDtcloseR�texecfileR=Rctpost_mortemRNRKtremove(R�R�R.R�tsrcfilenameRS((s,/opt/alt/python27/lib64/python2.7/doctest.pyR�X
s"

cCs2t|�}t||�}t|||j�dS(s�Debug a single doctest docstring.

    Provide the module (or dotted name of the module) containing the
    test to be debugged and the name (within the module) of the object
    with the docstring with tests to be debugged.
    N(RDRR�R�(RBR'R�R�((s,/opt/alt/python27/lib64/python2.7/doctest.pyR x
st
_TestClasscBs)eZdZd�Zd�Zd�ZRS(s�
    A pointless class, for sanity-checking of docstring testing.

    Methods:
        square()
        get()

    >>> _TestClass(13).get() + _TestClass(-12).get()
    1
    >>> hex(_TestClass(13).square().get())
    '0xa9'
    cCs
||_dS(s�val -> _TestClass object with associated value val.

        >>> t = _TestClass(123)
        >>> print t.get()
        123
        N(R
(RlR
((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��
scCs|jd|_|S(sosquare() -> square TestClass's associated value

        >>> _TestClass(13).square().get()
        169
        i(R
(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pytsquare�
scCs|jS(s}get() -> return TestClass's associated value.

        >>> x = _TestClass(-42)
        >>> print x.get()
        -42
        (R
(Rl((s,/opt/alt/python27/lib64/python2.7/doctest.pyR*�
s(R4RrR�R�R�R*(((s,/opt/alt/python27/lib64/python2.7/doctest.pyR��
s	
	
s�
                      Example of a string object, searched as-is.
                      >>> x = 1; y = 2
                      >>> x + y, x * y
                      (3, 2)
                      R�s�
                                    In 2.2, boolean expressions displayed
                                    0 or 1.  By default, we still accept
                                    them.  This can be disabled by passing
                                    DONT_ACCEPT_TRUE_FOR_1 to the new
                                    optionflags argument.
                                    >>> 4 == 4
                                    1
                                    >>> 4 == 4
                                    True
                                    >>> 4 > 4
                                    0
                                    >>> 4 > 4
                                    False
                                    sbool-int equivalences�
                Blank lines can be marked with <BLANKLINE>:
                    >>> print 'foo\n\nbar\n'
                    foo
                    <BLANKLINE>
                    bar
                    <BLANKLINE>
            sblank liness�
                If the ellipsis flag is used, then '...' can be used to
                elide substrings in the desired output:
                    >>> print range(1000) #doctest: +ELLIPSIS
                    [0, 1, 2, ..., 999]
            tellipsiss|
                If the whitespace normalization flag is used, then
                differences in whitespace are ignored.
                    >>> print range(30) #doctest: +NORMALIZE_WHITESPACE
                    [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
                     15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
                     27, 28, 29]
            swhitespace normalizationcCs1gtjdD]"}|r|ddkr|^q}|s�tjjtjd�}dt�krtjj|�\}}ndj|�GHdSx�|D]�}|jd�rtjj	|�\}}tjj
d|�t|d �}tjd=t|�\}}nt
|d	t�\}}|r�dSq�WdS(
NiiR
REsusage: {0} [-v] file ...is.pyi����RQ(R=R�RKR�RoR;tsplitexttformatRkRttinsertR:RRRv(targt	testfilesR'R�ROtdirnameR�R((s,/opt/alt/python27/lib64/python2.7/doctest.pyt_test�
s$6

R�(WR�t
__docformat__t__all__R(R=R`R5R�RKRZR�R]R�R�RtR!tcollectionsR"R#R$RRRRRRRRRR	R
RRRYRsR2RDRTR,t
__stdout__R+RYR^RhRiRR�R�R�R�RHR
RRRRRt	ExceptionRRRRjRxRvRRRRR�RR�R�R�RR�R�RRRRR�R R�R�R�R4texit(((s,/opt/alt/python27/lib64/python2.7/doctest.pyt<module>.s�	H0					1		$	$HL��)���n	f	z?	$�I		I	R	 ,
		
	

SILENT KILLER Tool