[Python-checkins] python/dist/src/Lib asyncore.py, 1.54, 1.55 cmd.py, 1.38, 1.39 decimal.py, 1.10, 1.11 doctest.py, 1.34, 1.35 profile.py, 1.55, 1.56 site.py, 1.61, 1.62 stringprep.py, 1.3, 1.4

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Wed Jul 7 22:55:34 CEST 2004


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

Modified Files:
	asyncore.py cmd.py decimal.py doctest.py profile.py site.py 
	stringprep.py 
Log Message:
Whitespace normalization.


Index: asyncore.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/asyncore.py,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** asyncore.py	7 Jul 2004 12:23:53 -0000	1.54
--- asyncore.py	7 Jul 2004 20:54:44 -0000	1.55
***************
*** 305,309 ****
                  pass
              else:
!                 raise 
  
      def send(self, data):
--- 305,309 ----
                  pass
              else:
!                 raise
  
      def send(self, data):
***************
*** 315,319 ****
                  return 0
              else:
!                 raise 
              return 0
  
--- 315,319 ----
                  return 0
              else:
!                 raise
              return 0
  
***************
*** 334,338 ****
                  return ''
              else:
!                 raise 
  
      def close(self):
--- 334,338 ----
                  return ''
              else:
!                 raise
  
      def close(self):
***************
*** 530,532 ****
              self.socket = file_wrapper(fd)
              self.add_channel()
- 
--- 530,531 ----

Index: cmd.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/cmd.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** cmd.py	1 Jul 2004 14:52:10 -0000	1.38
--- cmd.py	7 Jul 2004 20:54:45 -0000	1.39
***************
*** 150,154 ****
                  except ImportError:
                      pass
!             
  
      def precmd(self, line):
--- 150,154 ----
                  except ImportError:
                      pass
! 
  
      def precmd(self, line):
***************
*** 173,177 ****
          """
          pass
!     
      def parseline(self, line):
          """Parse the line into a command name and a string containing
--- 173,177 ----
          """
          pass
! 
      def parseline(self, line):
          """Parse the line into a command name and a string containing

Index: decimal.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/decimal.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** decimal.py	5 Jul 2004 22:53:02 -0000	1.10
--- decimal.py	7 Jul 2004 20:54:45 -0000	1.11
***************
*** 510,517 ****
  
          if isinstance(value, Decimal):
!           self._exp  = value._exp
!           self._sign = value._sign
!           self._int  = value._int
!           return
  
          raise TypeError("Can't convert %r" % value)
--- 510,517 ----
  
          if isinstance(value, Decimal):
!             self._exp  = value._exp
!             self._sign = value._sign
!             self._int  = value._int
!             return
  
          raise TypeError("Can't convert %r" % value)
***************
*** 2818,2822 ****
                  selfint[x] += 10
              else:
!               carry = 0
          if carry:
              selfint[x+1] -= 1
--- 2818,2822 ----
                  selfint[x] += 10
              else:
!                 carry = 0
          if carry:
              selfint[x+1] -= 1

Index: doctest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/doctest.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** doctest.py	31 May 2004 19:01:00 -0000	1.34
--- doctest.py	7 Jul 2004 20:54:45 -0000	1.35
***************
*** 206,210 ****
    them:
  
!       >>> def f(x): 
        ...     r'''Backslashes in a raw docstring: m\n'''
        >>> print f.__doc__
--- 206,210 ----
    them:
  
!       >>> def f(x):
        ...     r'''Backslashes in a raw docstring: m\n'''
        >>> print f.__doc__
***************
*** 216,224 ****
    (and not use a raw string):
  
!       >>> def f(x): 
        ...     '''Backslashes in a raw docstring: m\\n'''
        >>> print f.__doc__
        Backslashes in a raw docstring: m\n
!       
  The starting column doesn't matter:
  
--- 216,224 ----
    (and not use a raw string):
  
!       >>> def f(x):
        ...     '''Backslashes in a raw docstring: m\\n'''
        >>> print f.__doc__
        Backslashes in a raw docstring: m\n
! 
  The starting column doesn't matter:
  

Index: profile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/profile.py,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** profile.py	24 Mar 2004 21:57:08 -0000	1.55
--- profile.py	7 Jul 2004 20:54:45 -0000	1.56
***************
*** 599,603 ****
      parser = ProfileParser(usage)
      parser.allow_interspersed_args = False
!     parser.add_option('-o', '--outfile', dest="outfile", 
          help="Save stats to <outfile>", default=None)
      parser.add_option('-s', '--sort', dest="sort",
--- 599,603 ----
      parser = ProfileParser(usage)
      parser.allow_interspersed_args = False
!     parser.add_option('-o', '--outfile', dest="outfile",
          help="Save stats to <outfile>", default=None)
      parser.add_option('-s', '--sort', dest="sort",
***************
*** 606,610 ****
      (options, args) = parser.parse_args()
      sys.argv[:] = args
!     
      if (len(sys.argv) > 0):
          sys.path.insert(0, os.path.dirname(sys.argv[0]))
--- 606,610 ----
      (options, args) = parser.parse_args()
      sys.argv[:] = args
! 
      if (len(sys.argv) > 0):
          sys.path.insert(0, os.path.dirname(sys.argv[0]))

Index: site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -d -r1.61 -r1.62
*** site.py	5 Jun 2004 01:12:51 -0000	1.61
--- site.py	7 Jul 2004 20:54:45 -0000	1.62
***************
*** 211,215 ****
      during module import.  Use BEGINLIBPATH so that these are at the start
      of the library search path.
!     
      """
      dllpath = os.path.join(sys.prefix, "Lib", "lib-dynload")
--- 211,215 ----
      during module import.  Use BEGINLIBPATH so that these are at the start
      of the library search path.
! 
      """
      dllpath = os.path.join(sys.prefix, "Lib", "lib-dynload")

Index: stringprep.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/stringprep.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** stringprep.py	19 May 2004 19:10:17 -0000	1.3
--- stringprep.py	7 Jul 2004 20:54:45 -0000	1.4
***************
*** 271,273 ****
  def in_table_d2(code):
      return unicodedata.bidirectional(code) == "L"
- 
--- 271,272 ----



More information about the Python-checkins mailing list