[Python-checkins] python/dist/src/Lib ConfigParser.py,1.51,1.52 httplib.py,1.66,1.67 locale.py,1.23,1.24 posixpath.py,1.53,1.54 site.py,1.45,1.46 telnetlib.py,1.21,1.22

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Fri, 08 Nov 2002 21:08:10 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv18453

Modified Files:
	ConfigParser.py httplib.py locale.py posixpath.py site.py 
	telnetlib.py 
Log Message:
Whitespace normalization.


Index: ConfigParser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/ConfigParser.py,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** ConfigParser.py	6 Nov 2002 14:51:20 -0000	1.51
--- ConfigParser.py	9 Nov 2002 05:08:06 -0000	1.52
***************
*** 526,530 ****
          # do the string interpolation
          value = rawval
!         depth = MAX_INTERPOLATION_DEPTH 
          while depth:                    # Loop through this until it's done
              depth -= 1
--- 526,530 ----
          # do the string interpolation
          value = rawval
!         depth = MAX_INTERPOLATION_DEPTH
          while depth:                    # Loop through this until it's done
              depth -= 1

Index: httplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/httplib.py,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** httplib.py	3 Sep 2002 20:49:06 -0000	1.66
--- httplib.py	9 Nov 2002 05:08:06 -0000	1.67
***************
*** 372,376 ****
          if self.chunked:
              return self._read_chunked(amt)
!         
          if amt is None:
              # unbounded read
--- 372,376 ----
          if self.chunked:
              return self._read_chunked(amt)
! 
          if amt is None:
              # unbounded read
***************
*** 442,446 ****
  
          return value
!     
      def _safe_read(self, amt):
          """Read the number of bytes requested, compensating for partial reads.
--- 442,446 ----
  
          return value
! 
      def _safe_read(self, amt):
          """Read the number of bytes requested, compensating for partial reads.

Index: locale.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/locale.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** locale.py	5 Nov 2002 03:49:09 -0000	1.23
--- locale.py	9 Nov 2002 05:08:06 -0000	1.24
***************
*** 273,277 ****
              # locales. Also, we ignore other modifiers.
              return code, 'iso-8859-15'
!             
      if '.' in code:
          return code.split('.')[:2]
--- 273,277 ----
              # locales. Also, we ignore other modifiers.
              return code, 'iso-8859-15'
! 
      if '.' in code:
          return code.split('.')[:2]
***************
*** 421,425 ****
              else:
                  return nl_langinfo(CODESET)
!                 
  
  ### Database
--- 421,425 ----
              else:
                  return nl_langinfo(CODESET)
! 
  
  ### Database

Index: posixpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/posixpath.py,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** posixpath.py	8 Oct 2002 02:44:30 -0000	1.53
--- posixpath.py	9 Nov 2002 05:08:06 -0000	1.54
***************
*** 412,414 ****
  
  supports_unicode_filenames = False
- 
--- 412,413 ----

Index: site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** site.py	19 Sep 2002 11:11:27 -0000	1.45
--- site.py	9 Nov 2002 05:08:06 -0000	1.46
***************
*** 95,99 ****
  # XXX This should not be part of site.py, since it is needed even when
  # using the -S option for Python.  See http://www.python.org/sf/586680
! if (os.name == "posix" and sys.path and 
      os.path.basename(sys.path[-1]) == "Modules"):
      from distutils.util import get_platform
--- 95,99 ----
  # XXX This should not be part of site.py, since it is needed even when
  # using the -S option for Python.  See http://www.python.org/sf/586680
! if (os.name == "posix" and sys.path and
      os.path.basename(sys.path[-1]) == "Modules"):
      from distutils.util import get_platform

Index: telnetlib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/telnetlib.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** telnetlib.py	4 Nov 2002 17:34:07 -0000	1.21
--- telnetlib.py	9 Nov 2002 05:08:06 -0000	1.22
***************
*** 400,409 ****
              raise EOFError, 'telnet connection closed'
          return buf
!     
      def read_sb_data(self):
          """Return any data available in the SB ... SE queue.
  
!         Return '' if no SB ... SE available. Should only be called 
!         after seeing a SB or SE command. When a new SB command is 
          found, old unread SB data will be discarded. Don't block.
  
--- 400,409 ----
              raise EOFError, 'telnet connection closed'
          return buf
! 
      def read_sb_data(self):
          """Return any data available in the SB ... SE queue.
  
!         Return '' if no SB ... SE available. Should only be called
!         after seeing a SB or SE command. When a new SB command is
          found, old unread SB data will be discarded. Don't block.
  
***************
*** 443,447 ****
                          self.iacseq += c
                          continue
!                     
                      self.iacseq = ''
                      if c == IAC:
--- 443,447 ----
                          self.iacseq += c
                          continue
! 
                      self.iacseq = ''
                      if c == IAC:
***************
*** 469,473 ****
                      opt = c
                      if cmd in (DO, DONT):
!                         self.msg('IAC %s %d', 
                              cmd == DO and 'DO' or 'DONT', ord(opt))
                          if self.option_callback:
--- 469,473 ----
                      opt = c
                      if cmd in (DO, DONT):
!                         self.msg('IAC %s %d',
                              cmd == DO and 'DO' or 'DONT', ord(opt))
                          if self.option_callback: