/usr/lib64/python2.6
NameSizeModeActions
bsddb/-0755rm
compiler/-0755rm
config/-0755rm
ctypes/-0755rm
curses/-0755rm
Demo/-0755rm
distutils/-0755rm
Doc/-0755rm
email/-0755rm
encodings/-0755rm
hotshot/-0755rm
idlelib/-0755rm
json/-0755rm
lib-dynload/-0755rm
lib-tk/-0755rm
lib2to3/-0755rm
logging/-0755rm
multiprocessing/-0755rm
plat-linux2/-0755rm
site-packages/-0755rm
sqlite3/-0755rm
test/-0755rm
Tools/-0755rm
wsgiref/-0755rm
xml/-0755rm
abc.py70340644editdlrm
abc.pyc60710644editdlrm
abc.pyo60130644editdlrm
aifc.py331880644editdlrm
aifc.pyc295640644editdlrm
aifc.pyo295640644editdlrm
anydbm.py26200644editdlrm
anydbm.pyc27750644editdlrm
anydbm.pyo27750644editdlrm
ast.py113470644editdlrm
ast.pyc127800644editdlrm
ast.pyo127800644editdlrm
asynchat.py114020644editdlrm
asynchat.pyc87370644editdlrm
asynchat.pyo87370644editdlrm
asyncore.py200610644editdlrm
asyncore.pyc184520644editdlrm
asyncore.pyo184520644editdlrm
atexit.py17050644editdlrm
atexit.pyc22150644editdlrm
atexit.pyo22150644editdlrm
audiodev.py75970644editdlrm
audiodev.pyc85370644editdlrm
audiodev.pyo85370644editdlrm
base64.py113350755editdlrm
base64.pyc110030644editdlrm
base64.pyo110030644editdlrm
BaseHTTPServer.py219740644editdlrm
BaseHTTPServer.pyc215750644editdlrm
BaseHTTPServer.pyo215750644editdlrm
Bastion.py57440644editdlrm
Bastion.pyc66670644editdlrm
Bastion.pyo66670644editdlrm
bdb.py205970644editdlrm
bdb.pyc185670644editdlrm
bdb.pyo185670644editdlrm
binhex.py148780644editdlrm
binhex.pyc158750644editdlrm
binhex.pyo158750644editdlrm
bisect.py26620644editdlrm
bisect.pyc31730644editdlrm
bisect.pyo31730644editdlrm
calendar.py231100644editdlrm
calendar.pyc281650644editdlrm
calendar.pyo281650644editdlrm
cgi.py344780755editdlrm
cgi.pyc328180644editdlrm
cgi.pyo328180644editdlrm
CGIHTTPServer.py127730644editdlrm
CGIHTTPServer.pyc108200644editdlrm
CGIHTTPServer.pyo108200644editdlrm
cgitb.py121550644editdlrm
cgitb.pyc124610644editdlrm
cgitb.pyo124610644editdlrm
chunk.py53720644editdlrm
chunk.pyc56450644editdlrm
chunk.pyo56450644editdlrm
cmd.py149620644editdlrm
cmd.pyc139540644editdlrm
cmd.pyo139540644editdlrm
code.py102170644editdlrm
code.pyc104270644editdlrm
code.pyo104270644editdlrm
codecs.py352660644editdlrm
codecs.pyc367210644editdlrm
codecs.pyo367210644editdlrm
codeop.py59990644editdlrm
codeop.pyc66360644editdlrm
codeop.pyo66360644editdlrm
collections.py137300644editdlrm
collections.pyc144620644editdlrm
collections.pyo144090644editdlrm
colorsys.py34590644editdlrm
colorsys.pyc40410644editdlrm
colorsys.pyo40410644editdlrm
commands.py25430644editdlrm
commands.pyc24890644editdlrm
commands.pyo24890644editdlrm
compileall.py52850644editdlrm
compileall.pyc49970644editdlrm
compileall.pyo49970644editdlrm
ConfigParser.py259890644editdlrm
ConfigParser.pyc238650644editdlrm
ConfigParser.pyo238650644editdlrm
contextlib.py41360644editdlrm
contextlib.pyc41510644editdlrm
contextlib.pyo41510644editdlrm
Cookie.py250540644editdlrm
Cookie.pyc221450644editdlrm
Cookie.pyo221450644editdlrm
cookielib.py647260644editdlrm
cookielib.pyc553700644editdlrm
cookielib.pyo551790644editdlrm
copy.py111770644editdlrm
copy.pyc116750644editdlrm
copy.pyo115790644editdlrm
copy_reg.py68000644editdlrm
copy_reg.pyc51780644editdlrm
copy_reg.pyo51320644editdlrm
cProfile.py63370755editdlrm
cProfile.pyc62390644editdlrm
cProfile.pyo62390644editdlrm
crypt.py22290644editdlrm
crypt.pyc30550644editdlrm
crypt.pyo30550644editdlrm
csv.py157300644editdlrm
csv.pyc132260644editdlrm
csv.pyo132260644editdlrm
dbhash.py5350644editdlrm
dbhash.pyc7600644editdlrm
dbhash.pyo7600644editdlrm
decimal.py1992730644editdlrm
decimal.pyc1556810644editdlrm
decimal.pyo1556150644editdlrm
difflib.py810800644editdlrm
difflib.pyc611930644editdlrm
difflib.pyo611390644editdlrm
dircache.py11260644editdlrm
dircache.pyc15840644editdlrm
dircache.pyo15840644editdlrm
dis.py64490644editdlrm
dis.pyc63660644editdlrm
dis.pyo63660644editdlrm
doctest.py1015160644editdlrm
doctest.pyc809940644editdlrm
doctest.pyo807060644editdlrm
DocXMLRPCServer.py105990644editdlrm
DocXMLRPCServer.pyc99570644editdlrm
DocXMLRPCServer.pyo98490644editdlrm
dumbdbm.py88200644editdlrm
dumbdbm.pyc65850644editdlrm
dumbdbm.pyo65850644editdlrm
dummy_thread.py44180644editdlrm
dummy_thread.pyc54130644editdlrm
dummy_thread.pyo54130644editdlrm
dummy_threading.py28040644editdlrm
dummy_threading.pyc12970644editdlrm
dummy_threading.pyo12970644editdlrm
filecmp.py94700644editdlrm
filecmp.pyc96320644editdlrm
filecmp.pyo96320644editdlrm
fileinput.py141430644editdlrm
fileinput.pyc149280644editdlrm
fileinput.pyo149280644editdlrm
fnmatch.py32390644editdlrm
fnmatch.pyc35790644editdlrm
fnmatch.pyo35790644editdlrm
formatter.py149110644editdlrm
formatter.pyc193030644editdlrm
formatter.pyo193030644editdlrm
fpformat.py46990644editdlrm
fpformat.pyc47350644editdlrm
fpformat.pyo47350644editdlrm
fractions.py200730644editdlrm
fractions.pyc181190644editdlrm
fractions.pyo181190644editdlrm
ftplib.py291970644editdlrm
ftplib.pyc285030644editdlrm
ftplib.pyo285030644editdlrm
functools.py21620644editdlrm
functools.pyc19270644editdlrm
functools.pyo19270644editdlrm
genericpath.py30200644editdlrm
genericpath.pyc32920644editdlrm
genericpath.pyo32920644editdlrm
getopt.py73280644editdlrm
getopt.pyc67300644editdlrm
getopt.pyo66830644editdlrm
getpass.py55340644editdlrm
getpass.pyc47540644editdlrm
getpass.pyo47540644editdlrm
gettext.py199680644editdlrm
gettext.pyc157600644editdlrm
gettext.pyo157600644editdlrm
glob.py22490644editdlrm
glob.pyc24090644editdlrm
glob.pyo24090644editdlrm
gzip.py167540644editdlrm
gzip.pyc143860644editdlrm
gzip.pyo143860644editdlrm
hashlib.py44270644editdlrm
hashlib.pyc39810644editdlrm
hashlib.pyo39810644editdlrm
heapq.py159950644editdlrm
heapq.pyc126940644editdlrm
heapq.pyo126940644editdlrm
hmac.py45310644editdlrm
hmac.pyc45090644editdlrm
hmac.pyo45090644editdlrm
htmlentitydefs.py180540644editdlrm
htmlentitydefs.pyc63710644editdlrm
htmlentitydefs.pyo63710644editdlrm
htmllib.py128690644editdlrm
htmllib.pyc203840644editdlrm
htmllib.pyo203840644editdlrm
HTMLParser.py135760644editdlrm
HTMLParser.pyc122580644editdlrm
HTMLParser.pyo119500644editdlrm
httplib.py487970644editdlrm
httplib.pyc377320644editdlrm
httplib.pyo375360644editdlrm
ihooks.py174520644editdlrm
ihooks.pyc208370644editdlrm
ihooks.pyo207580644editdlrm
imaplib.py477710644editdlrm
imaplib.pyc452250644editdlrm
imaplib.pyo424750644editdlrm
imghdr.py35440644editdlrm
imghdr.pyc49050644editdlrm
imghdr.pyo49050644editdlrm
imputil.py260090644editdlrm
imputil.pyc160370644editdlrm
imputil.pyo158650644editdlrm
inspect.py381890644editdlrm
inspect.pyc371650644editdlrm
inspect.pyo371650644editdlrm
io.py661650644editdlrm
io.pyc630420644editdlrm
io.pyo630420644editdlrm
keyword.py19970755editdlrm
keyword.pyc21170644editdlrm
keyword.pyo21170644editdlrm
linecache.py41280644editdlrm
linecache.pyc32680644editdlrm
linecache.pyo32680644editdlrm
locale.py826740644editdlrm
locale.pyc466760644editdlrm
locale.pyo466760644editdlrm
macpath.py62530644editdlrm
macpath.pyc77070644editdlrm
macpath.pyo77070644editdlrm
macurl2path.py32750644editdlrm
macurl2path.pyc28250644editdlrm
macurl2path.pyo28250644editdlrm
mailbox.py758240644editdlrm
mailbox.pyc760690644editdlrm
mailbox.pyo760200644editdlrm
mailcap.py84020644editdlrm
mailcap.pyc80790644editdlrm
mailcap.pyo80790644editdlrm
markupbase.py143500644editdlrm
markupbase.pyc94640644editdlrm
markupbase.pyo92700644editdlrm
md5.py4100644editdlrm
md5.pyc3780644editdlrm
md5.pyo3780644editdlrm
mhlib.py334340644editdlrm
mhlib.pyc341370644editdlrm
mhlib.pyo341370644editdlrm
mimetools.py71680644editdlrm
mimetools.pyc83200644editdlrm
mimetools.pyo83200644editdlrm
mimetypes.py188220644editdlrm
mimetypes.pyc168720644editdlrm
mimetypes.pyo168720644editdlrm
MimeWriter.py64820644editdlrm
MimeWriter.pyc73830644editdlrm
MimeWriter.pyo73830644editdlrm
mimify.py150240755editdlrm
mimify.pyc122190644editdlrm
mimify.pyo122190644editdlrm
modulefinder.py242830644editdlrm
modulefinder.pyc190070644editdlrm
modulefinder.pyo189190644editdlrm
multifile.py48200644editdlrm
multifile.pyc54790644editdlrm
multifile.pyo54350644editdlrm
mutex.py18660644editdlrm
mutex.pyc25260644editdlrm
mutex.pyo25260644editdlrm
netrc.py41110644editdlrm
netrc.pyc36020644editdlrm
netrc.pyo36020644editdlrm
new.py7060644editdlrm
new.pyc9100644editdlrm
new.pyo9100644editdlrm
nntplib.py214700644editdlrm
nntplib.pyc211790644editdlrm
nntplib.pyo211790644editdlrm
ntpath.py177520644editdlrm
ntpath.pyc116200644editdlrm
ntpath.pyo115730644editdlrm
nturl2path.py22390644editdlrm
nturl2path.pyc17770644editdlrm
nturl2path.pyo17770644editdlrm
numbers.py102710644editdlrm
numbers.pyc139640644editdlrm
numbers.pyo139640644editdlrm
opcode.py52480644editdlrm
opcode.pyc59170644editdlrm
opcode.pyo59170644editdlrm
optparse.py608490644editdlrm
optparse.pyc542390644editdlrm
optparse.pyo541570644editdlrm
ordereddict.py360644editdlrm
ordereddict.pyc1850644editdlrm
ordereddict.pyo1850644editdlrm
os.py258020644editdlrm
os.pyc258080644editdlrm
os.pyo258080644editdlrm
os2emxpath.py46030644editdlrm
os2emxpath.pyc45360644editdlrm
os2emxpath.pyo45360644editdlrm
pdb.doc78990644editdlrm
pdb.py453330755editdlrm
pdb.pyc438130644editdlrm
pdb.pyo438130644editdlrm
pickle.py448110644editdlrm
pickle.pyc386450644editdlrm
pickle.pyo384400644editdlrm
pickletools.py743480644editdlrm
pickletools.pyc571430644editdlrm
pickletools.pyo562460644editdlrm
pipes.py96470644editdlrm
pipes.pyc94600644editdlrm
pipes.pyo94600644editdlrm
pkgutil.py200010644editdlrm
pkgutil.pyc190200644editdlrm
pkgutil.pyo190200644editdlrm
platform.py526300755editdlrm
platform.pyc387970644editdlrm
platform.pyo387970644editdlrm
plistlib.py158060644editdlrm
plistlib.pyc200500644editdlrm
plistlib.pyo199600644editdlrm
popen2.py84160644editdlrm
popen2.pyc90640644editdlrm
popen2.pyo90200644editdlrm
poplib.py128250644editdlrm
poplib.pyc134180644editdlrm
poplib.pyo134180644editdlrm
posixfile.py80030644editdlrm
posixfile.pyc77240644editdlrm
posixfile.pyo77240644editdlrm
posixpath.py131190644editdlrm
posixpath.pyc111880644editdlrm
posixpath.pyo111880644editdlrm
pprint.py119320644editdlrm
pprint.pyc103940644editdlrm
pprint.pyo102190644editdlrm
profile.py235100755editdlrm
profile.pyc166800644editdlrm
profile.pyo164350644editdlrm
pstats.py273100644editdlrm
pstats.pyc253400644editdlrm
pstats.pyo253400644editdlrm
pty.py48690644editdlrm
pty.pyc49190644editdlrm
pty.pyo49190644editdlrm
pyclbr.py132820644editdlrm
pyclbr.pyc97320644editdlrm
pyclbr.pyo97320644editdlrm
pydoc.py924320755editdlrm
pydoc.pyc910520644editdlrm
pydoc.pyo909840644editdlrm
pydoc_topics.py4231260644editdlrm
pydoc_topics.pyc4075880644editdlrm
pydoc_topics.pyo4075880644editdlrm
py_compile.py56330644editdlrm
py_compile.pyc65540644editdlrm
py_compile.pyo65540644editdlrm
Queue.py85740644editdlrm
Queue.pyc94470644editdlrm
Queue.pyo94470644editdlrm
quopri.py69720755editdlrm
quopri.pyc66880644editdlrm
quopri.pyo66880644editdlrm
random.py319660644editdlrm
random.pyc251060644editdlrm
random.pyo251060644editdlrm
re.py129660644editdlrm
re.pyc131640644editdlrm
re.pyo131640644editdlrm
repr.py42960644editdlrm
repr.pyc54340644editdlrm
repr.pyo54340644editdlrm
rexec.py201520644editdlrm
rexec.pyc242200644editdlrm
rexec.pyo242200644editdlrm
rfc822.py332950644editdlrm
rfc822.pyc321100644editdlrm
rfc822.pyo321100644editdlrm
rlcompleter.py58660644editdlrm
rlcompleter.pyc60730644editdlrm
rlcompleter.pyo60730644editdlrm
robotparser.py70140644editdlrm
robotparser.pyc78520644editdlrm
robotparser.pyo78520644editdlrm
runpy.py54130644editdlrm
runpy.pyc39790644editdlrm
runpy.pyo39790644editdlrm
sched.py50910644editdlrm
sched.pyc50050644editdlrm
sched.pyo50050644editdlrm
sets.py190500644editdlrm
sets.pyc169970644editdlrm
sets.pyo169970644editdlrm
sgmllib.py178840644editdlrm
sgmllib.pyc155980644editdlrm
sgmllib.pyo155980644editdlrm
sha.py4450644editdlrm
sha.pyc4210644editdlrm
sha.pyo4210644editdlrm
shelve.py80780644editdlrm
shelve.pyc102960644editdlrm
shelve.pyo102960644editdlrm
shlex.py111370644editdlrm
shlex.pyc77100644editdlrm
shlex.pyo77100644editdlrm
shutil.py86320644editdlrm
shutil.pyc95550644editdlrm
shutil.pyo95550644editdlrm
SimpleHTTPServer.py74220644editdlrm
SimpleHTTPServer.pyc77660644editdlrm
SimpleHTTPServer.pyo77660644editdlrm
SimpleXMLRPCServer.py219920644editdlrm
SimpleXMLRPCServer.pyc196330644editdlrm
SimpleXMLRPCServer.pyo196330644editdlrm
site.py191870644editdlrm
site.pyc188250644editdlrm
site.pyo188250644editdlrm
smtpd.py189200755editdlrm
smtpd.pyc161880644editdlrm
smtpd.pyo161880644editdlrm
smtplib.py309240755editdlrm
smtplib.pyc297370644editdlrm
smtplib.pyo297370644editdlrm
sndhdr.py59730644editdlrm
sndhdr.pyc74200644editdlrm
sndhdr.pyo74200644editdlrm
socket.py201490644editdlrm
socket.pyc161290644editdlrm
socket.pyo160440644editdlrm
SocketServer.py223260644editdlrm
SocketServer.pyc231430644editdlrm
SocketServer.pyo231430644editdlrm
sre.py3840644editdlrm
sre.pyc5190644editdlrm
sre.pyo5190644editdlrm
sre_compile.py165070644editdlrm
sre_compile.pyc114830644editdlrm
sre_compile.pyo113700644editdlrm
sre_constants.py71370644editdlrm
sre_constants.pyc60930644editdlrm
sre_constants.pyo60930644editdlrm
sre_parse.py268780644editdlrm
sre_parse.pyc196960644editdlrm
sre_parse.pyo196960644editdlrm
ssl.py166770644editdlrm
ssl.pyc142760644editdlrm
ssl.pyo142760644editdlrm
stat.py17180644editdlrm
stat.pyc27030644editdlrm
stat.pyo27030644editdlrm
statvfs.py8980644editdlrm
statvfs.pyc6200644editdlrm
statvfs.pyo6200644editdlrm
string.py207450644editdlrm
string.pyc200660644editdlrm
string.pyo200660644editdlrm
StringIO.py106210644editdlrm
StringIO.pyc115320644editdlrm
StringIO.pyo115320644editdlrm
stringold.py124490644editdlrm
stringold.pyc125930644editdlrm
stringold.pyo125930644editdlrm
stringprep.py135220644editdlrm
stringprep.pyc145260644editdlrm
stringprep.pyo144520644editdlrm
struct.py820644editdlrm
struct.pyc2390644editdlrm
struct.pyo2390644editdlrm
subprocess.py579450644editdlrm
subprocess.pyc410710644editdlrm
subprocess.pyo410140644editdlrm
sunau.py165370644editdlrm
sunau.pyc180720644editdlrm
sunau.pyo180720644editdlrm
sunaudio.py13990644editdlrm
sunaudio.pyc19970644editdlrm
sunaudio.pyo19970644editdlrm
symbol.py20500755editdlrm
symbol.pyc30250644editdlrm
symbol.pyo30250644editdlrm
symtable.py79110644editdlrm
symtable.pyc126090644editdlrm
symtable.pyo124790644editdlrm
tabnanny.py113390755editdlrm
tabnanny.pyc83330644editdlrm
tabnanny.pyo83330644editdlrm
tarfile.py877860644editdlrm
tarfile.pyc739220644editdlrm
tarfile.pyo739220644editdlrm
telnetlib.py218080644editdlrm
telnetlib.pyc199130644editdlrm
telnetlib.pyo199130644editdlrm
tempfile.py177740644editdlrm
tempfile.pyc195710644editdlrm
tempfile.pyo195710644editdlrm
textwrap.py168890644editdlrm
textwrap.pyc117920644editdlrm
textwrap.pyo117000644editdlrm
this.py10020644editdlrm
this.pyc12410644editdlrm
this.pyo12410644editdlrm
threading.py318080644editdlrm
threading.pyc281520644editdlrm
threading.pyo260800644editdlrm
timeit.py120030644editdlrm
timeit.pyc118270644editdlrm
timeit.pyo118270644editdlrm
toaiff.py31420644editdlrm
toaiff.pyc31340644editdlrm
toaiff.pyo31340644editdlrm
token.py29470755editdlrm
token.pyc38400644editdlrm
token.pyo38400644editdlrm
tokenize.py163260644editdlrm
tokenize.pyc140180644editdlrm
tokenize.pyo139250644editdlrm
trace.py303250644editdlrm
trace.pyc230510644editdlrm
trace.pyo229890644editdlrm
traceback.py112110644editdlrm
traceback.pyc116770644editdlrm
traceback.pyo116770644editdlrm
tty.py8790644editdlrm
tty.pyc13170644editdlrm
tty.pyo13170644editdlrm
types.py23230644editdlrm
types.pyc26200644editdlrm
types.pyo26200644editdlrm
unittest.py311570644editdlrm
unittest.pyc348620644editdlrm
unittest.pyo348620644editdlrm
urllib.py590220644editdlrm
urllib.pyc513480644editdlrm
urllib.pyo512540644editdlrm
urllib2.py508660644editdlrm
urllib2.pyc458130644editdlrm
urllib2.pyo457190644editdlrm
urlparse.py156180644editdlrm
urlparse.pyc147770644editdlrm
urlparse.pyo147770644editdlrm
user.py16270644editdlrm
user.pyc17360644editdlrm
user.pyo17360644editdlrm
UserDict.py57780644editdlrm
UserDict.pyc88920644editdlrm
UserDict.pyo88920644editdlrm
UserList.py36440644editdlrm
UserList.pyc66030644editdlrm
UserList.pyo66030644editdlrm
UserString.py96910755editdlrm
UserString.pyc149220644editdlrm
UserString.pyo149220644editdlrm
uu.py59420755editdlrm
uu.pyc42370644editdlrm
uu.pyo42370644editdlrm
uuid.py209440644editdlrm
uuid.pyc212790644editdlrm
uuid.pyo212790644editdlrm
warnings.py141720644editdlrm
warnings.pyc130420644editdlrm
warnings.pyo122050644editdlrm
wave.py179520644editdlrm
wave.pyc194360644editdlrm
wave.pyo194360644editdlrm
weakref.py100870644editdlrm
weakref.pyc133750644editdlrm
weakref.pyo133750644editdlrm
webbrowser.py210730644editdlrm
webbrowser.pyc187550644editdlrm
webbrowser.pyo187080644editdlrm
whichdb.py33530644editdlrm
whichdb.pyc22470644editdlrm
whichdb.pyo22470644editdlrm
xdrlib.py55130644editdlrm
xdrlib.pyc91570644editdlrm
xdrlib.pyo91570644editdlrm
xmllib.py348650644editdlrm
xmllib.pyc272740644editdlrm
xmllib.pyo272740644editdlrm
xmlrpclib.py477750644editdlrm
xmlrpclib.pyc414960644editdlrm
xmlrpclib.pyo413130644editdlrm
zipfile.py530920644editdlrm
zipfile.pyc376520644editdlrm
zipfile.pyo376520644editdlrm
_abcoll.py142420644editdlrm
_abcoll.pyc215910644editdlrm
_abcoll.pyo215910644editdlrm
_LWPCookieJar.py65530644editdlrm
_LWPCookieJar.pyc56010644editdlrm
_LWPCookieJar.pyo56010644editdlrm
_MozillaCookieJar.py58090644editdlrm
_MozillaCookieJar.pyc45170644editdlrm
_MozillaCookieJar.pyo44760644editdlrm
_strptime.py197540644editdlrm
_strptime.pyc149660644editdlrm
_strptime.pyo149660644editdlrm
_threading_local.py71140644editdlrm
_threading_local.pyc63850644editdlrm
_threading_local.pyo63850644editdlrm
__future__.py43800644editdlrm
__future__.pyc42330644editdlrm
__future__.pyo42330644editdlrm
__phello__.foo.py640644editdlrm
__phello__.foo.pyc1250644editdlrm
__phello__.foo.pyo1250644editdlrm
Edit: /usr/lib64/python2.6/urllib.pyc (51348B)
gc"@sdZddkZddkZddkZddkZddkZddklZdddddd d d d d ddddddddddddddddddgZ d Z d!Z ei d"jodd#k lZlZngei d$jodd#klZlZn=ei d%jodd#klZlZnd&Zd'Zeaeed(Zeeed)Zd*ZyddkZWn eZnXeZd+efd,YZhZdfd-YZdefd.YZea d/Z!ea"d0Z#ea$d1Z%ea&d2Z'd3fd4YZ(d5fd6YZ)d7e)fd8YZ*d9e)fd:YZ+d;e)fd<YZ,ye-Wne.j od=Z/n Xd>Z/d?Z0d@Z1ea2dAZ3ea4dBZ5ea6dCZ7ea8dDZ9ea:dEZ;ea<ddFZ=ea>dGZ?ea@dHZAdIZBeaCdJZDdKZEeFdLeEDZGdMZHdNZIdOZJhZKdPdQZLdRdSZMdTdUZNdVZOdWZPeiQdXjo>ddYkRlSZSlTZTdZZUd[ZVd\ZWd]ZXnEei d$jo(d^ZYd_ZXd`ZZdaZWn eOZXePZWdbZ[dcZ\gddZ]deZ^e_dfjo e^ndS(gsOpen an arbitrary URL. See the following document for more info on URLs: "Names and Addresses, URIs, URLs, URNs, URCs", at http://www.w3.org/pub/WWW/Addressing/Overview.html See also the HTTP spec (from which the error codes are derived): "HTTP - Hypertext Transfer Protocol", at http://www.w3.org/pub/WWW/Protocols/ Related standards and specs: - RFC1808: the "relative URL" spec. (authoritative status) - RFC1738 - the "URL standard". (authoritative status) - RFC1630 - the "URI spec". (informational status) The object returned by URLopener().open(file) will differ per protocol. All you know is that is has methods read(), readline(), readlines(), fileno(), close() and info(). The read*(), fileno() and close() methods work like those of open files. The info() method returns a mimetools.Message object which can be used to query various info about the object, if available. (mimetools.Message objects are queried with the getheader() method.) iN(turljointurlopent URLopenertFancyURLopenert urlretrievet urlcleanuptquotet quote_plustunquotet unquote_plust urlencodet url2pathnamet pathname2urltsplittagt localhosttthishostt ftperrorstbasejointunwrapt splittypet splithostt splitusert splitpasswdt splitportt splitnportt splitqueryt splitattrt splitvaluet getproxiess1.17i tmac(R R tnttriscoscCs t|S(sOS-specific conversion from a relative URL of the 'file' scheme to a file system path; not recommended for general use.(R(tpathname((s/usr/lib64/python2.6/urllib.pyR 4scCs t|S(sOS-specific conversion from a file system path to a relative URL of the 'file' scheme; not recommended for general use.(R(R ((s/usr/lib64/python2.6/urllib.pyR 9scCsddkl}|ddd|dj otd|}n!tpt}|ant}|djo|i|S|i||SdS(s=Create a file-like object for the specified URL to read from.i(twarnpy3ksMurllib.urlopen() has been removed in Python 3.0 in favor of urllib2.urlopen()t stacklevelitproxiesN(twarningsR!tNoneRt _urlopenertopen(turltdataR#R!topener((s/usr/lib64/python2.6/urllib.pyRGs     cCs*tp tanti||||S(N(R&Rtretrieve(R(tfilenamet reporthookR)((s/usr/lib64/python2.6/urllib.pyRYs cCs-totintitidS(N(R&tcleanupt _safemapstcleartftpcache(((s/usr/lib64/python2.6/urllib.pyR^s tContentTooShortErrorcBseZdZRS(cCsti||||_dS(N(tIOErrort__init__tcontent(tselftmessageR5((s/usr/lib64/python2.6/urllib.pyR4ns(t__name__t __module__R4(((s/usr/lib64/python2.6/urllib.pyR2mscBseZdZdZdeZddZdZdZ dZ dZ ddZ ddZ dd Zdddd Zdd Zdd Zd ZeoddZndZdZdZddZRS(s,Class to open URLs. This is a class rather than just a subroutine because we may need more than one set of global protocol-specific options. Note -- this is a base class for those who don't want the automatic handling of errors type 302 (relocated) and 401 (authorization needed).sPython-urllib/%scKs|djo t}nt|dp td||_|id|_|id|_d|ifg|_ g|_ t i |_ d|_t|_dS(Nthas_keysproxies must be a mappingtkey_filet cert_files User-Agent(R%RthasattrtAssertionErrorR#tgetR;R<tversiont addheaderst_URLopener__tempfilestostunlinkt_URLopener__unlinkt tempcacheR1(R6R#tx509((s/usr/lib64/python2.6/urllib.pyR4s      cCs|idS(N(tclose(R6((s/usr/lib64/python2.6/urllib.pyt__del__scCs|idS(N(R.(R6((s/usr/lib64/python2.6/urllib.pyRHscCso|ioFx8|iD]-}y|i|Wqtj oqXqW|i2n|io|iindS(N(RBREtOSErrorRFR0(R6tfile((s/usr/lib64/python2.6/urllib.pyR.s     cGs|ii|dS(sdAdd a header to be used by the HTTP interface only e.g. u.addheader('Accept', 'sound/basic')N(RAtappend(R6targs((s/usr/lib64/python2.6/urllib.pyt addheaderscCstt|}t|dd}|ioC||ijo3|i|\}}t|d}t|||St|\}}|p d}n||ijoA|i|}t|\}} t| \} } | |f}nd }d|} ||_ | i dd} t || p/|o|i |||S|i||Sny;|d jot|| |St|| ||SWn4tij o%} td| ftid nXd S( s6Use URLopener().open(file) instead of open(file, 'r').tsafes%/:=&?~#+!$,;'@()*[]|trbRKtopen_t-t_s socket erroriN(RttoBytesRRFR't addinfourlRR#RR%ttypetreplaceR=topen_unknown_proxyt open_unknowntgetattrtsocketterrorR3tsystexc_info(R6tfullurlR)R,theaderstfpturltypeR(tproxyt proxyhostthosttselectortnametmsg((s/usr/lib64/python2.6/urllib.pyR's8     cCs(t|\}}tdd|fdS(s/Overridable interface to open unknown URL type.s url errorsunknown url typeN(RR3(R6R_R)RVR(((s/usr/lib64/python2.6/urllib.pyRYscCs,t|\}}tdd||fdS(s/Overridable interface to open unknown URL type.s url errorsinvalid proxy for %sN(RR3(R6RcR_R)RVR(((s/usr/lib64/python2.6/urllib.pyRXscCstt|}|io||ijo |i|St|\}}|djom| p |djoXy<|i|}|i}~tt|d|fSWqt j o } qXn|i ||}z|i} |ot |d} nddk } t|\} }t|pd\} }t |pd\}} t |pd\}} tii|d}| i|\}}|ii|ti|d} z|| f}|idj o||i||id||idd |id d t|n|id || o|id d| n| o|idd| n|o|id|nx|iD]}|i|qoW|i|dj o|i|n|i\}}}|i}|djo"|o|int dnd|jo djnot||d||S|djo|i|||||S|i||||||SdS(sUse HTTP protocol.iNthttps %s://%s%ss http errors no host giventPOSTs Content-Types!application/x-www-form-urlencodedsContent-Lengths%dtGETsProxy-AuthorizationsBasic %st AuthorizationtHostshttp protocol errorisgot a bad status lineii,shttp:(s http errors no host given(shttp protocol errorisgot a bad status lineN(thttplibR%t isinstancetstrRRRRtlowert proxy_bypassR3tbase64t b64encodetstriptHTTPt putrequestt putheaderRtRAt endheaderstsendtgetreplytgetfileRHRUt http_error(R6R(R)Rt user_passwdt proxy_passwdReRftrealhostRbtrestRt proxy_authtauththRMterrcodeterrmsgR`Ra((s/usr/lib64/python2.6/urllib.pyt open_http#s~                 c Csd|}t||oct||}|djo||||||} n|||||||} | o| Sn|i|||||S(sHandle http errors. Derived class can override this, or provide specific handlers named http_error_DDD where DDD is the 3-digit error code.s http_error_%dN(R=RZR%thttp_error_default( R6R(RaRRR`R)RgtmethodR|((s/usr/lib64/python2.6/urllib.pyRns   cCs/|i}|itd|||fdS(s>Default error handler: close the connection and raise IOError.s http errorN(RsRHR3(R6R(RaRRR`tvoid((s/usr/lib64/python2.6/urllib.pyR}s  c Csyddk}d}d}t|toEt|\}}|o"t|\}}t|}n|}n|\}}t|\}}t|\} } | }d}| idjo d}nNt| \}} |ot|\}}n|od| || f}n|p t dn|o%ddk } | i |i } nd} |o%ddk } | i |i } nd} |i |dd|id |i}|dj o>|id ||id d |id dt|n|id|| o|idd| n| o|idd| n|o|id|nx|iD]}|i|qmW|i|dj o|i|n|i\}}}|i}|djo"|o|int dnd|jo djnot||d||S|djo|i|||||S|i||||||SdS(sUse HTTPS protocol.iNthttpss %s://%s%ss https errors no host giveniR;R<Rs Content-Types!application/x-www-form-urlencodedsContent-Lengths%dRsProxy-AuthorizationsBasic %sRRshttp protocol errorsgot a bad status lineii,shttps:(s https errors no host given(shttp protocol errorisgot a bad status lineN(RR%RRRRRRRR3RRRtHTTPSR;R<RRRtRARRRRRHRUR(R6R(R)RRRReRfRRbRRRRRRMRRR`Ra((s/usr/lib64/python2.6/urllib.pyt open_httpss                  cCs{t|tp td n|d djo<|dd!djo(|dd!idjo|i|S|i|Sd S( s/Use local file or FTP depending on form of URL.s file errors9proxy support for file protocol currently not implementedis//it/i s localhost/N(s file errors9proxy support for file protocol currently not implemented(RRR3Rtopen_ftpRk(R6R(((s/usr/lib64/python2.6/urllib.pyt open_files  ?cCsddk}ddk}ddk}yddkl}Wn#tj oddkl}nXt|\}}t|}yti |} Wn0t j o$} t | i | i | inX| i} |ii| idt} |i|d} |i|d| pd| | f}|p?|}|d d jod |}ntt|d ||St|\}}| oati|ttfjo?|}|d d jod |}ntt|d ||St ddS(sUse local file.iN(tStringIOtusegmtis6Content-Type: %s Content-Length: %d Last-modified: %s s text/plainiRsfile://RPslocal file errorsnot on local host(slocal file errorsnot on local host(t mimetypest mimetoolst email.utilst cStringIORt ImportErrorRR RCtstatRJR3terrnotstrerrorR,tst_sizetutilst formatdatetst_mtimetTruet guess_typetMessageRUR'RR[t gethostbynameRR(R6R(RRtemailRReRKt localnametstatsteR~tmodifiedtmtypeR`turlfiletport((s/usr/lib64/python2.6/urllib.pyRks@$     " cCst|tp tdnddk}ddk}yddkl}Wn#tj oddkl}nXt|\}}|p tdnt |\}}t |\}}|ot |\}} nd} t |}t |pd}t | pd} ti|}|pddk} | i}n t|}t|\}} t |}|id} | d | d} } | o| d  o| d } n| o| d  od| d cBseZdZdZdZddZdZddZddZ ddZ ddZ dd Z dd Z dd Zdd Zdd ZddZdZRS(s?Derived class with handlers for errors we can handle (perhaps).cOs2ti|||h|_d|_d|_dS(Nii (RR4t auth_cachettriestmaxtries(R6RMtkwargs((s/usr/lib64/python2.6/urllib.pyR4js  cCst||d||S(s3Default error handling -- don't raise an exception.shttp:(RU(R6R(RaRRR`((s/usr/lib64/python2.6/urllib.pyRpsc Cs|id7_|ioY|i|ijoFt|do |i}n |i}d|_|||dd|S|i||||||}d|_|S(s%Error 302 -- relocated (temporarily).ithttp_error_500iis)Internal Server Error: Redirect Recursion(RRR=RRtredirect_internal( R6R(RaRRR`R)tmethR|((s/usr/lib64/python2.6/urllib.pythttp_error_302ts       c Csd|jo|d}n d|jo|d}ndS|i}|it|id||}|i} | idp| idp | idp!td||d||n|i|S( Ntlocationturit:shttp://shttps://sftp://sredirect errors) - Redirection to url '%s' is not allowed(RsRHRRVRt startswithR3R'( R6R(RaRRR`R)tnewurlRt newurl_lower((s/usr/lib64/python2.6/urllib.pyRs"       cCs|i||||||S(s*Error 301 -- also relocated (permanently).(R(R6R(RaRRR`R)((s/usr/lib64/python2.6/urllib.pythttp_error_301scCs|i||||||S(s;Error 303 -- also relocated (essentially identical to 302).(R(R6R(RaRRR`R)((s/usr/lib64/python2.6/urllib.pythttp_error_303scCsG|djo|i||||||S|i|||||SdS(s1Error 307 -- relocated, but turn POST into error.N(R%RR(R6R(RaRRR`R)((s/usr/lib64/python2.6/urllib.pythttp_error_307s c Csd|jo ti||||||n|d}ddk}|id|} | p ti||||||n| i\} } | idjo ti||||||nd|id} |djot|| || St|| || |SdS(s_Error 401 -- authentication required. This function supports Basic authentication only.swww-authenticateiNs![ ]*([^ ]+)[ ]+realm="([^"]*)"tbasictretry_t _basic_auth( RRtretmatchtgroupsRRVR%RZ( R6R(RaRRR`R)tstuffRRtschemetrealmRg((s/usr/lib64/python2.6/urllib.pythttp_error_401s"    c Csd|jo ti||||||n|d}ddk}|id|} | p ti||||||n| i\} } | idjo ti||||||nd|id} |djot|| || St|| || |SdS(seError 407 -- proxy authentication required. This function supports Basic authentication only.sproxy-authenticateiNs![ ]*([^ ]+)[ ]+realm="([^"]*)"Rt retry_proxy_R( RRRRRRRVR%RZ( R6R(RaRRR`R)RRRRRRg((s/usr/lib64/python2.6/urllib.pythttp_error_407s"    cCst|\}}d||}|id}t|\}} t| \} } | idd} | | } |i| || \} } | p| pdSt| dddt| ddd| } d| | |id<|djo|i|S|i||SdS(Nshttp://Rt@iRORjR(RR#Rtfindtget_user_passwdR%RR'(R6R(RR)ReRfRRcRbRdt proxyselectorRRR((s/usr/lib64/python2.6/urllib.pytretry_proxy_http_basic_auths  . cCst|\}}d||}|id}t|\}} t| \} } | idd} | | } |i| || \} } | p| pdSt| dddt| ddd| } d| | |id<|djo|i|S|i||SdS(Nshttps://RR iRORjR(RR#RR R R%RR'(R6R(RR)ReRfRRcRbRdR RRR((s/usr/lib64/python2.6/urllib.pytretry_proxy_https_basic_auths  . c Cst|\}}|idd}||}|i|||\}}|p|pdSt|dddt|ddd|}d||} |djo|i| S|i| |SdS(NR iRORjRshttp://(RR R R%RR'( R6R(RR)ReRfRRRR((s/usr/lib64/python2.6/urllib.pytretry_http_basic_auths . c Cst|\}}|idd}||}|i|||\}}|p|pdSt|dddt|ddd|}d||} |djo|i| S|i| |SdS(NR iRORjRshttps://(RR R R%RR'( R6R(RR)ReRfRRRR((s/usr/lib64/python2.6/urllib.pytretry_https_basic_auths . icCs|d|i}||ijo$|o|i|=qH|i|Sn|i||\}}|p|o||f|i|st__iter__tnext(RaRstreadlineR=R6R7R9R:(R6Ra((s/usr/lib64/python2.6/urllib.pyR4s  cCs d|iit||ifS(Ns<%s at %r whose fp = %r>(t __class__R8tidRa(R6((s/usr/lib64/python2.6/urllib.pyt__repr__s cCsLd|_d|_d|_d|_|io|iind|_dS(N(R%RsR;R6R7RaRH(R6((s/usr/lib64/python2.6/urllib.pyRHs     (R8R9RR4R>RH(((s/usr/lib64/python2.6/urllib.pyR5s  R-cBs eZdZdZdZRS(s*Class to add a close hook to an open file.cGs&ti||||_||_dS(N(R5R4t closehookthookargs(R6RaR?R@((s/usr/lib64/python2.6/urllib.pyR4s cCsAti||io&|i|id|_d|_ndS(N(R5RHR?R@R%(R6((s/usr/lib64/python2.6/urllib.pyRHs    (R8R9RR4RH(((s/usr/lib64/python2.6/urllib.pyR-s taddinfocBs eZdZdZdZRS(s.class to add an info() method to an open file.cCsti||||_dS(N(R5R4R`(R6RaR`((s/usr/lib64/python2.6/urllib.pyR4scCs|iS(N(R`(R6((s/usr/lib64/python2.6/urllib.pyRls(R8R9RR4Rl(((s/usr/lib64/python2.6/urllib.pyRAs RUcBs5eZdZddZdZdZdZRS(s9class to add info() and geturl() methods to an open file.cCs/ti||||_||_||_dS(N(R5R4R`R(tcode(R6RaR`R(RB((s/usr/lib64/python2.6/urllib.pyR4s  cCs|iS(N(R`(R6((s/usr/lib64/python2.6/urllib.pyRlscCs|iS(N(RB(R6((s/usr/lib64/python2.6/urllib.pytgetcodescCs|iS(N(R((R6((s/usr/lib64/python2.6/urllib.pytgeturlsN(R8R9RR%R4RlRCRD(((s/usr/lib64/python2.6/urllib.pyRUs    cCsdS(Ni((tx((s/usr/lib64/python2.6/urllib.pyt _is_unicodescCs t|tS(N(Rtunicode(RE((s/usr/lib64/python2.6/urllib.pyRFscCsXt|oGy|id}WqTtj o!tdt|dqTXn|S(stoBytes(u"URL") --> 'URL'.tASCIIsURL s contains non-ASCII characters(RFtencodet UnicodeErrortrepr(R(((s/usr/lib64/python2.6/urllib.pyRTs cCsn|i}|d djo(|ddjo|dd!i}n|d djo|di}n|S(s8unwrap('') --> 'type://host/path'.itisURL:(R(R(((s/usr/lib64/python2.6/urllib.pyRs  "cCsztdjoddk}|idanti|}|o.|id}|i|t|dfSd|fS(s:splittype('type:opaquestring') --> 'type', 'opaquestring'.iNs ^([^/:]+):i(t _typeprogR%RtcompileRtgroupRRt(R(RRR((s/usr/lib64/python2.6/urllib.pyRs  cCs]tdjoddk}|idanti|}|o|iddSd|fS(s;splithost('//host[:port]/path') --> 'host[:port]', '/path'.iNs^//([^/?]*)(.*)$ii(t _hostprogR%RRORRP(R(RR((s/usr/lib64/python2.6/urllib.pyR+s  cCsftdjoddk}|idanti|}|ott|iddSd|fS(sJsplituser('user[:passwd]@host[:port]') --> 'user[:passwd]', 'host[:port]'.iNs ^(.*)@(.*)$ii(t _userprogR%RRORtmapRRP(ReRR((s/usr/lib64/python2.6/urllib.pyR7s  cCs]tdjoddk}|idanti|}|o|iddS|dfS(s/splitpasswd('user:passwd') -> 'user', 'passwd'.iNs^([^:]*):(.*)$ii(t _passwdprogR%RRORRP(RRR((s/usr/lib64/python2.6/urllib.pyRCs  cCs]tdjoddk}|idanti|}|o|iddS|dfS(s*splitport('host:port') --> 'host', 'port'.iNs^(.*):([0-9]+)$ii(t _portprogR%RRORRP(ReRR((s/usr/lib64/python2.6/urllib.pyRPs  cCstdjoddk}|idanti|}|oc|idd\}}y$|p tdnt|}Wntj o d}nX||fS||fS(sSplit host and port, returning numeric port. Return given default port if no ':' found; defaults to -1. Return numerical port if a valid number are found after ':'. Return None if ':' but not a valid number.iNs ^(.*):(.*)$iis no digits(t _nportprogR%RRORRPRRr(RetdefportRRRtnport((s/usr/lib64/python2.6/urllib.pyR\s     cCs]tdjoddk}|idanti|}|o|iddS|dfS(s/splitquery('/path?query') --> '/path', 'query'.iNs^(.*)\?([^?]*)$ii(t _queryprogR%RRORRP(R(RR((s/usr/lib64/python2.6/urllib.pyRrs  cCs]tdjoddk}|idanti|}|o|iddS|dfS(s)splittag('/path#tag') --> '/path', 'tag'.iNs^(.*)#([^#]*)$ii(t_tagprogR%RRORRP(R(RR((s/usr/lib64/python2.6/urllib.pyR ~s  cCs!|id}|d|dfS(sksplitattr('/path;attr1=value1;attr2=value2;...') -> '/path', ['attr1=value1', 'attr2=value2', ...].Rii(R(R(twords((s/usr/lib64/python2.6/urllib.pyRscCs]tdjoddk}|idanti|}|o|iddS|dfS(s-splitvalue('attr=value') --> 'attr', 'value'.iNs^([^=]*)=(.*)$ii(t _valueprogR%RRORRP(RRR((s/usr/lib64/python2.6/urllib.pyRs  t0123456789ABCDEFabcdefccsGx@|]9}x0tD](}||tt||dfVqWqWdS(iN(t_hexdigtchrRr(t.0Rtb((s/usr/lib64/python2.6/urllib.pys s c Cs|id}xtdt|D]}||}yt|d |d|| 'abc def'.t%iiiRj( RtxrangeRtt _hextochrtKeyErrortUnicodeDecodeErrortunichrRrR(tstresRtitem((s/usr/lib64/python2.6/urllib.pyRs .cCs|idd}t|S(s%unquote('%7e/abc+def') -> '~/abc def't+t (RWR(Rh((s/usr/lib64/python2.6/urllib.pyR ssAABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-RcCs|tf}yt|}Wnrtj of|t7}h}xBtdD]4}t|}||jo|pd||| 'abc%20def' Each part of a URL, e.g. the path info, the query, etc., has a different set of reserved characters that must be quoted. RFC 2396 Uniform Resource Identifiers (URI): Generic Syntax lists the following reserved characters. reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" | "$" | "," Each of these characters is reserved in some component of a URL, but not necessarily in all of them. By default, the quote function is intended for quoting the path section of a URL. Thus, it will not encode '/'. This character is reserved, but in typical usage the quote function is being called on a path where the existing slash characters are used as reserved characters. is%%%02XRj(t always_safeR/RetrangeR_RSt __getitem__R(RhROtcachekeytsafe_mapRtcRi((s/usr/lib64/python2.6/urllib.pyRs    &RjcCs>d|jo$t||d}|iddSt||S(s9Quote the query fragment of a URL; replacing ' ' with '+'RlRk(RRW(RhRO((s/usr/lib64/python2.6/urllib.pyRs ic Cst|do|i}nhy0t|ot|dt o tnWn4tj o(ti\}}}td|nXg}|pTxl|D]E\}}tt |}tt |}|i |d|qWnx|D]\}}tt |}t|t o%t|}|i |d|qt |o1t|i dd}|i |d|qyt|}Wn:tj o.tt |}|i |d|qXx/|D]'} |i |dtt | qWqWdi |S(svEncode a sequence of two-element tuples or dictionary into a URL query string. If any values in the query arg are sequences and doseq is true, each sequence element is converted to a separate parameter. If the query arg is a sequence of two-element tuples, the order of the parameters in the output will match the order of parameters in the input. titemsis1not a valid non-string sequence or mapping objectRRHRWt&(R=RsRtRttuplet TypeErrorR]R^RRRLRFRIR( tquerytdoseqttytvattbtlRRREtelt((s/usr/lib64/python2.6/urllib.pyR sB "    )cCsh}xStiiD]B\}}|i}|o#|ddjo|||d proxy server URL mappings. Scan the environment for variables named _proxy; this seems to be the standard convention. If you need a different way, you can pass a proxies dictionary to the [Fancy]URLopener constructor. it_proxytREQUEST_METHODRN(RCtenvironRsRtpopR%(R#RgR((s/usr/lib64/python2.6/urllib.pytgetproxies_environments   cCstiiddptiidd}|djodSt|\}}xC|idD]2}|o%|i|p|i|odSq_WdS(sTest if proxies should not be used for a particular host. Checks the environment for a variable named no_proxy, which should be a list of DNS suffixes separated by commas, or '*' for all hosts. tno_proxyRjtNO_PROXYt*iRi(RCRR?RRtendswith(ReRthostonlyRRg((s/usr/lib64/python2.6/urllib.pytproxy_bypass_environment7s+ ' tdarwin(t_get_proxy_settingst _get_proxiesc Csddk}ddk}ddkl}t|\}}d}t}d|jo|dotSnd}x5|idd D]!} | pqn|id| } | dj o|djo?y|i |}||}Wq|i j o qqXn|| i d } | i d } | djo$d | i d i dd } nt | d } d | } || ?| | ?jotSq||| otSqWtS(s Return True iff this host shouldn't be accessed using a proxy This function uses the MacOSX framework SystemConfiguration to fetch the proxy information. iN(tfnmatchcSs{|id}tt|}t|djo|ddddgd }n|dd>|dd>B|dd>B|d BS( Nt.iiiiiiii(RRSRrRt(tipAddrtparts((s/usr/lib64/python2.6/urllib.pytip2num[s Rtexclude_simplet exceptionss(\d+(?:\.\d+)*)(/\d+)?iiii ((RR[RRRRR%R?RRR\RPtcountRrtFalse( ReRR[RRRRtproxy_settingsthostIPRtmtbasetmask((s/usr/lib64/python2.6/urllib.pytproxy_bypass_macosx_sysconfNsB           $   cCstS(sReturn a dictionary of scheme -> proxy server URL mappings. This function uses the MacOSX framework SystemConfiguration to fetch the proxy information. (R(((s/usr/lib64/python2.6/urllib.pytgetproxies_macosx_sysconfscCs#to t|St|SdS(N(RRR(Re((s/usr/lib64/python2.6/urllib.pyRs  cCstptS(N(RR(((s/usr/lib64/python2.6/urllib.pyRsc Csyh}yddk}Wntj o|SXy)|i|id}|i|dd}|ot|i|dd}d|josx|idD][}|idd \}}ddk}|id |pd ||f}n||| proxy server URL mappings. Win32 uses the registry to store proxies. iNs;Software\Microsoft\Windows\CurrentVersion\Internet Settingst ProxyEnableit ProxyServerRRis ^([^/:]+)://s%s://%sishttp:Rs http://%ss https://%sRsftp://%sR!( t_winregRtOpenKeytHKEY_CURRENT_USERt QueryValueExRRRRtCloset WindowsErrorRRv( R#RtinternetSettingst proxyEnablet proxyServertptprotocoltaddressR((s/usr/lib64/python2.6/urllib.pytgetproxies_registrys<       cCstptS(sReturn a dictionary of scheme -> proxy server URL mappings. Returns settings gathered from the environment, if specified, or the registry. (RR(((s/usr/lib64/python2.6/urllib.pyRsc CsTyddk}ddk}Wntj odSXyK|i|id}|i|dd}t|i|dd}Wntj odSX| p| odSt|\}}|g}y1t i |}||jo|i |nWnt i j onXy1t i |} | |jo|i | nWnt i j onX|id}d} xi| t|joU|| djo6dd t it i t ig|| | d +n| d 7} qqWxs|D]k} | id d } | id d} | idd } x,|D]$} |i| | |iod Sq$WqWdS(Niis;Software\Microsoft\Windows\CurrentVersion\Internet SettingsRt ProxyOverrideRsRs 127.0.0.1iRs\.Rs.*t?(RRRRRRRRRR[RRLR\tgetfqdnRRtRRWRR( ReRRRRt proxyOverridetrawHostRtaddrtfqdnRttesttval((s/usr/lib64/python2.6/urllib.pytproxy_bypass_registrysf          ! cCs#to t|St|SdS(sReturn a dictionary of scheme -> proxy server URL mappings. Returns settings gathered from the environment, if specified, or the registry. N(RRR(Re((s/usr/lib64/python2.6/urllib.pyRs  cCsd}x$tdD]}|t|}qW|d}ti}t|}t|}ti}||jo dGHnt|GHt|GHt|GHt||dGdGHdS(NRjiisWrong!itsec(RnR_RRRRKtround(RhRtt0tqstuqstt1((s/usr/lib64/python2.6/urllib.pyttest1"s           cCsd|||fGHdS(Ns0Block number: %d, Block size: %d, Total size: %d((Rt blocksizet totalsize((s/usr/lib64/python2.6/urllib.pyR-2sc Cs9|p:dddddg}ttdo|idqAnzx|D]}dG|GdGHt|dt\}}|GH|o6d GHx%|iD]}|d G||GHqWd GHnt|d }|i}~d |jo(t i dd}|i |d }n|GHd\}}qKWddGHWdt XdS(Ns /etc/passwdsfile:/etc/passwdsfile://localhost/etc/passwdsftp://ftp.gnu.org/pub/READMEs http://www.python.org/index.htmlRs!https://synergy.as.cmu.edu/~geek/RRi s======RRPs Rji(s ----------s ----------(NN( R=RRLRR%R-RR'Rststringt maketranst translateR(RMR(tfnRRRaR)ttable((s/usr/lib64/python2.6/urllib.pyR8s<       c Csddk}ddk}y#|i|idd\}}Wn#|ij o}|GHdGHdSXd}xO|D]G\}}|djo|d}n|djodGHd Gd GHdSqnW|o&|djo tnt|n2|p dGHnx|D]}t|iGqWdS( NiitthsUse -h for helpis-ts-hs&Usage: python urllib.py [-t] [url ...]s-t runs self-test;s'otherwise, contents of urls are printed(tgetoptR]targvR\RRRRs( RR]toptsRMRhtttoRR(((s/usr/lib64/python2.6/urllib.pytmainXs4#       t__main__(`RRR[RCRR]turlparseRRt__all__RRRgt macurl2pathR R t nturl2patht rourl2pathR%R&RRRtsslRRRR3R2R1RRRRRRRRRRRR5R-RARURGt NameErrorRFRTRRNRRQRRRRRTRRURRVRRYRRZR RR\RR^tdictRdRR RmR/RRR RRtplatformt_scproxyRRRRRRRRRR-RRR8(((s/usr/lib64/python2.6/urllib.pyts                 N "             "  @   <   . ;