[Python-checkins] python/dist/src/Lib _threading_local.py, 1.2,
1.3 asyncore.py, 1.58, 1.59 cgitb.py, 1.14,
1.15 dummy_threading.py, 1.2, 1.3 posixpath.py, 1.68,
1.69 urllib.py, 1.163, 1.164
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Sun Jul 18 08:15:14 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31286
Modified Files:
_threading_local.py asyncore.py cgitb.py dummy_threading.py
posixpath.py urllib.py
Log Message:
Whitespace normalization, via reindent.py.
Index: _threading_local.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/_threading_local.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** _threading_local.py 15 Jul 2004 12:17:26 -0000 1.2
--- _threading_local.py 18 Jul 2004 06:14:41 -0000 1.3
***************
*** 82,86 ****
an initial color:
!
>>> mydata.color
'red'
--- 82,86 ----
an initial color:
!
>>> mydata.color
'red'
***************
*** 217,221 ****
# shutdown, we'll skip cleanup under the assumption
# that there is nothing to clean up
! return
for thread in threads:
--- 217,221 ----
# shutdown, we'll skip cleanup under the assumption
# that there is nothing to clean up
! return
for thread in threads:
***************
*** 229,233 ****
try:
del __dict__[key]
! except KeyError:
pass # didn't have anything in this thread
--- 229,233 ----
try:
del __dict__[key]
! except KeyError:
pass # didn't have anything in this thread
Index: asyncore.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/asyncore.py,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** asyncore.py 15 Jul 2004 16:17:07 -0000 1.58
--- asyncore.py 18 Jul 2004 06:14:41 -0000 1.59
***************
*** 269,273 ****
else:
reuse_constant = socket.SO_REUSEADDR
!
self.socket.setsockopt(
socket.SOL_SOCKET, reuse_constant,
--- 269,273 ----
else:
reuse_constant = socket.SO_REUSEADDR
!
self.socket.setsockopt(
socket.SOL_SOCKET, reuse_constant,
***************
*** 277,281 ****
except socket.error:
pass
!
# ==================================================
# predicates for select()
--- 277,281 ----
except socket.error:
pass
!
# ==================================================
# predicates for select()
Index: cgitb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/cgitb.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** cgitb.py 10 Jul 2004 14:14:51 -0000 1.14
--- cgitb.py 18 Jul 2004 06:14:41 -0000 1.15
***************
*** 43,47 ****
else:
return ''
!
def strong(text):
if text:
--- 43,47 ----
else:
return ''
!
def strong(text):
if text:
***************
*** 49,53 ****
else:
return ''
!
def grey(text):
if text:
--- 49,53 ----
else:
return ''
!
def grey(text):
if text:
Index: dummy_threading.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dummy_threading.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** dummy_threading.py 14 Jul 2004 19:11:50 -0000 1.2
--- dummy_threading.py 18 Jul 2004 06:14:41 -0000 1.3
***************
*** 47,51 ****
holding__threading_local = True
del sys_modules['_threading_local']
!
import threading
# Need a copy of the code kept somewhere...
--- 47,51 ----
holding__threading_local = True
del sys_modules['_threading_local']
!
import threading
# Need a copy of the code kept somewhere...
Index: posixpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/posixpath.py,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** posixpath.py 11 Jul 2004 19:16:21 -0000 1.68
--- posixpath.py 18 Jul 2004 06:14:41 -0000 1.69
***************
*** 421,425 ****
def _resolve_link(path):
"""Internal helper function. Takes a path and follows symlinks
! until we either arrive at something that isn't a symlink, or
encounter a path we've seen before (meaning that there's a loop).
"""
--- 421,425 ----
def _resolve_link(path):
"""Internal helper function. Takes a path and follows symlinks
! until we either arrive at something that isn't a symlink, or
encounter a path we've seen before (meaning that there's a loop).
"""
Index: urllib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urllib.py,v
retrieving revision 1.163
retrieving revision 1.164
diff -C2 -d -r1.163 -r1.164
*** urllib.py 16 Jul 2004 11:45:00 -0000 1.163
--- urllib.py 18 Jul 2004 06:14:41 -0000 1.164
***************
*** 1224,1228 ****
def getproxies():
return getproxies_environment() or getproxies_internetconfig()
!
elif os.name == 'nt':
def getproxies_registry():
--- 1224,1228 ----
def getproxies():
return getproxies_environment() or getproxies_internetconfig()
!
elif os.name == 'nt':
def getproxies_registry():
More information about the Python-checkins
mailing list