[Python-checkins] CVS: python/dist/src/Lib dircache.py,1.9,1.10 inspect.py,1.8,1.9 pydoc.py,1.15,1.16 urllib2.py,1.9,1.10 whichdb.py,1.10,1.11
Tim Peters
tim_one@users.sourceforge.net
Fri, 16 Mar 2001 00:29:50 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv21521/python/dist/src/Lib
Modified Files:
dircache.py inspect.py pydoc.py urllib2.py whichdb.py
Log Message:
Whitespace normalization.
Index: dircache.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dircache.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** dircache.py 2001/03/02 13:35:37 1.9
--- dircache.py 2001/03/16 08:29:47 1.10
***************
*** 12,18 ****
def reset():
! """Reset the cache completely."""
! global cache
! cache = {}
def listdir(path):
--- 12,18 ----
def reset():
! """Reset the cache completely."""
! global cache
! cache = {}
def listdir(path):
Index: inspect.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/inspect.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** inspect.py 2001/03/10 09:31:55 1.8
--- inspect.py 2001/03/16 08:29:47 1.9
***************
*** 644,647 ****
"""Return a list of records for the stack below the current exception."""
return getinnerframes(sys.exc_traceback, context)
-
-
--- 644,645 ----
Index: pydoc.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pydoc.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** pydoc.py 2001/03/02 05:58:17 1.15
--- pydoc.py 2001/03/16 08:29:47 1.16
***************
*** 1033,1037 ****
for file in os.listdir(dir):
path = os.path.join(dir, file)
! if ispackage(path):
children.append((path, package + (package and '.') + file))
else:
--- 1033,1037 ----
for file in os.listdir(dir):
path = os.path.join(dir, file)
! if ispackage(path):
children.append((path, package + (package and '.') + file))
else:
***************
*** 1417,1420 ****
if __name__ == '__main__': cli()
-
-
--- 1417,1418 ----
Index: urllib2.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urllib2.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** urllib2.py 2001/03/01 08:40:42 1.9
--- urllib2.py 2001/03/16 08:29:47 1.10
***************
*** 641,645 ****
def http_error_401(self, req, fp, code, msg, headers):
host = urlparse.urlparse(req.get_full_url())[1]
! return self.http_error_auth_reqed('www-authenticate',
host, req, headers)
--- 641,645 ----
def http_error_401(self, req, fp, code, msg, headers):
host = urlparse.urlparse(req.get_full_url())[1]
! return self.http_error_auth_reqed('www-authenticate',
host, req, headers)
***************
*** 651,655 ****
def http_error_407(self, req, fp, code, msg, headers):
host = req.get_host()
! return self.http_error_auth_reqed('proxy-authenticate',
host, req, headers)
--- 651,655 ----
def http_error_407(self, req, fp, code, msg, headers):
host = req.get_host()
! return self.http_error_auth_reqed('proxy-authenticate',
host, req, headers)
Index: whichdb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/whichdb.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** whichdb.py 2001/03/02 06:43:49 1.10
--- whichdb.py 2001/03/16 08:29:47 1.11
***************
*** 7,11 ****
else:
endsep = "."
!
def whichdb(filename):
"""Guess which db package to use to open a db file.
--- 7,11 ----
else:
endsep = "."
!
def whichdb(filename):
"""Guess which db package to use to open a db file.