[Python-checkins] CVS: python/dist/src/Lib asyncore.py,1.9,1.10

Eric S. Raymond esr@users.sourceforge.net
Thu, 08 Feb 2001 21:03:17 -0800


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

Modified Files:
	asyncore.py 
Log Message:
String method conversion.


Index: asyncore.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/asyncore.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** asyncore.py	2001/01/24 15:50:19	1.9
--- asyncore.py	2001/02/09 05:03:15	1.10
***************
*** 50,54 ****
  import select
  import socket
- import string
  import sys
  
--- 50,53 ----
***************
*** 220,224 ****
              return '<%s %s at %x>' % (
                  self.__class__.__name__,
!                 string.join (status, ' '),
                  id(self)
                  )
--- 219,223 ----
              return '<%s %s at %x>' % (
                  self.__class__.__name__,
!                 ' '.join (status),
                  id(self)
                  )
***************
*** 481,491 ****
  
      file, function, line = tbinfo[-1]
!     info = '[' + string.join (
!         map (
!             lambda x: string.join (x, '|'),
!             tbinfo
!             ),
!         '] ['
!         ) + ']'
      return (file, function, line), t, v, info
  
--- 480,484 ----
  
      file, function, line = tbinfo[-1]
!     info = '[' + '] ['.join(map(lambda x: '|'.join(x), tbinfo)) + ']'
      return (file, function, line), t, v, info