/opt/alt/python27/lib64/python2.7
NameSizeModeActions
bsddb/-0755rm
compiler/-0755rm
config/-0755rm
ctypes/-0755rm
curses/-0755rm
distutils/-0755rm
email/-0755rm
encodings/-0755rm
ensurepip/-0755rm
hotshot/-0755rm
idlelib/-0755rm
importlib/-0755rm
json/-0755rm
lib-dynload/-0755rm
lib2to3/-0755rm
logging/-0755rm
multiprocessing/-0755rm
plat-linux2/-0755rm
pydoc_data/-0755rm
site-packages/-0755rm
sqlite3/-0755rm
test/-0755rm
unittest/-0755rm
wsgiref/-0755rm
xml/-0755rm
abc.py71450644editdlrm
abc.pyc62860644editdlrm
abc.pyo62300644editdlrm
aifc.py345790644editdlrm
aifc.pyc314080644editdlrm
aifc.pyo314080644editdlrm
antigravity.py600644editdlrm
antigravity.pyc2160644editdlrm
antigravity.pyo2160644editdlrm
anydbm.py26630644editdlrm
anydbm.pyc28390644editdlrm
anydbm.pyo28390644editdlrm
argparse.py892280644editdlrm
argparse.pyc663820644editdlrm
argparse.pyo662170644editdlrm
ast.py118050644editdlrm
ast.pyc132500644editdlrm
ast.pyo132500644editdlrm
asynchat.py115810644editdlrm
asynchat.pyc92000644editdlrm
asynchat.pyo92000644editdlrm
asyncore.py209430644editdlrm
asyncore.pyc196600644editdlrm
asyncore.pyo196600644editdlrm
atexit.py17050644editdlrm
atexit.pyc22810644editdlrm
atexit.pyo22810644editdlrm
audiodev.py75970644editdlrm
audiodev.pyc88200644editdlrm
audiodev.pyo88200644editdlrm
base64.py118030755editdlrm
base64.pyc115310644editdlrm
base64.pyo115310644editdlrm
BaseHTTPServer.py227470644editdlrm
BaseHTTPServer.pyc219820644editdlrm
BaseHTTPServer.pyo219820644editdlrm
Bastion.py57440644editdlrm
Bastion.pyc68550644editdlrm
Bastion.pyo68550644editdlrm
bdb.py217140644editdlrm
bdb.pyc198940644editdlrm
bdb.pyo198940644editdlrm
binhex.py146980644editdlrm
binhex.pyc161230644editdlrm
binhex.pyo161230644editdlrm
bisect.py25950644editdlrm
bisect.pyc31360644editdlrm
bisect.pyo31360644editdlrm
calendar.py233840644editdlrm
calendar.pyc289400644editdlrm
calendar.pyo289400644editdlrm
cgi.py357940755editdlrm
cgi.pyc340340644editdlrm
cgi.pyo340340644editdlrm
CGIHTTPServer.py130890644editdlrm
CGIHTTPServer.pyc111870644editdlrm
CGIHTTPServer.pyo111870644editdlrm
cgitb.py121750644editdlrm
cgitb.pyc123720644editdlrm
cgitb.pyo123720644editdlrm
chunk.py54190644editdlrm
chunk.pyc57450644editdlrm
chunk.pyo57450644editdlrm
cmd.py150260644editdlrm
cmd.pyc143120644editdlrm
cmd.pyo143120644editdlrm
code.py101890644editdlrm
code.pyc105420644editdlrm
code.pyo105420644editdlrm
codecs.py361430644editdlrm
codecs.pyc380460644editdlrm
codecs.pyo380460644editdlrm
codeop.py59990644editdlrm
codeop.pyc67270644editdlrm
codeop.pyo67270644editdlrm
collections.py277980644editdlrm
collections.pyc268390644editdlrm
collections.pyo267880644editdlrm
colorsys.py36910644editdlrm
colorsys.pyc40950644editdlrm
colorsys.pyo40950644editdlrm
commands.py25450644editdlrm
commands.pyc25470644editdlrm
commands.pyo25470644editdlrm
compileall.py77630644editdlrm
compileall.pyc70950644editdlrm
compileall.pyo70950644editdlrm
ConfigParser.py277460644editdlrm
ConfigParser.pyc259800644editdlrm
ConfigParser.pyo259800644editdlrm
contextlib.py44240644editdlrm
contextlib.pyc46100644editdlrm
contextlib.pyo46100644editdlrm
Cookie.py265380644editdlrm
Cookie.pyc231520644editdlrm
Cookie.pyo231520644editdlrm
cookielib.py654860644editdlrm
cookielib.pyc559860644editdlrm
cookielib.pyo557980644editdlrm
copy.py115330644editdlrm
copy.pyc125080644editdlrm
copy.pyo124160644editdlrm
copy_reg.py69740644editdlrm
copy_reg.pyc53100644editdlrm
copy_reg.pyo52660644editdlrm
cProfile.py65700755editdlrm
cProfile.pyc65770644editdlrm
cProfile.pyo65770644editdlrm
crypt.py22910644editdlrm
crypt.pyc30250644editdlrm
crypt.pyo30250644editdlrm
csv.py167080644editdlrm
csv.pyc138840644editdlrm
csv.pyo138840644editdlrm
dbhash.py4980644editdlrm
dbhash.pyc7440644editdlrm
dbhash.pyo7440644editdlrm
decimal.py2219330644editdlrm
decimal.pyc1754700644editdlrm
decimal.pyo1754700644editdlrm
difflib.py823250644editdlrm
difflib.pyc626000644editdlrm
difflib.pyo625490644editdlrm
dircache.py11260644editdlrm
dircache.pyc16280644editdlrm
dircache.pyo16280644editdlrm
dis.py64990644editdlrm
dis.pyc63320644editdlrm
dis.pyo63320644editdlrm
doctest.py1050950644editdlrm
doctest.pyc852100644editdlrm
doctest.pyo849230644editdlrm
DocXMLRPCServer.py107680644editdlrm
DocXMLRPCServer.pyc104420644editdlrm
DocXMLRPCServer.pyo103330644editdlrm
dumbdbm.py91410644editdlrm
dumbdbm.pyc69930644editdlrm
dumbdbm.pyo69930644editdlrm
dummy_thread.py44180644editdlrm
dummy_thread.pyc55890644editdlrm
dummy_thread.pyo55890644editdlrm
dummy_threading.py28040644editdlrm
dummy_threading.pyc12980644editdlrm
dummy_threading.pyo12980644editdlrm
filecmp.py95880644editdlrm
filecmp.pyc98820644editdlrm
filecmp.pyo98820644editdlrm
fileinput.py137460644editdlrm
fileinput.pyc148900644editdlrm
fileinput.pyo148900644editdlrm
fnmatch.py33150644editdlrm
fnmatch.pyc36920644editdlrm
fnmatch.pyo36920644editdlrm
formatter.py149110644editdlrm
formatter.pyc201790644editdlrm
formatter.pyo201790644editdlrm
fpformat.py47320644editdlrm
fpformat.pyc48070644editdlrm
fpformat.pyo48070644editdlrm
fractions.py223900644editdlrm
fractions.pyc202180644editdlrm
fractions.pyo202180644editdlrm
ftplib.py381940644editdlrm
ftplib.pyc356520644editdlrm
ftplib.pyo356520644editdlrm
functools.py48060644editdlrm
functools.pyc70190644editdlrm
functools.pyo70190644editdlrm
genericpath.py32010644editdlrm
genericpath.pyc36600644editdlrm
genericpath.pyo36600644editdlrm
getopt.py73190644editdlrm
getopt.pyc67840644editdlrm
getopt.pyo67390644editdlrm
getpass.py55630644editdlrm
getpass.pyc48350644editdlrm
getpass.pyo48350644editdlrm
gettext.py226660644editdlrm
gettext.pyc186020644editdlrm
gettext.pyo186020644editdlrm
glob.py31140644editdlrm
glob.pyc30470644editdlrm
glob.pyo30470644editdlrm
gzip.py190280644editdlrm
gzip.pyc156260644editdlrm
gzip.pyo156260644editdlrm
hashlib.py78420644editdlrm
hashlib.pyc70260644editdlrm
hashlib.pyo70260644editdlrm
heapq.py182950644editdlrm
heapq.pyc147980644editdlrm
heapq.pyo147980644editdlrm
hmac.py45880644editdlrm
hmac.pyc46720644editdlrm
hmac.pyo46720644editdlrm
htmlentitydefs.py180560644editdlrm
htmlentitydefs.pyc63800644editdlrm
htmlentitydefs.pyo63800644editdlrm
htmllib.py128690644editdlrm
htmllib.pyc214920644editdlrm
htmllib.pyo214920644editdlrm
HTMLParser.py171710644editdlrm
HTMLParser.pyc141430644editdlrm
HTMLParser.pyo138380644editdlrm
httplib.py523000644editdlrm
httplib.pyc387930644editdlrm
httplib.pyo386090644editdlrm
ihooks.py189860644editdlrm
ihooks.pyc222690644editdlrm
ihooks.pyo222690644editdlrm
imaplib.py483660644editdlrm
imaplib.pyc462720644editdlrm
imaplib.pyo435060644editdlrm
imghdr.py35410644editdlrm
imghdr.pyc50460644editdlrm
imghdr.pyo50460644editdlrm
imputil.py257640644editdlrm
imputil.pyc161170644editdlrm
imputil.pyo159390644editdlrm
inspect.py430080644editdlrm
inspect.pyc411260644editdlrm
inspect.pyo411260644editdlrm
io.py33220644editdlrm
io.pyc36540644editdlrm
io.pyo36540644editdlrm
keyword.py19920755editdlrm
keyword.pyc21310644editdlrm
keyword.pyo21310644editdlrm
linecache.py40270644editdlrm
linecache.pyc33500644editdlrm
linecache.pyo33500644editdlrm
locale.py1028340644editdlrm
locale.pyc570260644editdlrm
locale.pyo570260644editdlrm
macpath.py62890644editdlrm
macpath.pyc79280644editdlrm
macpath.pyo79280644editdlrm
macurl2path.py27310644editdlrm
macurl2path.pyc22960644editdlrm
macurl2path.pyo22960644editdlrm
mailbox.py812400644editdlrm
mailbox.pyc795640644editdlrm
mailbox.pyo795170644editdlrm
mailcap.py74290644editdlrm
mailcap.pyc72480644editdlrm
mailcap.pyo72480644editdlrm
markupbase.py146430644editdlrm
markupbase.pyc94880644editdlrm
markupbase.pyo92920644editdlrm
md5.py3580644editdlrm
md5.pyc3910644editdlrm
md5.pyo3910644editdlrm
mhlib.py334340644editdlrm
mhlib.pyc347910644editdlrm
mhlib.pyo347910644editdlrm
mimetools.py71680644editdlrm
mimetools.pyc84610644editdlrm
mimetools.pyo84610644editdlrm
mimetypes.py210280644editdlrm
mimetypes.pyc187360644editdlrm
mimetypes.pyo187360644editdlrm
MimeWriter.py64820644editdlrm
MimeWriter.pyc74810644editdlrm
MimeWriter.pyo74810644editdlrm
mimify.py150170755editdlrm
mimify.pyc121960644editdlrm
mimify.pyo121960644editdlrm
modulefinder.py244610644editdlrm
modulefinder.pyc195820644editdlrm
modulefinder.pyo195000644editdlrm
multifile.py48200644editdlrm
multifile.pyc56150644editdlrm
multifile.pyo55730644editdlrm
mutex.py18780644editdlrm
mutex.pyc26070644editdlrm
mutex.pyo26070644editdlrm
netrc.py58880644editdlrm
netrc.pyc48310644editdlrm
netrc.pyo48310644editdlrm
new.py6100644editdlrm
new.pyc8750644editdlrm
new.pyo8750644editdlrm
nntplib.py214700644editdlrm
nntplib.pyc216160644editdlrm
nntplib.pyo216160644editdlrm
ntpath.py194290644editdlrm
ntpath.pyc134150644editdlrm
ntpath.pyo134150644editdlrm
nturl2path.py24190644editdlrm
nturl2path.pyc18540644editdlrm
nturl2path.pyo18540644editdlrm
numbers.py103190644editdlrm
numbers.pyc148180644editdlrm
numbers.pyo148180644editdlrm
opcode.py54740644editdlrm
opcode.pyc62100644editdlrm
opcode.pyo62100644editdlrm
optparse.py612030644editdlrm
optparse.pyc557140644editdlrm
optparse.pyo556310644editdlrm
os.py259100644editdlrm
os.pyc263780644editdlrm
os.pyo263780644editdlrm
os2emxpath.py46350644editdlrm
os2emxpath.pyc46420644editdlrm
os2emxpath.pyo46420644editdlrm
pdb.doc79140644editdlrm
pdb.py460950755editdlrm
pdb.pyc451510644editdlrm
pdb.pyo451510644editdlrm
pickle.py454890644editdlrm
pickle.pyc399120644editdlrm
pickle.pyo397160644editdlrm
pickletools.py745230644editdlrm
pickletools.pyc574480644editdlrm
pickletools.pyo565870644editdlrm
pipes.py95820644editdlrm
pipes.pyc95160644editdlrm
pipes.pyo95160644editdlrm
pkgutil.py202430644editdlrm
pkgutil.pyc193880644editdlrm
pkgutil.pyo193880644editdlrm
platform.py527850755editdlrm
platform.pyc386020644editdlrm
platform.pyo386020644editdlrm
plistlib.py151850644editdlrm
plistlib.pyc200080644editdlrm
plistlib.pyo199220644editdlrm
popen2.py84160644editdlrm
popen2.pyc92330644editdlrm
popen2.pyo91910644editdlrm
poplib.py128240644editdlrm
poplib.pyc137740644editdlrm
poplib.pyo137740644editdlrm
posixfile.py80030644editdlrm
posixfile.pyc78080644editdlrm
posixfile.pyo78080644editdlrm
posixpath.py142930644editdlrm
posixpath.pyc117610644editdlrm
posixpath.pyo117610644editdlrm
pprint.py117770644editdlrm
pprint.pyc104410644editdlrm
pprint.pyo102640644editdlrm
profile.py227780755editdlrm
profile.pyc169630644editdlrm
profile.pyo167160644editdlrm
pstats.py267120644editdlrm
pstats.pyc257930644editdlrm
pstats.pyo257930644editdlrm
pty.py50580644editdlrm
pty.pyc50960644editdlrm
pty.pyo50960644editdlrm
pyclbr.py133880644editdlrm
pyclbr.pyc98200644editdlrm
pyclbr.pyo98200644editdlrm
pydoc.py956630755editdlrm
pydoc.pyc949140644editdlrm
pydoc.pyo948500644editdlrm
py_compile.py59360644editdlrm
py_compile.pyc65190644editdlrm
py_compile.pyo65190644editdlrm
Queue.py85770644editdlrm
Queue.pyc97880644editdlrm
Queue.pyo97880644editdlrm
quopri.py69650755editdlrm
quopri.pyc67170644editdlrm
quopri.pyo67170644editdlrm
random.py324570644editdlrm
random.pyc262630644editdlrm
random.pyo262630644editdlrm
re.py134230644editdlrm
re.pyc136860644editdlrm
re.pyo136860644editdlrm
repr.py42960644editdlrm
repr.pyc56060644editdlrm
repr.pyo56060644editdlrm
rexec.py201480644editdlrm
rexec.pyc245740644editdlrm
rexec.pyo245740644editdlrm
rfc822.py335420644editdlrm
rfc822.pyc325930644editdlrm
rfc822.pyo325930644editdlrm
rlcompleter.py59910644editdlrm
rlcompleter.pyc61820644editdlrm
rlcompleter.pyo61820644editdlrm
robotparser.py76950644editdlrm
robotparser.pyc83150644editdlrm
robotparser.pyo83150644editdlrm
runpy.py110810644editdlrm
runpy.pyc90630644editdlrm
runpy.pyo90630644editdlrm
sched.py50880644editdlrm
sched.pyc51110644editdlrm
sched.pyo51110644editdlrm
sets.py190500644editdlrm
sets.pyc176230644editdlrm
sets.pyo176230644editdlrm
sgmllib.py178840644editdlrm
sgmllib.pyc160470644editdlrm
sgmllib.pyo160470644editdlrm
sha.py3930644editdlrm
sha.pyc4340644editdlrm
sha.pyo4340644editdlrm
shelve.py81780644editdlrm
shelve.pyc106070644editdlrm
shelve.pyo106070644editdlrm
shlex.py111640644editdlrm
shlex.pyc77270644editdlrm
shlex.pyo77270644editdlrm
shutil.py198710644editdlrm
shutil.pyc196490644editdlrm
shutil.pyo196490644editdlrm
SimpleHTTPServer.py79970644editdlrm
SimpleHTTPServer.pyc81530644editdlrm
SimpleHTTPServer.pyo81530644editdlrm
SimpleXMLRPCServer.py258120644editdlrm
SimpleXMLRPCServer.pyc233310644editdlrm
SimpleXMLRPCServer.pyo233310644editdlrm
site.py196370644editdlrm
site.pyc198190644editdlrm
site.pyo198190644editdlrm
smtpd.py185390755editdlrm
smtpd.pyc162860644editdlrm
smtpd.pyo162860644editdlrm
smtplib.py321310755editdlrm
smtplib.pyc310190644editdlrm
smtplib.pyo310190644editdlrm
sndhdr.py59730644editdlrm
sndhdr.pyc75820644editdlrm
sndhdr.pyo75820644editdlrm
socket.py206150644editdlrm
socket.pyc165420644editdlrm
socket.pyo164560644editdlrm
SocketServer.py239480644editdlrm
SocketServer.pyc248280644editdlrm
SocketServer.pyo248280644editdlrm
sre.py3840644editdlrm
sre.pyc5320644editdlrm
sre.pyo5320644editdlrm
sre_compile.py198230644editdlrm
sre_compile.pyc127550644editdlrm
sre_compile.pyo125990644editdlrm
sre_constants.py71970644editdlrm
sre_constants.pyc62600644editdlrm
sre_constants.pyo62600644editdlrm
sre_parse.py307000644editdlrm
sre_parse.pyc216240644editdlrm
sre_parse.pyo216240644editdlrm
ssl.py374550644editdlrm
ssl.pyc330150644editdlrm
ssl.pyo330150644editdlrm
stat.py18420644editdlrm
stat.pyc28810644editdlrm
stat.pyo28810644editdlrm
statvfs.py8980644editdlrm
statvfs.pyc6330644editdlrm
statvfs.pyo6330644editdlrm
string.py215480644editdlrm
string.pyc211220644editdlrm
string.pyo211220644editdlrm
StringIO.py106620644editdlrm
StringIO.pyc117270644editdlrm
StringIO.pyo117270644editdlrm
stringold.py124490644editdlrm
stringold.pyc129000644editdlrm
stringold.pyo129000644editdlrm
stringprep.py135220644editdlrm
stringprep.pyc147470644editdlrm
stringprep.pyo146750644editdlrm
struct.py820644editdlrm
struct.pyc2520644editdlrm
struct.pyo2520644editdlrm
subprocess.py505200644editdlrm
subprocess.pyc331000644editdlrm
subprocess.pyo331000644editdlrm
sunau.py172220644editdlrm
sunau.pyc190180644editdlrm
sunau.pyo190180644editdlrm
sunaudio.py13990644editdlrm
sunaudio.pyc20520644editdlrm
sunaudio.pyo20520644editdlrm
symbol.py20540755editdlrm
symbol.pyc30520644editdlrm
symbol.pyo30520644editdlrm
symtable.py74370644editdlrm
symtable.pyc124360644editdlrm
symtable.pyo123050644editdlrm
sysconfig.py228520644editdlrm
sysconfig.pyc181560644editdlrm
sysconfig.pyo181530644editdlrm
tabnanny.py113360755editdlrm
tabnanny.pyc85070644editdlrm
tabnanny.pyo85070644editdlrm
tarfile.py905680644editdlrm
tarfile.pyc783740644editdlrm
tarfile.pyo783740644editdlrm
telnetlib.py270360644editdlrm
telnetlib.pyc235830644editdlrm
telnetlib.pyo235830644editdlrm
tempfile.py195470644editdlrm
tempfile.pyc210460644editdlrm
tempfile.pyo210460644editdlrm
textwrap.py172800644editdlrm
textwrap.pyc122790644editdlrm
textwrap.pyo121870644editdlrm
this.py10020644editdlrm
this.pyc12330644editdlrm
this.pyo12330644editdlrm
threading.py472820644editdlrm
threading.pyc439990644editdlrm
threading.pyo418250644editdlrm
timeit.py127880755editdlrm
timeit.pyc123520644editdlrm
timeit.pyo123520644editdlrm
toaiff.py31420644editdlrm
toaiff.pyc31580644editdlrm
toaiff.pyo31580644editdlrm
token.py29220644editdlrm
token.pyc38810644editdlrm
token.pyo38810644editdlrm
tokenize.py174830644editdlrm
tokenize.pyc147130644editdlrm
tokenize.pyo146570644editdlrm
trace.py298880755editdlrm
trace.pyc232350644editdlrm
trace.pyo231720644editdlrm
traceback.py112850644editdlrm
traceback.pyc119390644editdlrm
traceback.pyo119390644editdlrm
tty.py8790644editdlrm
tty.pyc13560644editdlrm
tty.pyo13560644editdlrm
types.py20940644editdlrm
types.pyc28160644editdlrm
types.pyo28160644editdlrm
urllib.py602280644editdlrm
urllib.pyc525800644editdlrm
urllib.pyo524850644editdlrm
urllib2.py525370644editdlrm
urllib2.pyc489490644editdlrm
urllib2.pyo488540644editdlrm
urlparse.py166780644editdlrm
urlparse.pyc158860644editdlrm
urlparse.pyo158860644editdlrm
user.py16270644editdlrm
user.pyc17370644editdlrm
user.pyo17370644editdlrm
UserDict.py70600644editdlrm
UserDict.pyc102960644editdlrm
UserDict.pyo102960644editdlrm
UserList.py36440644editdlrm
UserList.pyc70190644editdlrm
UserList.pyo70190644editdlrm
UserString.py96840755editdlrm
UserString.pyc157480644editdlrm
UserString.pyo157480644editdlrm
uu.py66940755editdlrm
uu.pyc44550644editdlrm
uu.pyo44550644editdlrm
uuid.py231750644editdlrm
uuid.pyc237780644editdlrm
uuid.pyo236620644editdlrm
warnings.py148230644editdlrm
warnings.pyc138090644editdlrm
warnings.pyo130200644editdlrm
wave.py185820644editdlrm
wave.pyc206760644editdlrm
wave.pyo205320644editdlrm
weakref.py148300644editdlrm
weakref.pyc171300644editdlrm
weakref.pyo171300644editdlrm
webbrowser.py227220755editdlrm
webbrowser.pyc203350644editdlrm
webbrowser.pyo202900644editdlrm
whichdb.py33880644editdlrm
whichdb.pyc22670644editdlrm
whichdb.pyo22670644editdlrm
wsgiref.egg-info1870644editdlrm
xdrlib.py60690644editdlrm
xdrlib.pyc104480644editdlrm
xdrlib.pyo104480644editdlrm
xmllib.py348650644editdlrm
xmllib.pyc275500644editdlrm
xmllib.pyo275500644editdlrm
xmlrpclib.py521360644editdlrm
xmlrpclib.pyc458870644editdlrm
xmlrpclib.pyo457030644editdlrm
zipfile.py594770644editdlrm
zipfile.pyc429300644editdlrm
zipfile.pyo429300644editdlrm
_abcoll.py186190644editdlrm
_abcoll.pyc270340644editdlrm
_abcoll.pyo270340644editdlrm
_LWPCookieJar.py65530644editdlrm
_LWPCookieJar.pyc55120644editdlrm
_LWPCookieJar.pyo55120644editdlrm
_MozillaCookieJar.py57970644editdlrm
_MozillaCookieJar.pyc45130644editdlrm
_MozillaCookieJar.pyo44740644editdlrm
_osx_support.py191000644editdlrm
_osx_support.pyc120050644editdlrm
_osx_support.pyo120050644editdlrm
_pyio.py696300644editdlrm
_pyio.pyc669760644editdlrm
_pyio.pyo669760644editdlrm
_strptime.py207280644editdlrm
_strptime.pyc154320644editdlrm
_strptime.pyo154320644editdlrm
_sysconfigdata.py191820644editdlrm
_sysconfigdata.pyc223610644editdlrm
_sysconfigdata.pyo223610644editdlrm
_threading_local.py72600644editdlrm
_threading_local.pyc64900644editdlrm
_threading_local.pyo64900644editdlrm
_weakrefset.py59110644editdlrm
_weakrefset.pyc103020644editdlrm
_weakrefset.pyo103020644editdlrm
__future__.py43800644editdlrm
__future__.pyc43010644editdlrm
__future__.pyo43010644editdlrm
__phello__.foo.py640644editdlrm
__phello__.foo.pyc1380644editdlrm
__phello__.foo.pyo1380644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/cookielib.pyo (55798B)
 [ bc @sdZddddddddd g Zd d lZd d lZd d lZd d lZd d lZyd d lZWne k rd d l ZnXd d l Z d d l m Z eZead Zee jZdZdZdZdZdddddddgZdddddddd d!d"d#d$g ZgZx!eD]ZejejqCWed%Z ed&Z!ied'6ed(6ed)6ed*6Z"ej#d+Z$d,Z%d-Z&ej#d.Z'ej#d/ej(Z)ej#d0ej*Z+d1Z,ej#d2ej*Z-d3Z.d4Z/ej#d5Z0ej#d6Z1ej#d7Z2ej#d8Z3d9Z4ej#d:Z5d;Z6d<Z7d=Z8ej#d>Z9d?Z:d@Z;dAZ<dBZ=ej#dCZ>dDZ?dEZ@dFZAdGZBdHZCej#dIZDdJZEdKZFdLZGdMZHdfdNYZIdfdOYZJdeJfdPYZKdQZLdRZMdSfdTYZNdfdUYZOdePfdVYZQdeOfdWYZRd dXlSmTZTmUZUd dYlVmWZWd S(ZsHTTP cookie handling for web clients. This module has (now fairly distant) origins in Gisle Aas' Perl module HTTP::Cookies, from the libwww-perl library. Docstrings, comments and debug strings in this code refer to the attributes of the HTTP cookie system as cookie-attributes, to distinguish them clearly from Python attributes. Class diagram (note that BSDDBCookieJar and the MSIE* classes are not distributed with the Python standard library, but are available from http://wwwsearch.sf.net/): CookieJar____ / \ \ FileCookieJar \ \ / | \ \ \ MozillaCookieJar | LWPCookieJar \ \ | | \ | ---MSIEBase | \ | / | | \ | / MSIEDBCookieJar BSDDBCookieJar |/ MSIECookieJar tCookiet CookieJart CookiePolicytDefaultCookiePolicyt FileCookieJart LWPCookieJartlwp_cookie_strt LoadErrortMozillaCookieJariN(ttimegmcGs;ts dSts.ddl}|jdantj|S(Nit cookielib(tdebugtloggertloggingt getLogger(targsR ((s./opt/alt/python27/lib64/python2.7/cookielib.pyt_debug+s  sQa filename was not supplied (nor was the CookieJar instance initialised with one)cCsgddl}ddl}ddl}|j}|jd||j}|jd|dddS(Niscookielib bug! %st stackleveli(twarningst tracebacktStringIOt print_exctNonetgetvaluetwarn(RRRtftmsg((s./opt/alt/python27/lib64/python2.7/cookielib.pyt_warn_unhandled_exception9s $  icCs|d \}}}}}}|tkrd|ko?dknrd|ko[dknrd|kowdknrd|kodknrd|kodknrt|SdSdS( Niii iiii;i=(t EPOCH_YEARR R(ttttyeartmonthtmdaythourtmintsec((s./opt/alt/python27/lib64/python2.7/cookielib.pyt_timegmHs DT tMontTuetWedtThutFritSattSuntJantFebtMartAprtMaytJuntJultAugtSeptOcttNovtDeccCsZ|dkrtj}ntj|d \}}}}}}d||||||fS(sHReturn a string representing time in seconds since epoch, t. If the function is called without an argument, it will use the current time. The format of the returned string is like "YYYY-MM-DD hh:mm:ssZ", representing Universal Time (UTC, aka GMT). An example of this format is: 1994-11-24 08:49:37Z is%04d-%02d-%02d %02d:%02d:%02dZN(Rttimetgmtime(ttRtmonR R!R"R#((s./opt/alt/python27/lib64/python2.7/cookielib.pyt time2isozVs %cCsl|dkrtj}ntj|d \}}}}}}}dt||t|d||||fS(sReturn a string representing time in seconds since epoch, t. If the function is called without an argument, it will use the current time. The format of the returned string is like this: Wed, DD-Mon-YYYY HH:MM:SS GMT is#%s, %02d-%s-%04d %02d:%02d:%02d GMTiN(RR8R9tDAYStMONTHS(R:RR;R R!R"R#twday((s./opt/alt/python27/lib64/python2.7/cookielib.pyt time2netscapegs (tGMTtUTCtUTtZs^([-+])?(\d\d?):?(\d\d)?$cCsd}|tkrd}ntj|}|rdt|jd}|jdrx|dt|jd}n|jddkr| }qn|S(Niiiii<it-(Rt UTC_ZONESt TIMEZONE_REtsearchtinttgroup(ttztoffsettm((s./opt/alt/python27/lib64/python2.7/cookielib.pytoffset_from_tz_string{s    c Csytj|jd}Wn_tk r~yt|}Wntk rQdSXd|koidknrw|}qdSnX|dkrd}n|dkrd}n|dkrd}nt|}t|}t|}t|}t|}|dkrtjtjd}|d} |} ||| }| | } t| dkr| dkrr|d}q|d}qnt |||||||f} | dk r|dkrd}n|j }t |} | dkrdS| | } n| S(Nii iiidi2RB( t MONTHS_LOWERtindextlowert ValueErrorRIRR8t localtimetabsR$tupperRN( tdayR;tyrthrR"R#RKtimontcur_yrRMttmpR:RL((s./opt/alt/python27/lib64/python2.7/cookielib.pyt _str2timesR               !       sV^[SMTWF][a-z][a-z], (\d\d) ([JFMASOND][a-z][a-z]) (\d\d\d\d) (\d\d):(\d\d):(\d\d) GMT$s+^(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)[a-z]*,?\s*s^ (\d\d?) # day (?:\s+|[-\/]) (\w+) # month (?:\s+|[-\/]) (\d+) # year (?: (?:\s+|:) # separator before clock (\d\d?):(\d\d) # hour:min (?::(\d\d))? # optional seconds )? # optional clock \s* (?: ([-+]?\d{2,4}|(?![APap][Mm]\b)[A-Za-z]+) # timezone \s* )? (?: \(\w+\) # ASCII representation of timezone in parens. \s* )?$c Cs4tj|}|r|j}tj|djd}t|d|t|dt|dt|dt|df}t|S|j }t j d|d}d gd\}}}}}} } t j|}|d k r|j\}}}}}} } nd St|||||| | S( sReturns time in seconds since epoch of time represented by a string. Return value is an integer. None is returned if the format of str is unrecognized, the time is outside the representable range, or the timezone string is not recognized. If the string contains no timezone, UTC is assumed. The timezone in the string may be numerical (like "-0800" or "+0100") or a string timezone (like "UTC", "GMT", "BST" or "EST"). Currently, only the timezone strings equivalent to UTC (zero offset) are known to the function. The function loosely parses the following formats: Wed, 09 Feb 1994 22:23:32 GMT -- HTTP format Tuesday, 08-Feb-94 14:15:29 GMT -- old rfc850 HTTP format Tuesday, 08-Feb-1994 14:15:29 GMT -- broken rfc850 HTTP format 09 Feb 1994 22:23:32 GMT -- HTTP format (no weekday) 08-Feb-94 14:15:29 GMT -- rfc850 format (no weekday) 08-Feb-1994 14:15:29 GMT -- broken rfc850 format (no weekday) The parser ignores leading and trailing whitespace. The time may be absent. If the year is given with only 2 digits, the function will select the century that makes the year closest to the current date. iiiiiitiN(tSTRICT_DATE_RERHtgroupsRORPRQRItfloatR$tlstript WEEKDAY_REtsubRtLOOSE_HTTP_DATE_RER\( ttextRMtgR;RRVRWRXR"R#RK((s./opt/alt/python27/lib64/python2.7/cookielib.pyt http2times -  " $s^ (\d{4}) # year [-\/]? (\d\d?) # numerical month [-\/]? (\d\d?) # day (?: (?:\s+|[-:Tt]) # separator before clock (\d\d?):?(\d\d) # hour:min (?::?(\d\d(?:\.\d*)?))? # optional seconds (and fractional) )? # optional clock \s* (?: ([-+]?\d\d?:?(:?\d\d)? |Z|z) # timezone (Z is "zero meridian", i.e. GMT) \s* )?$c Cs|j}dgd\}}}}}}}tj|}|dk rp|j\}}}}}}}} ndSt|||||||S(sv As for http2time, but parses the ISO 8601 formats: 1994-02-03 14:15:29 -0100 -- ISO 8601 format 1994-02-03 14:15:29 -- zone is optional 1994-02-03 -- only date 1994-02-03T14:15:29 -- Use T as separator 19940203T141529Z -- ISO 8601 compact format 19940203 -- only date iN(RaRt ISO_DATE_RERHR_R\( ReRVR;RWRXR"R#RKRMt_((s./opt/alt/python27/lib64/python2.7/cookielib.pytiso2time"s " 'cCs+|jd\}}|j| |j|S(s)Return unmatched part of re.Match object.i(tspantstring(tmatchtstarttend((s./opt/alt/python27/lib64/python2.7/cookielib.pyt unmatchedCss^\s*([^=\s;,]+)s&^\s*=\s*\"([^\"\\]*(?:\\.[^\"\\]*)*)\"s^\s*=\s*([^\s;,]*)s\\(.)c Csg}xr|D]j}|}g}x?|r`tj|}|rt|}|jd}tj|}|rt|}|jd}tjd|}nEtj|}|rt|}|jd}|j}nd}|j ||fq"|j j dr<|j d}|r3|j |ng}q"t jdd|\}} |}q"W|r |j |q q W|S(smParse header values into a list of lists containing key,value pairs. The function knows how to deal with ",", ";" and "=" as well as quoted values after "=". A list of space separated tokens are parsed as if they were separated by ";". If the header_values passed as argument contains multiple values, then they are treated as if they were a single value separated by comma ",". This means that this function is useful for parsing header fields that follow this syntax (BNF as from the HTTP/1.1 specification, but we relax the requirement for tokens). headers = #header header = (token | parameter) *( [";"] (token | parameter)) token = 1* separators = "(" | ")" | "<" | ">" | "@" | "," | ";" | ":" | "\" | <"> | "/" | "[" | "]" | "?" | "=" | "{" | "}" | SP | HT quoted-string = ( <"> *(qdtext | quoted-pair ) <"> ) qdtext = > quoted-pair = "\" CHAR parameter = attribute "=" value attribute = token value = token | quoted-string Each header is represented by a list of key/value pairs. The value for a simple token (not part of a parameter) is None. Syntactically incorrect headers will not necessarily be parsed as you would want. This is easier to describe with some examples: >>> split_header_words(['foo="bar"; port="80,81"; discard, bar=baz']) [[('foo', 'bar'), ('port', '80,81'), ('discard', None)], [('bar', 'baz')]] >>> split_header_words(['text/html; charset="iso-8859-1"']) [[('text/html', None), ('charset', 'iso-8859-1')]] >>> split_header_words([r'Basic realm="\"foo\bar\""']) [[('Basic', None), ('realm', '"foobar"')]] is\1t,s^[=\s;]*R]N(tHEADER_TOKEN_RERHRpRJtHEADER_QUOTED_VALUE_REtHEADER_ESCAPE_RERctHEADER_VALUE_REtrstripRtappendRat startswithtretsubn( t header_valuestresultRet orig_texttpairsRMtnametvaluetnon_junkt nr_junk_chars((s./opt/alt/python27/lib64/python2.7/cookielib.pytsplit_header_wordsLs>.       s([\"\\])cCsg}x|D]}g}xq|D]i\}}|dk r|tjd|sitjd|}d|}nd||f}n|j|q W|r |jdj|q q Wdj|S(sDo the inverse (almost) of the conversion done by split_header_words. Takes a list of lists of (key, value) pairs and produces a single header value. Attribute values are quoted if needed. >>> join_header_words([[("text/plain", None), ("charset", "iso-8859/1")]]) 'text/plain; charset="iso-8859/1"' >>> join_header_words([[("text/plain", None)], [("charset", "iso-8859/1")]]) 'text/plain, charset="iso-8859/1"' s^\w+$s\\\1s"%s"s%s=%ss; s, N(RRyRHtHEADER_JOIN_ESCAPE_RERcRwtjoin(tliststheadersR~tattrtktv((s./opt/alt/python27/lib64/python2.7/cookielib.pytjoin_header_wordss    cCs<|jdr|d}n|jdr8|d }n|S(Nt"ii(Rxtendswith(Re((s./opt/alt/python27/lib64/python2.7/cookielib.pyt _strip_quotess   c Csd }g}xs|D]k}g}t}x*t|jdD]\}}|j}|jd \}} } |j}|s|d kr;Pqq;n| r| jnd } |d kr;|j} | |kr| }n|dkr| d k rt| } nt}q;|dkr;| d k r8t t| } q8q;n|j || fq;W|r|sn|j dn|j |qqW|S(s5Ad-hoc parser for Netscape protocol cookie-attributes. The old Netscape cookie format for Set-Cookie can for instance contain an unquoted "," in the expires field, so we have to use this ad-hoc parser instead of split_header_words. XXX This may not make the best possible effort to parse all the crap that Netscape Cookie headers contain. Ronald Tschalar's HTTPClient parser is probably better, so could do worse than following that if this ever gives any trouble. Currently, this is also used for parsing RFC 2109 cookies. texpirestdomaintpathtsecuretversiontportsmax-aget;t=it0(RRRRRRsmax-ageN(RR( tFalset enumeratetsplittstript partitionRRQRtTrueRgRw( t ns_headerst known_attrsR|t ns_headerR~t version_settiitparamtkeytseptvaltlc((s./opt/alt/python27/lib64/python2.7/cookielib.pytparse_ns_headerss@ "            s\.\d+$cCsKtj|rtS|dkr#tS|ddksC|ddkrGtStS(s*Return True if text is a host domain name.R]it.i(tIPV4_RERHRR(Re((s./opt/alt/python27/lib64/python2.7/cookielib.pytis_HDNs  cCs|j}|j}||kr(tSt|s8tS|j|}|dks_|dkrctS|jdsvtSt|dstStS(sReturn True if domain A domain-matches domain B, according to RFC 2965. A and B may be host domain names or IP addresses. RFC 2965, section 1: Host names can be specified either as an IP address or a HDN string. Sometimes we compare one host name with another. (Such comparisons SHALL be case-insensitive.) Host A's name domain-matches host B's if * their host name strings string-compare equal; or * A is a HDN string and has the form NB, where N is a non-empty name string, B has the form .B', and B' is a HDN string. (So, x.y.com domain-matches .Y.com but not Y.com.) Note that domain-match is not a commutative operation: a.b.c.com domain-matches .c.com, but not the reverse. iiRi(RQRRRtrfindRx(tAtBti((s./opt/alt/python27/lib64/python2.7/cookielib.pyt domain_matchs    cCstj|rtStS(sdReturn True if text is a sort-of-like a host domain name. For accepting/blocking domains. (RRHRR(Re((s./opt/alt/python27/lib64/python2.7/cookielib.pytliberal_is_HDN=scCs|j}|j}t|o-t|sD||kr@tStS|jd}|rl|j|rltS| r||krtStS(s\For blocking/accepting domains. A and B may be host domain names or IP addresses. R(RQRRRRxR(RRt initial_dot((s./opt/alt/python27/lib64/python2.7/cookielib.pytuser_domain_matchGs   s:\d+$cCs_|j}tj|d}|dkr@|jdd}ntjd|d}|jS(sReturn request-host, as defined by RFC 2965. Variation from RFC: returned value is lowercased, for convenient comparison. iR]tHost(t get_full_urlturlparset get_headert cut_port_reRcRQ(trequestturlthost((s./opt/alt/python27/lib64/python2.7/cookielib.pyt request_host\s   cCsLt|}}|jddkrBtj| rB|d}n||fS(szReturn a tuple (request-host, effective request-host name). As defined by RFC 2965, except both are lowercased. Ris.local(RtfindRRH(Rterhntreq_host((s./opt/alt/python27/lib64/python2.7/cookielib.pyteff_request_hostls% cCsJ|j}tj|}t|j}|jdsFd|}n|S(s6Path component of request-URI, as defined by RFC 2965.t/(RRturlsplitt escape_pathRRx(RRtpartsR((s./opt/alt/python27/lib64/python2.7/cookielib.pyt request_pathws   cCsr|j}|jd}|dkrh||d}yt|Wqntk rdtd|dSXnt}|S(Nt:iisnonnumeric port: '%s'(tget_hostRRIRRRRtDEFAULT_HTTP_PORT(RRRR((s./opt/alt/python27/lib64/python2.7/cookielib.pyt request_ports    s%/;:@&=+$,!~*'()s%([0-9a-fA-F][0-9a-fA-F])cCsd|jdjS(Ns%%%si(RJRU(Rm((s./opt/alt/python27/lib64/python2.7/cookielib.pytuppercase_escaped_charscCsIt|tr!|jd}ntj|t}tjt|}|S(sEEscape any invalid characters in HTTP URL, and uppercase all escapes.sutf-8( t isinstancetunicodetencodeturllibtquotetHTTP_PATH_SAFEtESCAPED_CHAR_RERcR(R((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs cCsk|jd}|dkrg||d}|jd}t|rg|dks\|dkrgd|Sn|S(sBReturn reach of host h, as defined by RFC 2965, section 1. The reach R of a host name H is defined as follows: * If - H is the host domain name of a host; and, - H has the form A.B; and - A has no embedded (that is, interior) dots; and - B has at least one embedded dot, or B is the string "local". then the reach of H is .B. * Otherwise, the reach of H is H. >>> reach("www.acme.com") '.acme.com' >>> reach("acme.com") 'acme.com' >>> reach("acme.local") '.local' Riitlocal(RR(thRtb((s./opt/alt/python27/lib64/python2.7/cookielib.pytreachs $ cCs3t|}t|t|js+tStSdS(s RFC 2965, section 3.3.6: An unverifiable transaction is to a third-party host if its request- host U does not domain-match the reach R of the request-host O in the origin transaction. N(RRRtget_origin_req_hostRR(RR((s./opt/alt/python27/lib64/python2.7/cookielib.pytis_third_partys cBsVeZdZedZdZddZdZddZ dZ dZ RS( sHTTP Cookie. This class represents both Netscape and RFC 2965 cookies. This is deliberately a very simple class. It just holds attributes. It's possible to construct Cookie instances that don't comply with the cookie standards. CookieJar.make_cookies is the factory function for Cookie objects -- it deals with cookie parsing, supplying defaults, and normalising to the representation used in this class. CookiePolicy is responsible for checking them to see whether they should be accepted from and returned to the server. Note that the port may be present in the headers, but unspecified ("Port" rather than"Port=80", for example); if this is the case, port is None. cCs |dk rt|}n| dk r6t| } n|dkr]|tkr]tdn||_||_||_||_||_|j |_ ||_ ||_ | |_ | |_| |_| |_| |_||_||_||_tj||_dS(Ns-if port is None, port_specified must be false(RRIRRRRRRRtport_specifiedRQRtdomain_specifiedtdomain_initial_dotRtpath_specifiedRRtdiscardtcommentt comment_urltrfc2109tcopyt_rest(tselfRRRRRRRRRRRRRRRtrestR((s./opt/alt/python27/lib64/python2.7/cookielib.pyt__init__s.                 cCs ||jkS(N(R(RR((s./opt/alt/python27/lib64/python2.7/cookielib.pythas_nonstandard_attrscCs|jj||S(N(Rtget(RRtdefault((s./opt/alt/python27/lib64/python2.7/cookielib.pytget_nonstandard_attrscCs||j|(RRRRRR(Rtptlimitt namevalue((s./opt/alt/python27/lib64/python2.7/cookielib.pyt__str__"s   cCsg}x:dD]2}t||}|jd|t|fq W|jdt|j|jdt|jddj|S(NRRRRRRRRRRRRRRRs%s=%ssrest=%ss rfc2109=%ss Cookie(%s)s, (RRRRRRRRRRRRRRR(tgetattrRwtreprRRR(RRRR((s./opt/alt/python27/lib64/python2.7/cookielib.pyt__repr__,s !N( t__name__t __module__t__doc__RRRRRRRRR(((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs     cBs2eZdZdZdZdZdZRS(s Defines which cookies get accepted from and returned to server. May also modify cookies, though this is probably a bad idea. The subclass DefaultCookiePolicy defines the standard rules for Netscape and RFC 2965 cookies -- override that if you want a customised policy. cCs tdS(sReturn true if (and only if) cookie should be accepted from server. Currently, pre-expired cookies never get this far -- the CookieJar class deletes such cookies itself. N(tNotImplementedError(RtcookieR((s./opt/alt/python27/lib64/python2.7/cookielib.pytset_okDscCs tdS(sAReturn true if (and only if) cookie should be returned to server.N(R(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pyt return_okMscCstS(sMReturn false if cookies should not be returned, given cookie domain. (R(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pytdomain_return_okQscCstS(sKReturn false if cookies should not be returned, given cookie path. (R(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pytpath_return_okVs(RRRRRRR(((s./opt/alt/python27/lib64/python2.7/cookielib.pyR;s   c Bs#eZdZdZdZdZdZeeBZdde e de e e e ee e d Z dZ dZ dZd Zd Zd Zd Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!RS(sBImplements the standard rules for accepting and returning cookies.iiiic Cs||_||_||_||_||_||_| |_| |_| |_| |_ |dk rxt ||_ n d|_ |dk rt |}n||_ dS(sAConstructor arguments should be passed as keyword arguments only.N((tnetscapetrfc2965trfc2109_as_netscapet hide_cookie2t strict_domaintstrict_rfc2965_unverifiabletstrict_ns_unverifiabletstrict_ns_domaintstrict_ns_set_initial_dollartstrict_ns_set_pathRttuplet_blocked_domainst_allowed_domains( Rtblocked_domainstallowed_domainsRRRRRRRRRR((s./opt/alt/python27/lib64/python2.7/cookielib.pyRfs             cCs|jS(s4Return the sequence of blocked domains (as a tuple).(R(R((s./opt/alt/python27/lib64/python2.7/cookielib.pyR scCst||_dS(s$Set the sequence of blocked domains.N(RR(RR ((s./opt/alt/python27/lib64/python2.7/cookielib.pytset_blocked_domainsscCs+x$|jD]}t||r tSq WtS(N(RRRR(RRtblocked_domain((s./opt/alt/python27/lib64/python2.7/cookielib.pyt is_blockedscCs|jS(s=Return None, or the sequence of allowed domains (as a tuple).(R(R((s./opt/alt/python27/lib64/python2.7/cookielib.pyR scCs(|dk rt|}n||_dS(s-Set the sequence of allowed domains, or None.N(RRR(RR ((s./opt/alt/python27/lib64/python2.7/cookielib.pytset_allowed_domainss cCs>|jdkrtSx$|jD]}t||rtSqWtS(N(RRRRR(RRtallowed_domain((s./opt/alt/python27/lib64/python2.7/cookielib.pytis_not_alloweds cCsWtd|j|jx:d D]2}d|}t||}|||stSqWtS( s If you override .set_ok(), be sure to call this method. If it returns false, so should your subclass (assuming your subclass wants to be more strict about which cookies to accept). s - checking cookie %s=%sRt verifiabilityRRRRtset_ok_(RRRRRR(RRRRRR(RRRtntfn_nametfn((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs  cCs{|jdkr)td|j|jtS|jdkrP|j rPtdtS|jdkrw|j rwtdtStS(Ns0 Set-Cookie2 without version attribute (%s=%s)is$ RFC 2965 cookies are switched offs$ Netscape cookies are switched off( RRRRRRRRR(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pytset_ok_versions  cCsk|jrgt|rg|jdkr>|jr>tdtS|jdkrg|jrgtdtSntS(Nis> third-party RFC 2965 cookie during unverifiable transactions> third-party Netscape cookie during unverifiable transaction(tis_unverifiableRRRRRRR(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pytset_ok_verifiabilitys  cCsB|jdkr>|jr>|jjdr>td|jtStS(Nit$s' illegal name (starts with '$'): '%s'(RRRRxRRR(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pyt set_ok_names cCsp|jrlt|}|jdks<|jdkrl|jrl|j|j| rltd|j|tSntS(Nis7 path attribute %s is not a prefix of request path %s( RRRRRRRRR(RRRtreq_path((s./opt/alt/python27/lib64/python2.7/cookielib.pyt set_ok_paths   c Cs|j|jr&td|jtS|j|jrLtd|jtS|jrt|\}}|j}|jr|jddkr|j d}|j dd|}|dkr||d}||d|!} | j d"krt |dkrtd|tSqn|j dr4|d} n|} | j ddk} | rs|dkrstd|tS|jdkr|j| r|j d rd|j| rtd||tSn|jdks|j|j@rt||std ||tSn|jdks1|j|j@r|t | } | j ddkr~tj| r~td!| |tSqntS(#Ns" domain %s is in user block-lists& domain %s is not in user allow-listRiiitcotactcomtedutorgtnettgovtmilRItaerotbiztcattcooptinfotjobstmobitmuseumRtprottravelteus& country-code second level domain %ss.locals/ non-local domain %s contains no embedded dotsO effective request-host %s (even with added initial dot) does not end with %ss5 effective request-host %s does not domain-match %ss. host prefix %s for domain %s contains a dot(RRRR R!R"R#R$RIR%R&R'R(R)R*R+R,RR-R.R/(R RRRRRRRtcountRRQtlenRxRRRRtDomainRFC2965MatchRtDomainStrictNoDotsRRHR( RRRRRRRtjttldtsldtundotted_domaint embedded_dotst host_prefix((s./opt/alt/python27/lib64/python2.7/cookielib.pyt set_ok_domainsf           cCs|jrt|}|dkr*d}n t|}xt|jjdD]F}yt|Wntk r~td|t SX||krIPqIqIWtd||jt Snt S(Nt80Rqs bad port %s (not numeric)s$ request port (%s) not found in %s( RRRtstrRRRIRRRRR(RRRtreq_portR((s./opt/alt/python27/lib64/python2.7/cookielib.pyt set_ok_port"s"         cCsWtd|j|jx:d D]2}d|}t||}|||stSqWtS( s If you override .return_ok(), be sure to call this method. If it returns false, so should your subclass (assuming your subclass wants to be more strict about which cookies to return). s - checking cookie %s=%sRRRRRRt return_ok_(RRRRRR(RRRRRR(RRRRRR((s./opt/alt/python27/lib64/python2.7/cookielib.pyR7s   cCsR|jdkr'|j r'tdtS|jdkrN|j rNtdtStS(Nis$ RFC 2965 cookies are switched offs$ Netscape cookies are switched off(RRRRRR(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pytreturn_ok_versionIs  cCsk|jrgt|rg|jdkr>|jr>tdtS|jdkrg|jrgtdtSntS(Nis> third-party RFC 2965 cookie during unverifiable transactions> third-party Netscape cookie during unverifiable transaction(RRRRRRRR(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pytreturn_ok_verifiabilityRs  cCs-|jr)|jdkr)tdtStS(Nthttpss( secure cookie with non-secure request(Rtget_typeRRR(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pytreturn_ok_secure^s cCs$|j|jr tdtStS(Ns cookie expired(Rt_nowRRR(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pytreturn_ok_expiresds cCsu|jrqt|}|dkr*d}nxD|jjdD]}||kr=Pq=q=Wtd||jtSntS(NR;Rqs0 request port %s does not match cookie port %s(RRRRRRR(RRRR=R((s./opt/alt/python27/lib64/python2.7/cookielib.pytreturn_ok_portjs      cCst|\}}|j}|r>|jd r>d|}n|}|jdkr|j|j@r|j r||krtdtS|jdkrt || rtd||tS|jdkrd|j | rtd||tSt S(NRisQ cookie with unspecified domain does not string-compare equal to request domainsQ effective request-host name %s does not domain-match RFC 2965 cookie domain %ss; request-host %s does not match Netscape cookie domain %s( RRRxRRtDomainStrictNonDomainRRRRRR(RRRRRRt dotdomain((s./opt/alt/python27/lib64/python2.7/cookielib.pytreturn_ok_domainxs&    # cCst|\}}|jds.d|}n|jdsJd|}n|rm|jd rmd|}n|}|j|p|j|stS|j|rtd|tS|j|rtd|tStS(NRs" domain %s is in user block-lists& domain %s is not in user allow-list(RRxRRR RRR(RRRRRRI((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs"     cCstd|t|}t|}||kr5tS|j|rn|jdsj|||d!dkrntStd||tS(Ns- checking cookie path=%sRis %s does not path-match %s(RRR1RRxRR(RRRRtpathlen((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs    &N("RRRR3RHR2t DomainLiberalt DomainStrictRRRRR R R R RRRRRRRR:R>RR@RARDRFRGRJRR(((s./opt/alt/python27/lib64/python2.7/cookielib.pyR\sL           ;       cCs&|j}|jt|j|S(N(tkeystsorttmapR(tadictRN((s./opt/alt/python27/lib64/python2.7/cookielib.pytvals_sorted_by_keys  ccsvt|}xc|D][}t}y |jWntk r=n#Xt}xt|D] }|VqQW|s|VqqWdS(sBIterates over nested mapping, depth-first, in sorted order by key.N(RRRtitemstAttributeErrorRt deepvalues(tmappingtvaluestobjtsubobj((s./opt/alt/python27/lib64/python2.7/cookielib.pyRUs     tAbsentcBseZRS((RR(((s./opt/alt/python27/lib64/python2.7/cookielib.pyRZscBs(eZdZejdZejdZejdZejdZejdZ dZ ddZ dZ d Zd Zd Zd Zd ZdZdZdZdZdZdZdZddddZdZdZdZdZdZdZ RS(sCollection of HTTP cookies. You may not need to know about this class: try urllib2.build_opener(HTTPCookieProcessor).open(url). s\Ws([\"\\])s\.?[^.]*s[^.]*s^\.+s^\#LWP-Cookies-(\d+\.\d+)cCs=|dkrt}n||_tj|_i|_dS(N(RRt_policyt _threadingtRLockt _cookies_lockt_cookies(Rtpolicy((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs    cCs ||_dS(N(R[(RR`((s./opt/alt/python27/lib64/python2.7/cookielib.pyt set_policyscCsg}|jj||sgStd||j|}x|jD]~}|jj||sgqFn||}xP|jD]B}|jj||stdq~ntd|j|q~WqFW|S(Ns!Checking %s for cookies to returns not returning cookies it's a match( R[RRR_RNRRWRRw(RRRtcookiestcookies_by_pathRtcookies_by_nameR((s./opt/alt/python27/lib64/python2.7/cookielib.pyt_cookies_for_domains      cCs=g}x0|jjD]}|j|j||qW|S(s2Return a list of cookies to be returned to server.(R_RNtextendRe(RRRbR((s./opt/alt/python27/lib64/python2.7/cookielib.pyt_cookies_for_requestsc Cs|jdddtt}g}x|D]}|j}|sjt}|dkrj|jd|qjn|jdk r|jj|jr|dkr|j j d|j}n |j}|jdkr|j|j n|jd|j |f|dkr,|j r&|jd|j n|jjd r{|j}|j rg|jd rg|d }n|jd |n|jdk rd }|jr|d |j}n|j|qq,q,W|S(sReturn a list of cookie-attributes to be returned to server. like ['foo="bar"; $Path="/"', ...] The $Version attribute is also added when appropriate (currently only once per request). RcSs t|jS(N(R1R(targ((s./opt/alt/python27/lib64/python2.7/cookielib.pytR]treverseis $Version=%ss\\\1s%s=%ss $Path="%s"Ris $Domain="%s"s$Ports="%s"N(RORRRRwRRt non_word_reRHtquote_reRcRRRRRxRRR( RRbRtattrsRRRRR((s./opt/alt/python27/lib64/python2.7/cookielib.pyt _cookie_attrss>    !       cCs td|jjzttj|j_|_|j|}|j|}|r|j ds|j ddj |qn|jj r|jj r|j d rx4|D])}|jdkr|j ddPqqWnWd|jjX|jdS(sAdd correct Cookie: header to request (urllib2.Request object). The Cookie2 header is also added unless policy.hide_cookie2 is true. tadd_cookie_headerRs; tCookie2is $Version="1"N(RR^tacquireRIR8R[RERgRnt has_headertadd_unredirected_headerRRRRtreleasetclear_expired_cookies(RRRbRmR((s./opt/alt/python27/lib64/python2.7/cookielib.pyRoCs$   cCsg}d}d}x|D]}|d \}}t}t} i} i} x|d D]\} } | j}||ks||kr|} n| |kr| dkrt} n| | krqRn| dkr| dkrtd t} Pn| j} n| dkr0|rqRn| dkr0tdqRq0n| dkrt}yt| } Wn"tk rvtdt} PnXd} |j| } n| |ks| |kr| dkr| dkrtd| t} Pn| | | s, (RwRt __class__RR(RtrR((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs cCsGg}x!|D]}|jt|q Wd|jjdj|fS(Ns<%s[%s]>s, (RwR<RRR(RRR((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs N(!RRRRytcompileRkRltstrict_domain_ret domain_retdots_retmagic_reRRRaReRgRnRoRRRRRRRRRRRuRRRR(((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs8     ; ! a \ 6      cBseZRS((RR(((s./opt/alt/python27/lib64/python2.7/cookielib.pyRscBsVeZdZdeddZdeedZdeedZdeedZRS(s6CookieJar that can be loaded from and saved to a file.cCs]tj|||dk rAy |dWqAtdqAXn||_t||_dS(s} Cookies are NOT loaded from the named file until either the .load() or .revert() method is called. R]sfilename must be string-likeN(RRRRRtfilenameRt delayload(RRRR`((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs   cCs tdS(sSave cookies to a file.N(R(RRtignore_discardtignore_expires((s./opt/alt/python27/lib64/python2.7/cookielib.pytsavescCsn|dkr6|jdk r'|j}q6ttnt|}z|j||||Wd|jXdS(sLoad cookies from a file.N(RRRRtMISSING_FILENAME_TEXTtopent _really_loadtclose(RRRRR((s./opt/alt/python27/lib64/python2.7/cookielib.pytloads   cCs|dkr6|jdk r'|j}q6ttn|jjz\tj|j}i|_y|j |||Wn#t t fk r||_nXWd|jj XdS(sClear all cookies and reload cookies from a saved file. Raises LoadError (or IOError) if reversion is not successful; the object's state will not be altered if this happens. N( RRRRRR^RqRtdeepcopyR_RRtIOErrorRt(RRRRt old_state((s./opt/alt/python27/lib64/python2.7/cookielib.pytrevert s      N( RRRRRRRRR(((s./opt/alt/python27/lib64/python2.7/cookielib.pyRs  (RR(R(XRt__all__RyRRR8Rt threadingR\t ImportErrortdummy_threadingthttplibtcalendarR RR RR RR<t HTTP_PORTRRRRR$R=R>RORRwRQR<R@RFRRGRNR\R^tIRbtXRdRgRhRjRpRrRsRuRtRRRRRRRRRRRRRRRRRRRRRRRRRRRURZRRRRt _LWPCookieJarRRt_MozillaCookieJarR(((s./opt/alt/python27/lib64/python2.7/cookielib.pyts   <        "  5  8 !  U   D  '      # b!_  <