[Python-checkins] python/dist/src/Lib hashlib.py, 1.1, 1.2 random.py, 1.72, 1.73 urllib2.py, 1.86, 1.87

tim_one@users.sourceforge.net tim_one at users.sourceforge.net
Fri Aug 26 17:20:58 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv805/Lib

Modified Files:
	hashlib.py random.py urllib2.py 
Log Message:
Whitespace normalization (via reindent.py).


Index: hashlib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/hashlib.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- hashlib.py	21 Aug 2005 18:46:00 -0000	1.1
+++ hashlib.py	26 Aug 2005 15:20:47 -0000	1.2
@@ -107,4 +107,3 @@
     sha256 = __get_builtin_constructor('sha256')
     sha384 = __get_builtin_constructor('sha384')
     sha512 = __get_builtin_constructor('sha512')
-

Index: random.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/random.py,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- random.py	19 Aug 2005 01:36:35 -0000	1.72
+++ random.py	26 Aug 2005 15:20:47 -0000	1.73
@@ -303,7 +303,7 @@
         result = [None] * k
         setsize = 21        # size of a small set minus size of an empty list
         if k > 5:
-              setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
+            setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
         if n <= setsize:    # is an n-length list smaller than a k-length set
             pool = list(population)
             for i in xrange(k):         # invariant:  non-selected at [0,n-i)

Index: urllib2.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urllib2.py,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- urllib2.py	24 Aug 2005 22:20:32 -0000	1.86
+++ urllib2.py	26 Aug 2005 15:20:47 -0000	1.87
@@ -1069,7 +1069,7 @@
 
 def parse_http_list(s):
     """Parse lists as described by RFC 2068 Section 2.
-    
+
     In particular, parse comma-separated lists where the elements of
     the list may include quoted-strings.  A quoted-string could
     contain a comma.  A non-quoted string could have quotes in the
@@ -1101,7 +1101,7 @@
 
         if cur == '"':
             quote = True
-        
+
         part += cur
 
     # append last part



More information about the Python-checkins mailing list